Compare commits
2 Commits
0922204c30
...
f412eaf55c
Author | SHA1 | Date |
---|---|---|
Uriel Fanelli | f412eaf55c | |
Uriel Fanelli | b2559cb022 |
|
@ -28,7 +28,6 @@ Configuration contains:
|
|||
"MulticastConfig": {
|
||||
"MIpAddr": "239.0.0.19",
|
||||
"MPort": "9898",
|
||||
"MaxDatagramSize": 18
|
||||
},
|
||||
"InterfaceConfig": {
|
||||
"ExistingInterface": "eth0",
|
||||
|
@ -42,7 +41,7 @@ Where:
|
|||
|
||||
- MIpAddr is the multicast address all the nodes will use to align.Must be the same on all nodes.
|
||||
- Mport: Multicast port to subscribe. Must be the same on all nodes.
|
||||
- MaxDataGramSize : obsolete, will be removed soon.
|
||||
- ~MaxDataGramSize : obsolete, will be removed soon.~ DONE.
|
||||
|
||||
- ExistingInterface: the name of your ingress interface (eth0, eno0 , enps18, whatever your system is using. This may be different node by node)
|
||||
- BridgeIpCidr: the IP address and mask you want to share among servers.
|
||||
|
|
3
conf.go
3
conf.go
|
@ -26,10 +26,9 @@ func init() {
|
|||
os.Exit(1)
|
||||
}
|
||||
|
||||
a.MulticastConfig.MaxDatagramSize = len("75568770-cee4-4506-a790-036e232fb1b3")
|
||||
MulticastEntity.MIpAddr = a.MulticastConfig.MIPAddr
|
||||
MulticastEntity.MPort = a.MulticastConfig.MPort
|
||||
MulticastEntity.MaxDatagramSize = a.MulticastConfig.MaxDatagramSize
|
||||
MulticastEntity.MaxDatagramSize = len("75568770-cee4-4506-a790-036e232fb1b3")
|
||||
|
||||
ZoreideBridge.BridgeIpCIDR = a.InterfaceConfig.BridgeIPCIDR
|
||||
ZoreideBridge.ExistingInterface = a.InterfaceConfig.ExistingInterface
|
||||
|
|
1
types.go
1
types.go
|
@ -24,7 +24,6 @@ type AbstractConfig struct {
|
|||
MulticastConfig struct {
|
||||
MIPAddr string `json:"MIpAddr"`
|
||||
MPort string `json:"MPort"`
|
||||
MaxDatagramSize int `json:"MaxDatagramSize"`
|
||||
} `json:"MulticastConfig"`
|
||||
InterfaceConfig struct {
|
||||
ExistingInterface string `json:"ExistingInterface"`
|
||||
|
|
Loading…
Reference in New Issue