Get Properties of VxLAN
-
@gb-123 Hi!
All the info are available on the host by running
ovs-vsctl show
and look a the lines relevant to your bridge.
Also the following fields are available in your private networkother_config
:- `other_config`: - `xo:sdn-controller:encapsulation` : encapsulation protocol used for tunneling (either `gre` or `vxlan`) - `xo:sdn-controller:encrypted` : `true` if the network is encrypted - `xo:sdn-controller:pif-device` : PIF device on which the tunnels are created, must be physical or VLAN or bond master and have an IP configuration - `xo:sdn-controller:preferred-center` : The host UUID to prioritize as network center (or not defined) - `xo:sdn-controller:private-network-uuid`: UUID of the private network, same across pools - `xo:sdn-controller:vlan` : VLAN of the PIFs on which the network is created - `xo:sdn-controller:vni` : VxLAN Network Identifier,
and the
MTU
is a field of the network as well.So
xe network-param-get uuid=<your network uuid> param-name=MTU
andxe network-param-get uuid=<your network uuid> param-name=other-config param-key=xo:sdn-controller:encrypted
Or should give everything you need!
Regards
-
Thank you so much!
PS: Btw, there is a slight typo in your post. Its
other-config
instead ofother_config
-
@gb-123 You're right! I'll edit my post.
Thx
-
-
-
For what it's worth, @gb-123 you can also view the MTU in both the pool and host network section:
-
Yup. I was looking at seeing other properties also (specifically encryption)
-
@gb-123 Yeah I do think it'd be really nice to have all the info exposed in the GUI, not sure if there are any plans for that, but I like the idea.
-
@planedrop said in Get Properties of VxLAN:
@gb-123 Yeah I do think it'd be really nice to have all the info exposed in the GUI, not sure if there are any plans for that, but I like the idea.
+1 for this but I think the Devs are busy with other important features.
-
@BenjiReis how difficult to get that info exposed in XO?
-
@olivierlambert Pretty easy since everything is stored in the network
other_config
field. -
Might worth it then
-
I think this would be awesome, if it's not too much work, would love to see it.