← Back to team overview

cloud-init-dev team mailing list archive

[Merge] ~smoser/cloud-init:bug/1674946-openstack-add-dvs into cloud-init:master

 

Scott Moser has proposed merging ~smoser/cloud-init:bug/1674946-openstack-add-dvs into cloud-init:master.

Commit message:
OpenStack: add 'dvs' to the list of physical link types.

Links presented in network_data.json to the guest running on ESXi
are of type 'dvs'.

LP: #1674946

Requested reviews:
  cloud init development team (cloud-init-dev)
Related bugs:
  Bug #1674946 in cloud-init: "cloud-init fails with "Unknown network_data link type: dvs""
  https://bugs.launchpad.net/cloud-init/+bug/1674946

For more details, see:
https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/321709
-- 
Your team cloud init development team is requested to review the proposed merge of ~smoser/cloud-init:bug/1674946-openstack-add-dvs into cloud-init:master.
diff --git a/cloudinit/sources/helpers/openstack.py b/cloudinit/sources/helpers/openstack.py
index 096062d..61cd36b 100644
--- a/cloudinit/sources/helpers/openstack.py
+++ b/cloudinit/sources/helpers/openstack.py
@@ -52,6 +52,7 @@ OS_VERSIONS = (
 PHYSICAL_TYPES = (
     None,
     'bridge',
+    'dvs',
     'ethernet',
     'hw_veb',
     'hyperv',

References