Ran into some issues with sdncontroller.py (XCP-ng 8.3 and xcp-ng-xapi-plugins-1.16.0-1) when creating traffic rules on VLAN VIFs (and networks) in XOA — same error on both Premium and Community. The problem turned out to be a line feed sent by XOA.
On line 236 of sdncontroller.py, I added a fix that solved the problem, and it now works perfectly managing traffic rules in XO on VLAN networks:
def update_args_from_ovs(args):
# FIX: strip line feed (\n \X0a) sent by Xen Orchestra
args["bridge"] = str(args["bridge"]).strip()
# get parent...
I had another problem when adding rules on networks that weren't connected on all hosts, because those hosts didn't have VMs running on that network (default). Manually connecting them worked fine.
I think it's more of an XO error than xapi plugin, but worked ok in my case.
Thanks for the great work!