@@ -230,7 +230,7 @@ def test_create_with_gateway(self):
230230 ('ha' , False ),
231231 ('external_gateway' , _network .name ),
232232 ('enable_snat' , True ),
233- ('fixed_ip ' , [{'ip-address' : '2001:db8::1' }]),
233+ ('fixed_ips ' , [{'ip-address' : '2001:db8::1' }]),
234234 ]
235235 parsed_args = self .check_parser (self .cmd , arglist , verifylist )
236236
@@ -1297,7 +1297,7 @@ def test_wrong_gateway_params(self):
12971297 self ._router .id ,
12981298 ]
12991299 verifylist = [
1300- ('fixed_ip ' , [{'subnet' : "'abc'" }]),
1300+ ('fixed_ips ' , [{'subnet' : "'abc'" }]),
13011301 ('router' , self ._router .id ),
13021302 ]
13031303 parsed_args = self .check_parser (self .cmd , arglist , verifylist )
@@ -1336,7 +1336,7 @@ def test_set_gateway_options_subnet_only(self):
13361336 verifylist = [
13371337 ('router' , self ._router .id ),
13381338 ('external_gateway' , self ._network .id ),
1339- ('fixed_ip ' , [{'subnet' : "'abc'" }]),
1339+ ('fixed_ips ' , [{'subnet' : "'abc'" }]),
13401340 ('enable_snat' , True ),
13411341 ]
13421342 parsed_args = self .check_parser (self .cmd , arglist , verifylist )
@@ -1370,7 +1370,7 @@ def test_set_gateway_option_ipaddress_only(self):
13701370 verifylist = [
13711371 ('router' , self ._router .id ),
13721372 ('external_gateway' , self ._network .id ),
1373- ('fixed_ip ' , [{'ip-address' : "10.0.1.1" }]),
1373+ ('fixed_ips ' , [{'ip-address' : "10.0.1.1" }]),
13741374 ('enable_snat' , True ),
13751375 ]
13761376 parsed_args = self .check_parser (self .cmd , arglist , verifylist )
@@ -1404,7 +1404,7 @@ def test_set_gateway_options_subnet_ipaddress(self):
14041404 verifylist = [
14051405 ('router' , self ._router .id ),
14061406 ('external_gateway' , self ._network .id ),
1407- ('fixed_ip ' , [{'subnet' : "'abc'" , 'ip-address' : "10.0.1.1" }]),
1407+ ('fixed_ips ' , [{'subnet' : "'abc'" , 'ip-address' : "10.0.1.1" }]),
14081408 ('enable_snat' , True ),
14091409 ]
14101410 parsed_args = self .check_parser (self .cmd , arglist , verifylist )
0 commit comments