/usr/lib/python2.6/site-packages/openstackclient/network
NameSizeModeActions
v2/-0755rm
client.py26180644editdlrm
client.pyc21230644editdlrm
common.py17210644editdlrm
common.pyc13500644editdlrm
utils.py15620644editdlrm
utils.pyc10270644editdlrm
__init__.py00644editdlrm
__init__.pyc1670644editdlrm
Edit: /usr/lib/python2.6/site-packages/openstackclient/network/common.pyc (1350B)
Ńň ;vVc@s ddklZdd„ZdS(i˙˙˙˙(t exceptionstnamec Csőt|d|ƒ}h||6dd6}||}||}t|ƒdjo |ddSt|ƒdjo#d} ti| ||fƒ‚n|d|ddƒ}||}t|ƒdjo |ddSd||f} ti| ƒ‚dS( siFind a network resource :param client: network client :param resource: name of the resource :param resources: plural name of resource :param name_or_id: name or id of resource user is looking for :param name_attr: key to the name attribute for the resource For example: n = find(netclient, 'network', 'networks', 'matrix') slist_%stidtfieldsiis+More than one %s exists with the name '%s'.s'No %s with a name or ID of '%s' exists.N(tgetattrtlenRt CommandError( tclienttresourcet resourcest name_or_idt name_attrt list_methodtkwargstdatatinfotmsg((sN/tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/network/common.pytfinds      N(topenstackclient.commonRR(((sN/tmp/pip-build-cD3xZi/python-openstackclient/openstackclient/network/common.pyts