@@ -40,7 +40,7 @@ def create_one_bgpvpn(attrs=None):
4040 # Set default attributes.
4141 bgpvpn_attrs = {
4242 'id' : 'fake_bgpvpn_id' ,
43- 'tenant_id ' : _FAKE_PROJECT_ID ,
43+ 'project_id ' : _FAKE_PROJECT_ID ,
4444 'name' : '' ,
4545 'type' : 'l3' ,
4646 'route_targets' : [],
@@ -105,7 +105,7 @@ def create_one_network_association(attrs=None):
105105 assoc_attrs = {
106106 'id' : 'fake_association_id' ,
107107 'network_id' : 'fake_resource_id' ,
108- 'tenant_id ' : _FAKE_PROJECT_ID ,
108+ 'project_id ' : _FAKE_PROJECT_ID ,
109109 }
110110 assoc_attrs .update (attrs )
111111 return _net_assoc .BgpVpnNetworkAssociation (** assoc_attrs )
@@ -119,7 +119,7 @@ def create_network_associations(count=1):
119119 {
120120 'id' : f'fake_association_id{ idx } ' ,
121121 'network_id' : f'fake_resource_id{ idx } ' ,
122- 'tenant_id ' : _FAKE_PROJECT_ID ,
122+ 'project_id ' : _FAKE_PROJECT_ID ,
123123 }
124124 )
125125 return assocs
@@ -131,7 +131,7 @@ def create_one_router_association(attrs=None):
131131 assoc_attrs = {
132132 'id' : 'fake_association_id' ,
133133 'router_id' : 'fake_resource_id' ,
134- 'tenant_id ' : _FAKE_PROJECT_ID ,
134+ 'project_id ' : _FAKE_PROJECT_ID ,
135135 }
136136 assoc_attrs .update (attrs )
137137 return _router_assoc .BgpVpnRouterAssociation (** assoc_attrs )
@@ -145,7 +145,7 @@ def create_router_associations(count=1):
145145 {
146146 'id' : f'fake_association_id{ idx } ' ,
147147 'router_id' : f'fake_resource_id{ idx } ' ,
148- 'tenant_id ' : _FAKE_PROJECT_ID ,
148+ 'project_id ' : _FAKE_PROJECT_ID ,
149149 }
150150 )
151151 return assocs
@@ -157,7 +157,7 @@ def create_one_port_association(attrs=None):
157157 assoc_attrs = {
158158 'id' : 'fake_association_id' ,
159159 'port_id' : 'fake_resource_id' ,
160- 'tenant_id ' : _FAKE_PROJECT_ID ,
160+ 'project_id ' : _FAKE_PROJECT_ID ,
161161 'routes' : [],
162162 }
163163 assoc_attrs .update (attrs )
@@ -172,7 +172,7 @@ def create_port_associations(count=1):
172172 {
173173 'id' : f'fake_association_id{ idx } ' ,
174174 'port_id' : f'fake_resource_id{ idx } ' ,
175- 'tenant_id ' : _FAKE_PROJECT_ID ,
175+ 'project_id ' : _FAKE_PROJECT_ID ,
176176 'routes' : [],
177177 }
178178 )
0 commit comments