Merge "Add missing tenant_id to lbaas-v2 resources creation"

This commit is contained in:
Jenkins
2015-06-10 03:31:54 +00:00
committed by Gerrit Code Review
4 changed files with 5 additions and 4 deletions

View File

@@ -106,7 +106,8 @@ class CreateListener(neutronV20.CreateCommand):
['connection-limit', 'description', ['connection-limit', 'description',
'loadbalancer_id', 'name', 'loadbalancer_id', 'name',
'default_tls_container_id', 'default_tls_container_id',
'sni_container_ids']) 'sni_container_ids',
'tenant_id'])
return body return body

View File

@@ -73,7 +73,7 @@ class CreateLoadBalancer(neutronV20.CreateCommand):
} }
neutronV20.update_dict(parsed_args, body[self.resource], neutronV20.update_dict(parsed_args, body[self.resource],
['description', 'provider', 'vip_address', ['description', 'provider', 'vip_address',
'name']) 'tenant_id', 'name'])
return body return body

View File

@@ -106,7 +106,7 @@ class CreateMember(neutronV20.CreateCommand):
}, },
} }
neutronV20.update_dict(parsed_args, body[self.resource], neutronV20.update_dict(parsed_args, body[self.resource],
['weight', 'subnet_id']) ['weight', 'subnet_id', 'tenant_id'])
return body return body

View File

@@ -100,7 +100,7 @@ class CreatePool(neutronV20.CreateCommand):
} }
neutronV20.update_dict(parsed_args, body[self.resource], neutronV20.update_dict(parsed_args, body[self.resource],
['description', 'name', ['description', 'name',
'session_persistence']) 'session_persistence', 'tenant_id'])
return body return body