mirror of https://github.com/EdgeVPNio/evio.git
Update loading
parent
b1ce6a4cf7
commit
21ba044c48
|
@ -158,13 +158,13 @@ CONFIG = {
|
|||
"Dependencies": ["Topology", "LinkManager", "GeneveTunnel"],
|
||||
},
|
||||
"UsageReport": {
|
||||
"Enabled": False,
|
||||
"Module": "usage_report",
|
||||
"Dependencies": ["Topology"],
|
||||
},
|
||||
},
|
||||
},
|
||||
"UsageReport": {
|
||||
"TimerInterval": 3600,
|
||||
"WebService": "https://qdscz6pg37.execute-api.us-west-2.amazonaws.com/default/EvioUsageReport",
|
||||
},
|
||||
}
|
||||
|
|
|
@ -80,7 +80,7 @@ class UsageReport(ControllerModule):
|
|||
self._report[olid_hash].append(peer_id_hash)
|
||||
|
||||
def submit_report(self, rpt_data):
|
||||
self.logger.debug("report data= %s", rpt_data)
|
||||
self.logger.info("report data= %s", rpt_data)
|
||||
url = None
|
||||
try:
|
||||
url = self.config["WebService"]
|
||||
|
|
|
@ -1,50 +1,66 @@
|
|||
{
|
||||
"Broker": {
|
||||
"Overlays": ["_OVERLAYNAME_"]
|
||||
},
|
||||
"Signal": {
|
||||
"Overlays": {
|
||||
"_OVERLAYNAME_": {
|
||||
"HostAddress": "A.B.C.D",
|
||||
"AuthenticationMethod": "PASSWORD",
|
||||
"Port": "5222",
|
||||
"Username": "test1@openfire.local",
|
||||
"Password": "password_test1"
|
||||
}
|
||||
}
|
||||
},
|
||||
"LinkManager": {
|
||||
"Stun": ["stun.l.google.com:19302", "stun1.l.google.com:19302"],
|
||||
"Overlays": {
|
||||
"_OVERLAYNAME_": {
|
||||
"IgnoredNetInterfaces": [
|
||||
"flannel.1",
|
||||
"cni0",
|
||||
"docker0",
|
||||
"nodelocaldns",
|
||||
"kube-ipvs0",
|
||||
"ovs-system",
|
||||
"nebula1"
|
||||
"Broker": {
|
||||
"Overlays": [
|
||||
"_OVERLAYNAME_"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"BridgeController": {
|
||||
"BoundedFlood": {
|
||||
"Overlays": {
|
||||
"_OVERLAYNAME_": {}
|
||||
}
|
||||
},
|
||||
"Overlays": {
|
||||
"_OVERLAYNAME_": {
|
||||
"NetDevice": {
|
||||
"AppBridge": {
|
||||
"IP4": "10.10.10.1",
|
||||
"PrefixLen": 24,
|
||||
"MTU": 1350
|
||||
}
|
||||
"Signal": {
|
||||
"Overlays": {
|
||||
"_OVERLAYNAME_": {
|
||||
"HostAddress": "provide.xmpp.server.addr",
|
||||
"AuthenticationMethod": "PASSWORD",
|
||||
"Port": "5222",
|
||||
"Username": "user@openfire.local",
|
||||
"Password": "passwd"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"LinkManager": {
|
||||
"Stun": [
|
||||
"stun.l.google.com:19302",
|
||||
"stun1.l.google.com:19302"
|
||||
],
|
||||
"Turn": [
|
||||
{
|
||||
"Address": "provide.turn.server.addr:3478",
|
||||
"User": "user",
|
||||
"Password": "passwd"
|
||||
}
|
||||
],
|
||||
"Overlays": {
|
||||
"_OVERLAYNAME_": {
|
||||
"IgnoredNetInterfaces": [
|
||||
"flannel.1",
|
||||
"cni0",
|
||||
"docker0",
|
||||
"nodelocaldns",
|
||||
"kube-ipvs0",
|
||||
"ovs-system",
|
||||
"nebula1"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"BridgeController": {
|
||||
"BoundedFlood": {
|
||||
"Overlays": {
|
||||
"_OVERLAYNAME_": {}
|
||||
}
|
||||
},
|
||||
"Overlays": {
|
||||
"_OVERLAYNAME_": {
|
||||
"NetDevice": {
|
||||
"AppBridge": {
|
||||
"IP4": "10.10.10.1",
|
||||
"PrefixLen": 24,
|
||||
"MTU": 1350
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"UsageReport": {
|
||||
"Enabled": true,
|
||||
"TimerInterval": 3600
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue