openstackclient.network package¶
Subpackages¶
Submodules¶
openstackclient.network.client module¶
-
openstackclient.network.client.build_option_parser(parser)¶ Hook to add global options
-
openstackclient.network.client.make_client(instance)¶ Returns an network service client
openstackclient.network.common module¶
-
openstackclient.network.common.find(client, resource, resources, name_or_id, name_attr='name')¶ Find a network resource
Parameters: - client – network client
- resource – name of the resource
- resources – plural name of resource
- name_or_id – name or id of resource user is looking for
- name_attr – key to the name attribute for the resource
- For example:
- n = find(netclient, ‘network’, ‘networks’, ‘matrix’)