Bonded interface viewing support in XO
-
@olivierlambert Not to dig up an old thread but was this ever added? I was looking around and wasn't able to find it anywhere.
-
You can check if there's an Github issue opened for that. If yes, you can track the status. If not, there's little chance it would be done
-
Sorry for poking the bear.
Just want to point out (in a positive way as much as possible), that I cannot find an issue related to this one on a Github and as we are trying to migrate our env onto XCP-ng I cannot find inside XOA webGUI the way to check which network interfaces (effectively PIFs eth0 or eth1 in our case) are inside a bond we've created.
There is a way to check that from "xe" command line (the commands are within this thread, few posts above, thank you @VoipDude).
Having this information provided in XOA webGUI would be something nice and useful (for example to confirm that eveyrthing is configured as it should be). Digging this up with "xe" commands took me some time and finding those right commands on the internet with explanation isn't the easiest thing.
As additional what I've spotted it is also hard to distinguish between "master bond" and "pool-wide networks" which are created based on "master bond". (I don't think it's possible from XOA webGUI to get that information).
To me it looks like the only way to distinguish it for now is this:
xe pif-list params=all
Above will give us list of all PIFs with all params. We need to look for an entry where "bond-master-of" is NOT empty AND at the same time if "device" is the one we are looking for AND that the "network-name-label" is the one we are looking for : - )
bond-master-of ( RO): **a0753427-b3f1-52bc-1c0e-2b6481e8701e**
Next step is:
xe bond-param-list uuid=**a0753427-b3f1-52bc-1c0e-2b6481e8701e**
Above will give us UUIDs of interfaces (inside the "master bond") but again we will have to use "xe pif-list" to find what "network-name-labels" hides under UUIDs to get info if those are PIFs eth0 and eth1.
-
Ping @lsouai-vates
-
@piotrlotr1
I'm changing my mind regarding point 2.From XOA webGUI there is a way to distinguish between "master bond" and "pool-wide networks" created based on "master bond".
On pool level, when checking "Network" tab the master bond is marked with "Bonded" icon next to it.
It is NOT so obvious from "host" level as there is no "Bonded" icon next to the "master bond".
-
I agree this is something that would be very useful to have in the WebUI when reviewing pool config to ensure everything is setup properly. It may be too late for XO5 but perhaps something to be added in XO6? I see there has been lots of work happening on the network tab in XO6 currently from looking at the github.
-
-
@VoipDude Moreover, in XO6 there will be additional information visible on click on a PIF in Pool > Network view.
I suggest you to take a look at the future Xen Orchestra release blogspot coming very soon (next week normally) to check if some of them would be interesting for what you are looking for.
-
While we run XOA in Production our DR site runs a from sources XO in case of emergencies, i updated it this morning and took a look at the latest changes and it looks much improved, you can now see a bonds parent device:
I think it would also be useful to show the type of bond (LACP, balance-slb, etc) but this i a great improvement.
-
@flakpyro yes, indeed
that exactly what I was talking about. The XO6 new interface will provide more information, but I am noting the missing type of bound to discuss it with XO team for next feature.