Change in vdsm[master]: hooks: README for OpenStack Network vNIC hook

mkolesni at redhat.com mkolesni at redhat.com
Sun Jun 23 12:31:22 UTC 2013


Mike Kolesnik has uploaded a new change for review.

Change subject: hooks: README for OpenStack Network vNIC hook
......................................................................

hooks: README for OpenStack Network vNIC hook

Added a readme file outlining the general behaviour of the hook.

Change-Id: I70586d2189baa6ec7c7fe2e4289aa72326fbdac2
Signed-off-by: Mike Kolesnik <mkolesni at redhat.com>
---
A vdsm_hooks/openstacknet/README
1 file changed, 21 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/02/16002/1

diff --git a/vdsm_hooks/openstacknet/README b/vdsm_hooks/openstacknet/README
new file mode 100644
index 0000000..103ae51
--- /dev/null
+++ b/vdsm_hooks/openstacknet/README
@@ -0,0 +1,21 @@
+openstacknet vdsm hook
+======================
+This hook will treat vNICs that need to be handled by an OpenStack Network
+provider.
+The hook receives a plugin type + id for the vNIC and chages the libvirt XML
+according to the plugin type:
+o   Linux Bridge: Due to libvirt's weird behaviour, prior to the device creation
+        we connect the hook to a dummy bridge and disconnect it from this bridge
+        after the device has been created.
+        At this point, the Linux Bridge Agent will take the created tap device
+        (identified by it's name) and connect it to the correct bridge.
+o   Open vSwitch: The hook adds the correct information to the vNIC XML to
+        connect correctly to the vSwitch.
+        Currently the hook connects to the 'br-int' bridge by default.
+
+syntax:
+device: { ...,
+          'custom': { 'provider_type': 'OPENSTACK_NETWORK',
+                      'plugin_type': one of ('LINUX_BRIDGE', 'OPEN_VSWITCH'),
+                      'vnic_id': 'some id'}
+


-- 
To view, visit http://gerrit.ovirt.org/16002
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I70586d2189baa6ec7c7fe2e4289aa72326fbdac2
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Mike Kolesnik <mkolesni at redhat.com>


More information about the vdsm-patches mailing list