diff --git a/tempest/lib/services/network/networks_client.py b/tempest/lib/services/network/networks_client.py old mode 100644 new mode 100755 index 24c2ec5bd3..19fa1db8c9 --- a/tempest/lib/services/network/networks_client.py +++ b/tempest/lib/services/network/networks_client.py @@ -16,11 +16,21 @@ from tempest.lib.services.network import base class NetworksClient(base.BaseNetworkClient): def create_network(self, **kwargs): + """Creates a network. + + Available params: see http://developer.openstack.org/ + api-ref-networking-v2.html#createNetwork + """ uri = '/networks' post_data = {'network': kwargs} return self.create_resource(uri, post_data) def update_network(self, network_id, **kwargs): + """Updates a network. + + Available params: see http://developer.openstack.org/ + api-ref-networking-v2.html#updateNetwork + """ uri = '/networks/%s' % network_id post_data = {'network': kwargs} return self.update_resource(uri, post_data)