This patch series adds vlan functionality for openvswitch in XEN. It is based on vif-openvswitch which comes with Xen 4.3, but can be used in older versions of Xen as well.
Known issues as of now: User needs to specifiy VLAN, mode=openvswitch _and_ link=switch1 in 'gnt_instance add'. Any feedback is welcome, especially on detecting the network-mode during cluster initialization and accordingly setting the master-netdev and on reading the cluster default network mode during instance creation. A implementation to represent vlan config in 'gnt-instance show' is in the works but not yet functional. Sebastian Gebhard (7): Improvement of design-openvswitch.rst Extending nicparams to support vlan parameter Add VLAN-capabilities for Xen Hypervisor Support VLAN parameter during instance creation Add VLAN functionality to gnt-instance man page Adopt cfgupgrade to support vlan parameter Set default OVS in cluster init doc/design-openvswitch.rst | 11 +++++------ lib/client/gnt_cluster.py | 8 +++++++- lib/cmdlib/instance.py | 43 +++++++++++++++++++++++++++++++++++++++++++ lib/constants.py | 6 ++++++ lib/hypervisor/hv_xen.py | 4 ++++ man/gnt-instance.rst | 5 +++++ src/Ganeti/Objects.hs | 1 + tools/cfgupgrade | 6 ++++++ 8 files changed, 77 insertions(+), 7 deletions(-) -- 1.8.1.2
