Ondřej Svoboda has uploaded a new change for review.

Change subject: tests, schema: Replace deprecated uses of bootproto 'static' 
with 'none'
......................................................................

tests, schema: Replace deprecated uses of bootproto 'static' with 'none'

Change-Id: I36de00f7da657061e6773f4263ce74e135282051
Signed-off-by: Ondřej Svoboda <[email protected]>
---
M tests/functional/networkTests.py
M vdsm/rpc/vdsmapi-schema.json
2 files changed, 4 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/44/30244/1

diff --git a/tests/functional/networkTests.py b/tests/functional/networkTests.py
index 8a587df..f87f49b 100644
--- a/tests/functional/networkTests.py
+++ b/tests/functional/networkTests.py
@@ -1769,10 +1769,10 @@
             nic, = nics
             networks = {
                 NETWORK_NAME + '1':
-                {'nic': nic, 'bootproto': 'static', 'ipv6addr': IPv6_ADDRESS,
+                {'nic': nic, 'bootproto': 'none', 'ipv6addr': IPv6_ADDRESS,
                  'ipv6gateway': IPv6_GATEWAY},
                 NETWORK_NAME + '2':
-                {'nic': nic, 'bootproto': 'static', 'ipv6addr': IPv6_ADDRESS,
+                {'nic': nic, 'bootproto': 'none', 'ipv6addr': IPv6_ADDRESS,
                  'ipv6gateway': IPv6_GATEWAY, 'ipaddr': IP_ADDRESS,
                  'gateway': IP_GATEWAY,
                  'netmask': prefix2netmask(int(IP_CIDR))}}
diff --git a/vdsm/rpc/vdsmapi-schema.json b/vdsm/rpc/vdsmapi-schema.json
index 29c495b..bd411a0 100644
--- a/vdsm/rpc/vdsmapi-schema.json
+++ b/vdsm/rpc/vdsmapi-schema.json
@@ -55,7 +55,7 @@
 # @gateway:         #optional IP address of the network gateway
 #
 # @bootproto:       #optional Interface autoconfiguration protocol (typically
-#                   'dhcp' or 'static')
+#                   'dhcp' or 'none')
 #
 # @blockingdhcp:    #optional whether ifaces that have 'dhcp' as bootproto
 #                   should wait to get an address before returning creation
@@ -160,7 +160,7 @@
 # @gateway:       #optional Assign this gateway to the network
 #
 # @bootproto:     #optional Interface autoconfiguration protocol (typically 
'dhcp'
-#                 or 'static')
+#                 or 'none')
 #
 # @remove:        #optional If True, remove existing network only
 #


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I36de00f7da657061e6773f4263ce74e135282051
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Ondřej Svoboda <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to