@ -803,6 +803,8 @@ class AristaDriverTestCase(testlib_api.SqlTestCase):
mock . call . NeutronNets ( ) ,
mock . call . __nonzero__ ( ) ,
mock . call . is_port_provisioned ( port_id , None ) ,
mock . call . is_network_provisioned ( tenant_id , network_id ,
None , None ) ,
mock . call . is_network_provisioned ( tenant_id , network_id ,
segmentation_id , None ) ,
mock . call . hpb_supported ( ) ,
@ -871,6 +873,8 @@ class AristaDriverTestCase(testlib_api.SqlTestCase):
expected_calls + = [
mock . call . is_port_provisioned ( port_id , None ) ,
mock . call . is_network_provisioned ( INTERNAL_TENANT_ID , network_id ,
None , None ) ,
mock . call . is_network_provisioned ( INTERNAL_TENANT_ID , network_id ,
segmentation_id , None ) ,
mock . call . hpb_supported ( ) ,
@ -940,6 +944,8 @@ class AristaDriverTestCase(testlib_api.SqlTestCase):
expected_calls + = [
mock . call . is_port_provisioned ( port_id , port_context . host ) ,
mock . call . is_network_provisioned ( tenant_id , network_id ,
None , None ) ,
mock . call . is_network_provisioned ( tenant_id , network_id ,
segmentation_id , None ) ,
mock . call . hpb_supported ( ) ,
@ -963,6 +969,8 @@ class AristaDriverTestCase(testlib_api.SqlTestCase):
expected_calls + = [
mock . call . is_port_provisioned ( port_id , port_context . host ) ,
mock . call . is_network_provisioned ( tenant_id , network_id ,
None , None ) ,
mock . call . is_network_provisioned ( tenant_id , network_id ,
segmentation_id , None ) ,
mock . call . hpb_supported ( ) ,
@ -1205,6 +1213,8 @@ class AristaDriverTestCase(testlib_api.SqlTestCase):
expected_calls = [
mock . call . is_port_provisioned ( port_id , None ) ,
mock . call . is_network_provisioned ( tenant_id , network_id ,
None , None ) ,
mock . call . is_network_provisioned ( tenant_id , network_id ,
segmentation_id ,
None ) ,
@ -1239,6 +1249,8 @@ class AristaDriverTestCase(testlib_api.SqlTestCase):
expected_calls = [
mock . call . is_port_provisioned ( port_id , None ) ,
mock . call . is_network_provisioned ( tenant_id , network_id ,
None , None ) ,
mock . call . is_network_provisioned ( tenant_id , network_id ,
segmentation_id ,
None ) ,
@ -1280,6 +1292,8 @@ class AristaDriverTestCase(testlib_api.SqlTestCase):
expected_calls = [
mock . call . is_port_provisioned ( port_id , None ) ,
mock . call . is_network_provisioned ( tenant_id , network_id ,
None , None ) ,
mock . call . is_network_provisioned ( tenant_id , network_id ,
segmentation_id ,
None ) ,
@ -1310,6 +1324,8 @@ class AristaDriverTestCase(testlib_api.SqlTestCase):
expected_calls = [
mock . call . is_port_provisioned ( port_id , None ) ,
mock . call . is_network_provisioned ( tenant_id , network_id ,
None , None ) ,
mock . call . is_network_provisioned ( tenant_id , network_id ,
segmentation_id ,
None ) ,
@ -1340,6 +1356,8 @@ class AristaDriverTestCase(testlib_api.SqlTestCase):
expected_calls = [
mock . call . is_port_provisioned ( port_id , None ) ,
mock . call . is_network_provisioned ( tenant_id , network_id ,
None , None ) ,
mock . call . is_network_provisioned ( tenant_id , network_id ,
segmentation_id ,
None ) ,