openstackclient.network package
Submodules
openstackclient.network.client module
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’)
Module contents