Change in vdsm[master]: netwiring: [1/4] Extend vmInterfaceDevice API def

asegurap at redhat.com asegurap at redhat.com
Fri Nov 30 14:59:25 UTC 2012


Antoni Segura Puimedon has uploaded a new change for review.

Change subject: netwiring: [1/4] Extend vmInterfaceDevice API def
......................................................................

netwiring: [1/4] Extend vmInterfaceDevice API def

This patch extends the definitions of vmInterfaceDevice in
order to allow vmHotplugNic and vmCreate to set a vnic link
status as well as set portMirroring for it.

Change-Id: I4ef8ad6963682a38d5f65d718e5b2a465ef3af82
Signed-off-by: Antoni S. Puimedon <asegurap at redhat.com>
---
M vdsm_api/vdsmapi-schema.json
1 file changed, 7 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/99/9599/1

diff --git a/vdsm_api/vdsmapi-schema.json b/vdsm_api/vdsmapi-schema.json
index 843cbc7..2c02804 100644
--- a/vdsm_api/vdsmapi-schema.json
+++ b/vdsm_api/vdsmapi-schema.json
@@ -1980,6 +1980,11 @@
 #
 # @specParams:  #optional Additional device parameters
 #
+# @linkActive:  #optional Whether the VM network card has its link active (up)
+#               or not (down). If omitted, the link will be active
+# @portMirroring: #optional If present, indicates the traffic of which networks
+#                 should be mirrored to the interface.
+#
 # Since: 4.10.0
 ##
 {'type': 'VmInterfaceDevice',
@@ -1987,7 +1992,8 @@
           'nicModel': 'VmInterfaceDeviceModel', 'macAddr': 'str',
           'network': 'str', '*bootOrder': 'uint',
           'address': 'VmDeviceAddress', 'alias': 'str', 'deviceId': 'UUID',
-          '*specParams': 'VmInterfaceDeviceSpecParams'}}
+          '*specParams': 'VmInterfaceDeviceSpecParams', '*linkActive': 'bool',
+          '*portMirroring': ['str']}}
 
 ##
 # @VmVideoDeviceType:


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4ef8ad6963682a38d5f65d718e5b2a465ef3af82
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Antoni Segura Puimedon <asegurap at redhat.com>


More information about the vdsm-patches mailing list