Compare commits

...

2 Commits

Author SHA1 Message Date
Uriel Fanelli f412eaf55c Removed Datagramsize from README 2023-08-17 20:01:11 +02:00
Uriel Fanelli b2559cb022 Removing DatagramSize 2023-08-17 19:59:55 +02:00
3 changed files with 4 additions and 7 deletions

View File

@ -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.

View File

@ -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

View File

@ -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"`