id
int32
0
252k
repo
stringlengths
7
55
path
stringlengths
4
127
func_name
stringlengths
1
88
original_string
stringlengths
75
19.8k
language
stringclasses
1 value
code
stringlengths
75
19.8k
code_tokens
sequence
docstring
stringlengths
3
17.3k
docstring_tokens
sequence
sha
stringlengths
40
40
url
stringlengths
87
242
247,600
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.delete_lbaas_l7rule
def delete_lbaas_l7rule(self, l7rule, l7policy): """Deletes the specified L7 rule.""" return self.delete(self.lbaas_l7rule_path % (l7policy, l7rule))
python
def delete_lbaas_l7rule(self, l7rule, l7policy): """Deletes the specified L7 rule.""" return self.delete(self.lbaas_l7rule_path % (l7policy, l7rule))
[ "def", "delete_lbaas_l7rule", "(", "self", ",", "l7rule", ",", "l7policy", ")", ":", "return", "self", ".", "delete", "(", "self", ".", "lbaas_l7rule_path", "%", "(", "l7policy", ",", "l7rule", ")", ")" ]
Deletes the specified L7 rule.
[ "Deletes", "the", "specified", "L7", "rule", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1053-L1055
247,601
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.list_lbaas_pools
def list_lbaas_pools(self, retrieve_all=True, **_params): """Fetches a list of all lbaas_pools for a project.""" return self.list('pools', self.lbaas_pools_path, retrieve_all, **_params)
python
def list_lbaas_pools(self, retrieve_all=True, **_params): """Fetches a list of all lbaas_pools for a project.""" return self.list('pools', self.lbaas_pools_path, retrieve_all, **_params)
[ "def", "list_lbaas_pools", "(", "self", ",", "retrieve_all", "=", "True", ",", "*", "*", "_params", ")", ":", "return", "self", ".", "list", "(", "'pools'", ",", "self", ".", "lbaas_pools_path", ",", "retrieve_all", ",", "*", "*", "_params", ")" ]
Fetches a list of all lbaas_pools for a project.
[ "Fetches", "a", "list", "of", "all", "lbaas_pools", "for", "a", "project", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1057-L1060
247,602
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.show_lbaas_pool
def show_lbaas_pool(self, lbaas_pool, **_params): """Fetches information for a lbaas_pool.""" return self.get(self.lbaas_pool_path % (lbaas_pool), params=_params)
python
def show_lbaas_pool(self, lbaas_pool, **_params): """Fetches information for a lbaas_pool.""" return self.get(self.lbaas_pool_path % (lbaas_pool), params=_params)
[ "def", "show_lbaas_pool", "(", "self", ",", "lbaas_pool", ",", "*", "*", "_params", ")", ":", "return", "self", ".", "get", "(", "self", ".", "lbaas_pool_path", "%", "(", "lbaas_pool", ")", ",", "params", "=", "_params", ")" ]
Fetches information for a lbaas_pool.
[ "Fetches", "information", "for", "a", "lbaas_pool", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1062-L1065
247,603
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.update_lbaas_pool
def update_lbaas_pool(self, lbaas_pool, body=None): """Updates a lbaas_pool.""" return self.put(self.lbaas_pool_path % (lbaas_pool), body=body)
python
def update_lbaas_pool(self, lbaas_pool, body=None): """Updates a lbaas_pool.""" return self.put(self.lbaas_pool_path % (lbaas_pool), body=body)
[ "def", "update_lbaas_pool", "(", "self", ",", "lbaas_pool", ",", "body", "=", "None", ")", ":", "return", "self", ".", "put", "(", "self", ".", "lbaas_pool_path", "%", "(", "lbaas_pool", ")", ",", "body", "=", "body", ")" ]
Updates a lbaas_pool.
[ "Updates", "a", "lbaas_pool", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1071-L1074
247,604
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.list_lbaas_healthmonitors
def list_lbaas_healthmonitors(self, retrieve_all=True, **_params): """Fetches a list of all lbaas_healthmonitors for a project.""" return self.list('healthmonitors', self.lbaas_healthmonitors_path, retrieve_all, **_params)
python
def list_lbaas_healthmonitors(self, retrieve_all=True, **_params): """Fetches a list of all lbaas_healthmonitors for a project.""" return self.list('healthmonitors', self.lbaas_healthmonitors_path, retrieve_all, **_params)
[ "def", "list_lbaas_healthmonitors", "(", "self", ",", "retrieve_all", "=", "True", ",", "*", "*", "_params", ")", ":", "return", "self", ".", "list", "(", "'healthmonitors'", ",", "self", ".", "lbaas_healthmonitors_path", ",", "retrieve_all", ",", "*", "*", "_params", ")" ]
Fetches a list of all lbaas_healthmonitors for a project.
[ "Fetches", "a", "list", "of", "all", "lbaas_healthmonitors", "for", "a", "project", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1080-L1083
247,605
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.show_lbaas_healthmonitor
def show_lbaas_healthmonitor(self, lbaas_healthmonitor, **_params): """Fetches information for a lbaas_healthmonitor.""" return self.get(self.lbaas_healthmonitor_path % (lbaas_healthmonitor), params=_params)
python
def show_lbaas_healthmonitor(self, lbaas_healthmonitor, **_params): """Fetches information for a lbaas_healthmonitor.""" return self.get(self.lbaas_healthmonitor_path % (lbaas_healthmonitor), params=_params)
[ "def", "show_lbaas_healthmonitor", "(", "self", ",", "lbaas_healthmonitor", ",", "*", "*", "_params", ")", ":", "return", "self", ".", "get", "(", "self", ".", "lbaas_healthmonitor_path", "%", "(", "lbaas_healthmonitor", ")", ",", "params", "=", "_params", ")" ]
Fetches information for a lbaas_healthmonitor.
[ "Fetches", "information", "for", "a", "lbaas_healthmonitor", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1085-L1088
247,606
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.update_lbaas_healthmonitor
def update_lbaas_healthmonitor(self, lbaas_healthmonitor, body=None): """Updates a lbaas_healthmonitor.""" return self.put(self.lbaas_healthmonitor_path % (lbaas_healthmonitor), body=body)
python
def update_lbaas_healthmonitor(self, lbaas_healthmonitor, body=None): """Updates a lbaas_healthmonitor.""" return self.put(self.lbaas_healthmonitor_path % (lbaas_healthmonitor), body=body)
[ "def", "update_lbaas_healthmonitor", "(", "self", ",", "lbaas_healthmonitor", ",", "body", "=", "None", ")", ":", "return", "self", ".", "put", "(", "self", ".", "lbaas_healthmonitor_path", "%", "(", "lbaas_healthmonitor", ")", ",", "body", "=", "body", ")" ]
Updates a lbaas_healthmonitor.
[ "Updates", "a", "lbaas_healthmonitor", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1094-L1097
247,607
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.list_lbaas_loadbalancers
def list_lbaas_loadbalancers(self, retrieve_all=True, **_params): """Fetches a list of all lbaas_loadbalancers for a project.""" return self.list('loadbalancers', self.lbaas_loadbalancers_path, retrieve_all, **_params)
python
def list_lbaas_loadbalancers(self, retrieve_all=True, **_params): """Fetches a list of all lbaas_loadbalancers for a project.""" return self.list('loadbalancers', self.lbaas_loadbalancers_path, retrieve_all, **_params)
[ "def", "list_lbaas_loadbalancers", "(", "self", ",", "retrieve_all", "=", "True", ",", "*", "*", "_params", ")", ":", "return", "self", ".", "list", "(", "'loadbalancers'", ",", "self", ".", "lbaas_loadbalancers_path", ",", "retrieve_all", ",", "*", "*", "_params", ")" ]
Fetches a list of all lbaas_loadbalancers for a project.
[ "Fetches", "a", "list", "of", "all", "lbaas_loadbalancers", "for", "a", "project", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1104-L1107
247,608
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.list_lbaas_members
def list_lbaas_members(self, lbaas_pool, retrieve_all=True, **_params): """Fetches a list of all lbaas_members for a project.""" return self.list('members', self.lbaas_members_path % lbaas_pool, retrieve_all, **_params)
python
def list_lbaas_members(self, lbaas_pool, retrieve_all=True, **_params): """Fetches a list of all lbaas_members for a project.""" return self.list('members', self.lbaas_members_path % lbaas_pool, retrieve_all, **_params)
[ "def", "list_lbaas_members", "(", "self", ",", "lbaas_pool", ",", "retrieve_all", "=", "True", ",", "*", "*", "_params", ")", ":", "return", "self", ".", "list", "(", "'members'", ",", "self", ".", "lbaas_members_path", "%", "lbaas_pool", ",", "retrieve_all", ",", "*", "*", "_params", ")" ]
Fetches a list of all lbaas_members for a project.
[ "Fetches", "a", "list", "of", "all", "lbaas_members", "for", "a", "project", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1109-L1112
247,609
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.show_lbaas_member
def show_lbaas_member(self, lbaas_member, lbaas_pool, **_params): """Fetches information of a certain lbaas_member.""" return self.get(self.lbaas_member_path % (lbaas_pool, lbaas_member), params=_params)
python
def show_lbaas_member(self, lbaas_member, lbaas_pool, **_params): """Fetches information of a certain lbaas_member.""" return self.get(self.lbaas_member_path % (lbaas_pool, lbaas_member), params=_params)
[ "def", "show_lbaas_member", "(", "self", ",", "lbaas_member", ",", "lbaas_pool", ",", "*", "*", "_params", ")", ":", "return", "self", ".", "get", "(", "self", ".", "lbaas_member_path", "%", "(", "lbaas_pool", ",", "lbaas_member", ")", ",", "params", "=", "_params", ")" ]
Fetches information of a certain lbaas_member.
[ "Fetches", "information", "of", "a", "certain", "lbaas_member", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1114-L1117
247,610
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.create_lbaas_member
def create_lbaas_member(self, lbaas_pool, body=None): """Creates a lbaas_member.""" return self.post(self.lbaas_members_path % lbaas_pool, body=body)
python
def create_lbaas_member(self, lbaas_pool, body=None): """Creates a lbaas_member.""" return self.post(self.lbaas_members_path % lbaas_pool, body=body)
[ "def", "create_lbaas_member", "(", "self", ",", "lbaas_pool", ",", "body", "=", "None", ")", ":", "return", "self", ".", "post", "(", "self", ".", "lbaas_members_path", "%", "lbaas_pool", ",", "body", "=", "body", ")" ]
Creates a lbaas_member.
[ "Creates", "a", "lbaas_member", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1119-L1121
247,611
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.update_lbaas_member
def update_lbaas_member(self, lbaas_member, lbaas_pool, body=None): """Updates a lbaas_member.""" return self.put(self.lbaas_member_path % (lbaas_pool, lbaas_member), body=body)
python
def update_lbaas_member(self, lbaas_member, lbaas_pool, body=None): """Updates a lbaas_member.""" return self.put(self.lbaas_member_path % (lbaas_pool, lbaas_member), body=body)
[ "def", "update_lbaas_member", "(", "self", ",", "lbaas_member", ",", "lbaas_pool", ",", "body", "=", "None", ")", ":", "return", "self", ".", "put", "(", "self", ".", "lbaas_member_path", "%", "(", "lbaas_pool", ",", "lbaas_member", ")", ",", "body", "=", "body", ")" ]
Updates a lbaas_member.
[ "Updates", "a", "lbaas_member", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1123-L1126
247,612
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.delete_lbaas_member
def delete_lbaas_member(self, lbaas_member, lbaas_pool): """Deletes the specified lbaas_member.""" return self.delete(self.lbaas_member_path % (lbaas_pool, lbaas_member))
python
def delete_lbaas_member(self, lbaas_member, lbaas_pool): """Deletes the specified lbaas_member.""" return self.delete(self.lbaas_member_path % (lbaas_pool, lbaas_member))
[ "def", "delete_lbaas_member", "(", "self", ",", "lbaas_member", ",", "lbaas_pool", ")", ":", "return", "self", ".", "delete", "(", "self", ".", "lbaas_member_path", "%", "(", "lbaas_pool", ",", "lbaas_member", ")", ")" ]
Deletes the specified lbaas_member.
[ "Deletes", "the", "specified", "lbaas_member", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1128-L1130
247,613
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.list_vips
def list_vips(self, retrieve_all=True, **_params): """Fetches a list of all load balancer vips for a project.""" # Pass filters in "params" argument to do_request return self.list('vips', self.vips_path, retrieve_all, **_params)
python
def list_vips(self, retrieve_all=True, **_params): """Fetches a list of all load balancer vips for a project.""" # Pass filters in "params" argument to do_request return self.list('vips', self.vips_path, retrieve_all, **_params)
[ "def", "list_vips", "(", "self", ",", "retrieve_all", "=", "True", ",", "*", "*", "_params", ")", ":", "# Pass filters in \"params\" argument to do_request", "return", "self", ".", "list", "(", "'vips'", ",", "self", ".", "vips_path", ",", "retrieve_all", ",", "*", "*", "_params", ")" ]
Fetches a list of all load balancer vips for a project.
[ "Fetches", "a", "list", "of", "all", "load", "balancer", "vips", "for", "a", "project", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1132-L1136
247,614
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.show_vip
def show_vip(self, vip, **_params): """Fetches information of a certain load balancer vip.""" return self.get(self.vip_path % (vip), params=_params)
python
def show_vip(self, vip, **_params): """Fetches information of a certain load balancer vip.""" return self.get(self.vip_path % (vip), params=_params)
[ "def", "show_vip", "(", "self", ",", "vip", ",", "*", "*", "_params", ")", ":", "return", "self", ".", "get", "(", "self", ".", "vip_path", "%", "(", "vip", ")", ",", "params", "=", "_params", ")" ]
Fetches information of a certain load balancer vip.
[ "Fetches", "information", "of", "a", "certain", "load", "balancer", "vip", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1138-L1140
247,615
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.update_vip
def update_vip(self, vip, body=None): """Updates a load balancer vip.""" return self.put(self.vip_path % (vip), body=body)
python
def update_vip(self, vip, body=None): """Updates a load balancer vip.""" return self.put(self.vip_path % (vip), body=body)
[ "def", "update_vip", "(", "self", ",", "vip", ",", "body", "=", "None", ")", ":", "return", "self", ".", "put", "(", "self", ".", "vip_path", "%", "(", "vip", ")", ",", "body", "=", "body", ")" ]
Updates a load balancer vip.
[ "Updates", "a", "load", "balancer", "vip", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1146-L1148
247,616
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.list_pools
def list_pools(self, retrieve_all=True, **_params): """Fetches a list of all load balancer pools for a project.""" # Pass filters in "params" argument to do_request return self.list('pools', self.pools_path, retrieve_all, **_params)
python
def list_pools(self, retrieve_all=True, **_params): """Fetches a list of all load balancer pools for a project.""" # Pass filters in "params" argument to do_request return self.list('pools', self.pools_path, retrieve_all, **_params)
[ "def", "list_pools", "(", "self", ",", "retrieve_all", "=", "True", ",", "*", "*", "_params", ")", ":", "# Pass filters in \"params\" argument to do_request", "return", "self", ".", "list", "(", "'pools'", ",", "self", ".", "pools_path", ",", "retrieve_all", ",", "*", "*", "_params", ")" ]
Fetches a list of all load balancer pools for a project.
[ "Fetches", "a", "list", "of", "all", "load", "balancer", "pools", "for", "a", "project", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1154-L1158
247,617
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.show_pool
def show_pool(self, pool, **_params): """Fetches information of a certain load balancer pool.""" return self.get(self.pool_path % (pool), params=_params)
python
def show_pool(self, pool, **_params): """Fetches information of a certain load balancer pool.""" return self.get(self.pool_path % (pool), params=_params)
[ "def", "show_pool", "(", "self", ",", "pool", ",", "*", "*", "_params", ")", ":", "return", "self", ".", "get", "(", "self", ".", "pool_path", "%", "(", "pool", ")", ",", "params", "=", "_params", ")" ]
Fetches information of a certain load balancer pool.
[ "Fetches", "information", "of", "a", "certain", "load", "balancer", "pool", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1160-L1162
247,618
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.update_pool
def update_pool(self, pool, body=None): """Updates a load balancer pool.""" return self.put(self.pool_path % (pool), body=body)
python
def update_pool(self, pool, body=None): """Updates a load balancer pool.""" return self.put(self.pool_path % (pool), body=body)
[ "def", "update_pool", "(", "self", ",", "pool", ",", "body", "=", "None", ")", ":", "return", "self", ".", "put", "(", "self", ".", "pool_path", "%", "(", "pool", ")", ",", "body", "=", "body", ")" ]
Updates a load balancer pool.
[ "Updates", "a", "load", "balancer", "pool", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1168-L1170
247,619
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.retrieve_pool_stats
def retrieve_pool_stats(self, pool, **_params): """Retrieves stats for a certain load balancer pool.""" return self.get(self.pool_path_stats % (pool), params=_params)
python
def retrieve_pool_stats(self, pool, **_params): """Retrieves stats for a certain load balancer pool.""" return self.get(self.pool_path_stats % (pool), params=_params)
[ "def", "retrieve_pool_stats", "(", "self", ",", "pool", ",", "*", "*", "_params", ")", ":", "return", "self", ".", "get", "(", "self", ".", "pool_path_stats", "%", "(", "pool", ")", ",", "params", "=", "_params", ")" ]
Retrieves stats for a certain load balancer pool.
[ "Retrieves", "stats", "for", "a", "certain", "load", "balancer", "pool", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1176-L1178
247,620
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.list_members
def list_members(self, retrieve_all=True, **_params): """Fetches a list of all load balancer members for a project.""" # Pass filters in "params" argument to do_request return self.list('members', self.members_path, retrieve_all, **_params)
python
def list_members(self, retrieve_all=True, **_params): """Fetches a list of all load balancer members for a project.""" # Pass filters in "params" argument to do_request return self.list('members', self.members_path, retrieve_all, **_params)
[ "def", "list_members", "(", "self", ",", "retrieve_all", "=", "True", ",", "*", "*", "_params", ")", ":", "# Pass filters in \"params\" argument to do_request", "return", "self", ".", "list", "(", "'members'", ",", "self", ".", "members_path", ",", "retrieve_all", ",", "*", "*", "_params", ")" ]
Fetches a list of all load balancer members for a project.
[ "Fetches", "a", "list", "of", "all", "load", "balancer", "members", "for", "a", "project", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1180-L1184
247,621
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.show_member
def show_member(self, member, **_params): """Fetches information of a certain load balancer member.""" return self.get(self.member_path % (member), params=_params)
python
def show_member(self, member, **_params): """Fetches information of a certain load balancer member.""" return self.get(self.member_path % (member), params=_params)
[ "def", "show_member", "(", "self", ",", "member", ",", "*", "*", "_params", ")", ":", "return", "self", ".", "get", "(", "self", ".", "member_path", "%", "(", "member", ")", ",", "params", "=", "_params", ")" ]
Fetches information of a certain load balancer member.
[ "Fetches", "information", "of", "a", "certain", "load", "balancer", "member", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1186-L1188
247,622
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.update_member
def update_member(self, member, body=None): """Updates a load balancer member.""" return self.put(self.member_path % (member), body=body)
python
def update_member(self, member, body=None): """Updates a load balancer member.""" return self.put(self.member_path % (member), body=body)
[ "def", "update_member", "(", "self", ",", "member", ",", "body", "=", "None", ")", ":", "return", "self", ".", "put", "(", "self", ".", "member_path", "%", "(", "member", ")", ",", "body", "=", "body", ")" ]
Updates a load balancer member.
[ "Updates", "a", "load", "balancer", "member", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1194-L1196
247,623
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.list_health_monitors
def list_health_monitors(self, retrieve_all=True, **_params): """Fetches a list of all load balancer health monitors for a project. """ # Pass filters in "params" argument to do_request return self.list('health_monitors', self.health_monitors_path, retrieve_all, **_params)
python
def list_health_monitors(self, retrieve_all=True, **_params): """Fetches a list of all load balancer health monitors for a project. """ # Pass filters in "params" argument to do_request return self.list('health_monitors', self.health_monitors_path, retrieve_all, **_params)
[ "def", "list_health_monitors", "(", "self", ",", "retrieve_all", "=", "True", ",", "*", "*", "_params", ")", ":", "# Pass filters in \"params\" argument to do_request", "return", "self", ".", "list", "(", "'health_monitors'", ",", "self", ".", "health_monitors_path", ",", "retrieve_all", ",", "*", "*", "_params", ")" ]
Fetches a list of all load balancer health monitors for a project.
[ "Fetches", "a", "list", "of", "all", "load", "balancer", "health", "monitors", "for", "a", "project", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1202-L1208
247,624
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.show_health_monitor
def show_health_monitor(self, health_monitor, **_params): """Fetches information of a certain load balancer health monitor.""" return self.get(self.health_monitor_path % (health_monitor), params=_params)
python
def show_health_monitor(self, health_monitor, **_params): """Fetches information of a certain load balancer health monitor.""" return self.get(self.health_monitor_path % (health_monitor), params=_params)
[ "def", "show_health_monitor", "(", "self", ",", "health_monitor", ",", "*", "*", "_params", ")", ":", "return", "self", ".", "get", "(", "self", ".", "health_monitor_path", "%", "(", "health_monitor", ")", ",", "params", "=", "_params", ")" ]
Fetches information of a certain load balancer health monitor.
[ "Fetches", "information", "of", "a", "certain", "load", "balancer", "health", "monitor", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1210-L1213
247,625
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.update_health_monitor
def update_health_monitor(self, health_monitor, body=None): """Updates a load balancer health monitor.""" return self.put(self.health_monitor_path % (health_monitor), body=body)
python
def update_health_monitor(self, health_monitor, body=None): """Updates a load balancer health monitor.""" return self.put(self.health_monitor_path % (health_monitor), body=body)
[ "def", "update_health_monitor", "(", "self", ",", "health_monitor", ",", "body", "=", "None", ")", ":", "return", "self", ".", "put", "(", "self", ".", "health_monitor_path", "%", "(", "health_monitor", ")", ",", "body", "=", "body", ")" ]
Updates a load balancer health monitor.
[ "Updates", "a", "load", "balancer", "health", "monitor", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1219-L1221
247,626
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.associate_health_monitor
def associate_health_monitor(self, pool, body): """Associate specified load balancer health monitor and pool.""" return self.post(self.associate_pool_health_monitors_path % (pool), body=body)
python
def associate_health_monitor(self, pool, body): """Associate specified load balancer health monitor and pool.""" return self.post(self.associate_pool_health_monitors_path % (pool), body=body)
[ "def", "associate_health_monitor", "(", "self", ",", "pool", ",", "body", ")", ":", "return", "self", ".", "post", "(", "self", ".", "associate_pool_health_monitors_path", "%", "(", "pool", ")", ",", "body", "=", "body", ")" ]
Associate specified load balancer health monitor and pool.
[ "Associate", "specified", "load", "balancer", "health", "monitor", "and", "pool", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1227-L1230
247,627
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.disassociate_health_monitor
def disassociate_health_monitor(self, pool, health_monitor): """Disassociate specified load balancer health monitor and pool.""" path = (self.disassociate_pool_health_monitors_path % {'pool': pool, 'health_monitor': health_monitor}) return self.delete(path)
python
def disassociate_health_monitor(self, pool, health_monitor): """Disassociate specified load balancer health monitor and pool.""" path = (self.disassociate_pool_health_monitors_path % {'pool': pool, 'health_monitor': health_monitor}) return self.delete(path)
[ "def", "disassociate_health_monitor", "(", "self", ",", "pool", ",", "health_monitor", ")", ":", "path", "=", "(", "self", ".", "disassociate_pool_health_monitors_path", "%", "{", "'pool'", ":", "pool", ",", "'health_monitor'", ":", "health_monitor", "}", ")", "return", "self", ".", "delete", "(", "path", ")" ]
Disassociate specified load balancer health monitor and pool.
[ "Disassociate", "specified", "load", "balancer", "health", "monitor", "and", "pool", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1232-L1236
247,628
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.show_qos_queue
def show_qos_queue(self, queue, **_params): """Fetches information of a certain queue.""" return self.get(self.qos_queue_path % (queue), params=_params)
python
def show_qos_queue(self, queue, **_params): """Fetches information of a certain queue.""" return self.get(self.qos_queue_path % (queue), params=_params)
[ "def", "show_qos_queue", "(", "self", ",", "queue", ",", "*", "*", "_params", ")", ":", "return", "self", ".", "get", "(", "self", ".", "qos_queue_path", "%", "(", "queue", ")", ",", "params", "=", "_params", ")" ]
Fetches information of a certain queue.
[ "Fetches", "information", "of", "a", "certain", "queue", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1246-L1249
247,629
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.show_agent
def show_agent(self, agent, **_params): """Fetches information of a certain agent.""" return self.get(self.agent_path % (agent), params=_params)
python
def show_agent(self, agent, **_params): """Fetches information of a certain agent.""" return self.get(self.agent_path % (agent), params=_params)
[ "def", "show_agent", "(", "self", ",", "agent", ",", "*", "*", "_params", ")", ":", "return", "self", ".", "get", "(", "self", ".", "agent_path", "%", "(", "agent", ")", ",", "params", "=", "_params", ")" ]
Fetches information of a certain agent.
[ "Fetches", "information", "of", "a", "certain", "agent", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1260-L1262
247,630
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.update_agent
def update_agent(self, agent, body=None): """Updates an agent.""" return self.put(self.agent_path % (agent), body=body)
python
def update_agent(self, agent, body=None): """Updates an agent.""" return self.put(self.agent_path % (agent), body=body)
[ "def", "update_agent", "(", "self", ",", "agent", ",", "body", "=", "None", ")", ":", "return", "self", ".", "put", "(", "self", ".", "agent_path", "%", "(", "agent", ")", ",", "body", "=", "body", ")" ]
Updates an agent.
[ "Updates", "an", "agent", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1264-L1266
247,631
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.show_network_gateway
def show_network_gateway(self, gateway_id, **_params): """Fetch a network gateway.""" return self.get(self.network_gateway_path % gateway_id, params=_params)
python
def show_network_gateway(self, gateway_id, **_params): """Fetch a network gateway.""" return self.get(self.network_gateway_path % gateway_id, params=_params)
[ "def", "show_network_gateway", "(", "self", ",", "gateway_id", ",", "*", "*", "_params", ")", ":", "return", "self", ".", "get", "(", "self", ".", "network_gateway_path", "%", "gateway_id", ",", "params", "=", "_params", ")" ]
Fetch a network gateway.
[ "Fetch", "a", "network", "gateway", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1276-L1278
247,632
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.update_network_gateway
def update_network_gateway(self, gateway_id, body=None): """Update a network gateway.""" return self.put(self.network_gateway_path % gateway_id, body=body)
python
def update_network_gateway(self, gateway_id, body=None): """Update a network gateway.""" return self.put(self.network_gateway_path % gateway_id, body=body)
[ "def", "update_network_gateway", "(", "self", ",", "gateway_id", ",", "body", "=", "None", ")", ":", "return", "self", ".", "put", "(", "self", ".", "network_gateway_path", "%", "gateway_id", ",", "body", "=", "body", ")" ]
Update a network gateway.
[ "Update", "a", "network", "gateway", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1284-L1286
247,633
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.connect_network_gateway
def connect_network_gateway(self, gateway_id, body=None): """Connect a network gateway to the specified network.""" base_uri = self.network_gateway_path % gateway_id return self.put("%s/connect_network" % base_uri, body=body)
python
def connect_network_gateway(self, gateway_id, body=None): """Connect a network gateway to the specified network.""" base_uri = self.network_gateway_path % gateway_id return self.put("%s/connect_network" % base_uri, body=body)
[ "def", "connect_network_gateway", "(", "self", ",", "gateway_id", ",", "body", "=", "None", ")", ":", "base_uri", "=", "self", ".", "network_gateway_path", "%", "gateway_id", "return", "self", ".", "put", "(", "\"%s/connect_network\"", "%", "base_uri", ",", "body", "=", "body", ")" ]
Connect a network gateway to the specified network.
[ "Connect", "a", "network", "gateway", "to", "the", "specified", "network", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1292-L1295
247,634
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.disconnect_network_gateway
def disconnect_network_gateway(self, gateway_id, body=None): """Disconnect a network from the specified gateway.""" base_uri = self.network_gateway_path % gateway_id return self.put("%s/disconnect_network" % base_uri, body=body)
python
def disconnect_network_gateway(self, gateway_id, body=None): """Disconnect a network from the specified gateway.""" base_uri = self.network_gateway_path % gateway_id return self.put("%s/disconnect_network" % base_uri, body=body)
[ "def", "disconnect_network_gateway", "(", "self", ",", "gateway_id", ",", "body", "=", "None", ")", ":", "base_uri", "=", "self", ".", "network_gateway_path", "%", "gateway_id", "return", "self", ".", "put", "(", "\"%s/disconnect_network\"", "%", "base_uri", ",", "body", "=", "body", ")" ]
Disconnect a network from the specified gateway.
[ "Disconnect", "a", "network", "from", "the", "specified", "gateway", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1297-L1300
247,635
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.show_gateway_device
def show_gateway_device(self, gateway_device_id, **_params): """Fetch a gateway device.""" return self.get(self.gateway_device_path % gateway_device_id, params=_params)
python
def show_gateway_device(self, gateway_device_id, **_params): """Fetch a gateway device.""" return self.get(self.gateway_device_path % gateway_device_id, params=_params)
[ "def", "show_gateway_device", "(", "self", ",", "gateway_device_id", ",", "*", "*", "_params", ")", ":", "return", "self", ".", "get", "(", "self", ".", "gateway_device_path", "%", "gateway_device_id", ",", "params", "=", "_params", ")" ]
Fetch a gateway device.
[ "Fetch", "a", "gateway", "device", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1306-L1309
247,636
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.update_gateway_device
def update_gateway_device(self, gateway_device_id, body=None): """Updates a new gateway device.""" return self.put(self.gateway_device_path % gateway_device_id, body=body)
python
def update_gateway_device(self, gateway_device_id, body=None): """Updates a new gateway device.""" return self.put(self.gateway_device_path % gateway_device_id, body=body)
[ "def", "update_gateway_device", "(", "self", ",", "gateway_device_id", ",", "body", "=", "None", ")", ":", "return", "self", ".", "put", "(", "self", ".", "gateway_device_path", "%", "gateway_device_id", ",", "body", "=", "body", ")" ]
Updates a new gateway device.
[ "Updates", "a", "new", "gateway", "device", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1315-L1318
247,637
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.add_network_to_dhcp_agent
def add_network_to_dhcp_agent(self, dhcp_agent, body=None): """Adds a network to dhcp agent.""" return self.post((self.agent_path + self.DHCP_NETS) % dhcp_agent, body=body)
python
def add_network_to_dhcp_agent(self, dhcp_agent, body=None): """Adds a network to dhcp agent.""" return self.post((self.agent_path + self.DHCP_NETS) % dhcp_agent, body=body)
[ "def", "add_network_to_dhcp_agent", "(", "self", ",", "dhcp_agent", ",", "body", "=", "None", ")", ":", "return", "self", ".", "post", "(", "(", "self", ".", "agent_path", "+", "self", ".", "DHCP_NETS", ")", "%", "dhcp_agent", ",", "body", "=", "body", ")" ]
Adds a network to dhcp agent.
[ "Adds", "a", "network", "to", "dhcp", "agent", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1334-L1337
247,638
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.remove_network_from_dhcp_agent
def remove_network_from_dhcp_agent(self, dhcp_agent, network_id): """Remove a network from dhcp agent.""" return self.delete((self.agent_path + self.DHCP_NETS + "/%s") % ( dhcp_agent, network_id))
python
def remove_network_from_dhcp_agent(self, dhcp_agent, network_id): """Remove a network from dhcp agent.""" return self.delete((self.agent_path + self.DHCP_NETS + "/%s") % ( dhcp_agent, network_id))
[ "def", "remove_network_from_dhcp_agent", "(", "self", ",", "dhcp_agent", ",", "network_id", ")", ":", "return", "self", ".", "delete", "(", "(", "self", ".", "agent_path", "+", "self", ".", "DHCP_NETS", "+", "\"/%s\"", ")", "%", "(", "dhcp_agent", ",", "network_id", ")", ")" ]
Remove a network from dhcp agent.
[ "Remove", "a", "network", "from", "dhcp", "agent", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1339-L1342
247,639
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.add_router_to_l3_agent
def add_router_to_l3_agent(self, l3_agent, body): """Adds a router to L3 agent.""" return self.post((self.agent_path + self.L3_ROUTERS) % l3_agent, body=body)
python
def add_router_to_l3_agent(self, l3_agent, body): """Adds a router to L3 agent.""" return self.post((self.agent_path + self.L3_ROUTERS) % l3_agent, body=body)
[ "def", "add_router_to_l3_agent", "(", "self", ",", "l3_agent", ",", "body", ")", ":", "return", "self", ".", "post", "(", "(", "self", ".", "agent_path", "+", "self", ".", "L3_ROUTERS", ")", "%", "l3_agent", ",", "body", "=", "body", ")" ]
Adds a router to L3 agent.
[ "Adds", "a", "router", "to", "L3", "agent", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1354-L1357
247,640
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.list_dragents_hosting_bgp_speaker
def list_dragents_hosting_bgp_speaker(self, bgp_speaker, **_params): """Fetches a list of Dynamic Routing agents hosting a BGP speaker.""" return self.get((self.bgp_speaker_path + self.BGP_DRAGENTS) % bgp_speaker, params=_params)
python
def list_dragents_hosting_bgp_speaker(self, bgp_speaker, **_params): """Fetches a list of Dynamic Routing agents hosting a BGP speaker.""" return self.get((self.bgp_speaker_path + self.BGP_DRAGENTS) % bgp_speaker, params=_params)
[ "def", "list_dragents_hosting_bgp_speaker", "(", "self", ",", "bgp_speaker", ",", "*", "*", "_params", ")", ":", "return", "self", ".", "get", "(", "(", "self", ".", "bgp_speaker_path", "+", "self", ".", "BGP_DRAGENTS", ")", "%", "bgp_speaker", ",", "params", "=", "_params", ")" ]
Fetches a list of Dynamic Routing agents hosting a BGP speaker.
[ "Fetches", "a", "list", "of", "Dynamic", "Routing", "agents", "hosting", "a", "BGP", "speaker", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1359-L1362
247,641
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.add_bgp_speaker_to_dragent
def add_bgp_speaker_to_dragent(self, bgp_dragent, body): """Adds a BGP speaker to Dynamic Routing agent.""" return self.post((self.agent_path + self.BGP_DRINSTANCES) % bgp_dragent, body=body)
python
def add_bgp_speaker_to_dragent(self, bgp_dragent, body): """Adds a BGP speaker to Dynamic Routing agent.""" return self.post((self.agent_path + self.BGP_DRINSTANCES) % bgp_dragent, body=body)
[ "def", "add_bgp_speaker_to_dragent", "(", "self", ",", "bgp_dragent", ",", "body", ")", ":", "return", "self", ".", "post", "(", "(", "self", ".", "agent_path", "+", "self", ".", "BGP_DRINSTANCES", ")", "%", "bgp_dragent", ",", "body", "=", "body", ")" ]
Adds a BGP speaker to Dynamic Routing agent.
[ "Adds", "a", "BGP", "speaker", "to", "Dynamic", "Routing", "agent", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1364-L1367
247,642
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.remove_bgp_speaker_from_dragent
def remove_bgp_speaker_from_dragent(self, bgp_dragent, bgpspeaker_id): """Removes a BGP speaker from Dynamic Routing agent.""" return self.delete((self.agent_path + self.BGP_DRINSTANCES + "/%s") % (bgp_dragent, bgpspeaker_id))
python
def remove_bgp_speaker_from_dragent(self, bgp_dragent, bgpspeaker_id): """Removes a BGP speaker from Dynamic Routing agent.""" return self.delete((self.agent_path + self.BGP_DRINSTANCES + "/%s") % (bgp_dragent, bgpspeaker_id))
[ "def", "remove_bgp_speaker_from_dragent", "(", "self", ",", "bgp_dragent", ",", "bgpspeaker_id", ")", ":", "return", "self", ".", "delete", "(", "(", "self", ".", "agent_path", "+", "self", ".", "BGP_DRINSTANCES", "+", "\"/%s\"", ")", "%", "(", "bgp_dragent", ",", "bgpspeaker_id", ")", ")" ]
Removes a BGP speaker from Dynamic Routing agent.
[ "Removes", "a", "BGP", "speaker", "from", "Dynamic", "Routing", "agent", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1369-L1372
247,643
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.list_bgp_speaker_on_dragent
def list_bgp_speaker_on_dragent(self, bgp_dragent, **_params): """Fetches a list of BGP speakers hosted by Dynamic Routing agent.""" return self.get((self.agent_path + self.BGP_DRINSTANCES) % bgp_dragent, params=_params)
python
def list_bgp_speaker_on_dragent(self, bgp_dragent, **_params): """Fetches a list of BGP speakers hosted by Dynamic Routing agent.""" return self.get((self.agent_path + self.BGP_DRINSTANCES) % bgp_dragent, params=_params)
[ "def", "list_bgp_speaker_on_dragent", "(", "self", ",", "bgp_dragent", ",", "*", "*", "_params", ")", ":", "return", "self", ".", "get", "(", "(", "self", ".", "agent_path", "+", "self", ".", "BGP_DRINSTANCES", ")", "%", "bgp_dragent", ",", "params", "=", "_params", ")" ]
Fetches a list of BGP speakers hosted by Dynamic Routing agent.
[ "Fetches", "a", "list", "of", "BGP", "speakers", "hosted", "by", "Dynamic", "Routing", "agent", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1374-L1377
247,644
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.list_firewall_rules
def list_firewall_rules(self, retrieve_all=True, **_params): """Fetches a list of all firewall rules for a project.""" # Pass filters in "params" argument to do_request return self.list('firewall_rules', self.firewall_rules_path, retrieve_all, **_params)
python
def list_firewall_rules(self, retrieve_all=True, **_params): """Fetches a list of all firewall rules for a project.""" # Pass filters in "params" argument to do_request return self.list('firewall_rules', self.firewall_rules_path, retrieve_all, **_params)
[ "def", "list_firewall_rules", "(", "self", ",", "retrieve_all", "=", "True", ",", "*", "*", "_params", ")", ":", "# Pass filters in \"params\" argument to do_request", "return", "self", ".", "list", "(", "'firewall_rules'", ",", "self", ".", "firewall_rules_path", ",", "retrieve_all", ",", "*", "*", "_params", ")" ]
Fetches a list of all firewall rules for a project.
[ "Fetches", "a", "list", "of", "all", "firewall", "rules", "for", "a", "project", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1379-L1384
247,645
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.show_firewall_rule
def show_firewall_rule(self, firewall_rule, **_params): """Fetches information of a certain firewall rule.""" return self.get(self.firewall_rule_path % (firewall_rule), params=_params)
python
def show_firewall_rule(self, firewall_rule, **_params): """Fetches information of a certain firewall rule.""" return self.get(self.firewall_rule_path % (firewall_rule), params=_params)
[ "def", "show_firewall_rule", "(", "self", ",", "firewall_rule", ",", "*", "*", "_params", ")", ":", "return", "self", ".", "get", "(", "self", ".", "firewall_rule_path", "%", "(", "firewall_rule", ")", ",", "params", "=", "_params", ")" ]
Fetches information of a certain firewall rule.
[ "Fetches", "information", "of", "a", "certain", "firewall", "rule", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1386-L1389
247,646
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.update_firewall_rule
def update_firewall_rule(self, firewall_rule, body=None): """Updates a firewall rule.""" return self.put(self.firewall_rule_path % (firewall_rule), body=body)
python
def update_firewall_rule(self, firewall_rule, body=None): """Updates a firewall rule.""" return self.put(self.firewall_rule_path % (firewall_rule), body=body)
[ "def", "update_firewall_rule", "(", "self", ",", "firewall_rule", ",", "body", "=", "None", ")", ":", "return", "self", ".", "put", "(", "self", ".", "firewall_rule_path", "%", "(", "firewall_rule", ")", ",", "body", "=", "body", ")" ]
Updates a firewall rule.
[ "Updates", "a", "firewall", "rule", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1395-L1397
247,647
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.list_firewall_policies
def list_firewall_policies(self, retrieve_all=True, **_params): """Fetches a list of all firewall policies for a project.""" # Pass filters in "params" argument to do_request return self.list('firewall_policies', self.firewall_policies_path, retrieve_all, **_params)
python
def list_firewall_policies(self, retrieve_all=True, **_params): """Fetches a list of all firewall policies for a project.""" # Pass filters in "params" argument to do_request return self.list('firewall_policies', self.firewall_policies_path, retrieve_all, **_params)
[ "def", "list_firewall_policies", "(", "self", ",", "retrieve_all", "=", "True", ",", "*", "*", "_params", ")", ":", "# Pass filters in \"params\" argument to do_request", "return", "self", ".", "list", "(", "'firewall_policies'", ",", "self", ".", "firewall_policies_path", ",", "retrieve_all", ",", "*", "*", "_params", ")" ]
Fetches a list of all firewall policies for a project.
[ "Fetches", "a", "list", "of", "all", "firewall", "policies", "for", "a", "project", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1403-L1408
247,648
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.show_firewall_policy
def show_firewall_policy(self, firewall_policy, **_params): """Fetches information of a certain firewall policy.""" return self.get(self.firewall_policy_path % (firewall_policy), params=_params)
python
def show_firewall_policy(self, firewall_policy, **_params): """Fetches information of a certain firewall policy.""" return self.get(self.firewall_policy_path % (firewall_policy), params=_params)
[ "def", "show_firewall_policy", "(", "self", ",", "firewall_policy", ",", "*", "*", "_params", ")", ":", "return", "self", ".", "get", "(", "self", ".", "firewall_policy_path", "%", "(", "firewall_policy", ")", ",", "params", "=", "_params", ")" ]
Fetches information of a certain firewall policy.
[ "Fetches", "information", "of", "a", "certain", "firewall", "policy", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1410-L1413
247,649
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.update_firewall_policy
def update_firewall_policy(self, firewall_policy, body=None): """Updates a firewall policy.""" return self.put(self.firewall_policy_path % (firewall_policy), body=body)
python
def update_firewall_policy(self, firewall_policy, body=None): """Updates a firewall policy.""" return self.put(self.firewall_policy_path % (firewall_policy), body=body)
[ "def", "update_firewall_policy", "(", "self", ",", "firewall_policy", ",", "body", "=", "None", ")", ":", "return", "self", ".", "put", "(", "self", ".", "firewall_policy_path", "%", "(", "firewall_policy", ")", ",", "body", "=", "body", ")" ]
Updates a firewall policy.
[ "Updates", "a", "firewall", "policy", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1419-L1422
247,650
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.firewall_policy_insert_rule
def firewall_policy_insert_rule(self, firewall_policy, body=None): """Inserts specified rule into firewall policy.""" return self.put(self.firewall_policy_insert_path % (firewall_policy), body=body)
python
def firewall_policy_insert_rule(self, firewall_policy, body=None): """Inserts specified rule into firewall policy.""" return self.put(self.firewall_policy_insert_path % (firewall_policy), body=body)
[ "def", "firewall_policy_insert_rule", "(", "self", ",", "firewall_policy", ",", "body", "=", "None", ")", ":", "return", "self", ".", "put", "(", "self", ".", "firewall_policy_insert_path", "%", "(", "firewall_policy", ")", ",", "body", "=", "body", ")" ]
Inserts specified rule into firewall policy.
[ "Inserts", "specified", "rule", "into", "firewall", "policy", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1428-L1431
247,651
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.firewall_policy_remove_rule
def firewall_policy_remove_rule(self, firewall_policy, body=None): """Removes specified rule from firewall policy.""" return self.put(self.firewall_policy_remove_path % (firewall_policy), body=body)
python
def firewall_policy_remove_rule(self, firewall_policy, body=None): """Removes specified rule from firewall policy.""" return self.put(self.firewall_policy_remove_path % (firewall_policy), body=body)
[ "def", "firewall_policy_remove_rule", "(", "self", ",", "firewall_policy", ",", "body", "=", "None", ")", ":", "return", "self", ".", "put", "(", "self", ".", "firewall_policy_remove_path", "%", "(", "firewall_policy", ")", ",", "body", "=", "body", ")" ]
Removes specified rule from firewall policy.
[ "Removes", "specified", "rule", "from", "firewall", "policy", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1433-L1436
247,652
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.list_firewalls
def list_firewalls(self, retrieve_all=True, **_params): """Fetches a list of all firewalls for a project.""" # Pass filters in "params" argument to do_request return self.list('firewalls', self.firewalls_path, retrieve_all, **_params)
python
def list_firewalls(self, retrieve_all=True, **_params): """Fetches a list of all firewalls for a project.""" # Pass filters in "params" argument to do_request return self.list('firewalls', self.firewalls_path, retrieve_all, **_params)
[ "def", "list_firewalls", "(", "self", ",", "retrieve_all", "=", "True", ",", "*", "*", "_params", ")", ":", "# Pass filters in \"params\" argument to do_request", "return", "self", ".", "list", "(", "'firewalls'", ",", "self", ".", "firewalls_path", ",", "retrieve_all", ",", "*", "*", "_params", ")" ]
Fetches a list of all firewalls for a project.
[ "Fetches", "a", "list", "of", "all", "firewalls", "for", "a", "project", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1438-L1443
247,653
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.show_firewall
def show_firewall(self, firewall, **_params): """Fetches information of a certain firewall.""" return self.get(self.firewall_path % (firewall), params=_params)
python
def show_firewall(self, firewall, **_params): """Fetches information of a certain firewall.""" return self.get(self.firewall_path % (firewall), params=_params)
[ "def", "show_firewall", "(", "self", ",", "firewall", ",", "*", "*", "_params", ")", ":", "return", "self", ".", "get", "(", "self", ".", "firewall_path", "%", "(", "firewall", ")", ",", "params", "=", "_params", ")" ]
Fetches information of a certain firewall.
[ "Fetches", "information", "of", "a", "certain", "firewall", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1445-L1447
247,654
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.update_firewall
def update_firewall(self, firewall, body=None): """Updates a firewall.""" return self.put(self.firewall_path % (firewall), body=body)
python
def update_firewall(self, firewall, body=None): """Updates a firewall.""" return self.put(self.firewall_path % (firewall), body=body)
[ "def", "update_firewall", "(", "self", ",", "firewall", ",", "body", "=", "None", ")", ":", "return", "self", ".", "put", "(", "self", ".", "firewall_path", "%", "(", "firewall", ")", ",", "body", "=", "body", ")" ]
Updates a firewall.
[ "Updates", "a", "firewall", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1453-L1455
247,655
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.remove_router_from_l3_agent
def remove_router_from_l3_agent(self, l3_agent, router_id): """Remove a router from l3 agent.""" return self.delete((self.agent_path + self.L3_ROUTERS + "/%s") % ( l3_agent, router_id))
python
def remove_router_from_l3_agent(self, l3_agent, router_id): """Remove a router from l3 agent.""" return self.delete((self.agent_path + self.L3_ROUTERS + "/%s") % ( l3_agent, router_id))
[ "def", "remove_router_from_l3_agent", "(", "self", ",", "l3_agent", ",", "router_id", ")", ":", "return", "self", ".", "delete", "(", "(", "self", ".", "agent_path", "+", "self", ".", "L3_ROUTERS", "+", "\"/%s\"", ")", "%", "(", "l3_agent", ",", "router_id", ")", ")" ]
Remove a router from l3 agent.
[ "Remove", "a", "router", "from", "l3", "agent", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1461-L1464
247,656
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.get_lbaas_agent_hosting_pool
def get_lbaas_agent_hosting_pool(self, pool, **_params): """Fetches a loadbalancer agent hosting a pool.""" return self.get((self.pool_path + self.LOADBALANCER_AGENT) % pool, params=_params)
python
def get_lbaas_agent_hosting_pool(self, pool, **_params): """Fetches a loadbalancer agent hosting a pool.""" return self.get((self.pool_path + self.LOADBALANCER_AGENT) % pool, params=_params)
[ "def", "get_lbaas_agent_hosting_pool", "(", "self", ",", "pool", ",", "*", "*", "_params", ")", ":", "return", "self", ".", "get", "(", "(", "self", ".", "pool_path", "+", "self", ".", "LOADBALANCER_AGENT", ")", "%", "pool", ",", "params", "=", "_params", ")" ]
Fetches a loadbalancer agent hosting a pool.
[ "Fetches", "a", "loadbalancer", "agent", "hosting", "a", "pool", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1466-L1469
247,657
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.list_pools_on_lbaas_agent
def list_pools_on_lbaas_agent(self, lbaas_agent, **_params): """Fetches a list of pools hosted by the loadbalancer agent.""" return self.get((self.agent_path + self.LOADBALANCER_POOLS) % lbaas_agent, params=_params)
python
def list_pools_on_lbaas_agent(self, lbaas_agent, **_params): """Fetches a list of pools hosted by the loadbalancer agent.""" return self.get((self.agent_path + self.LOADBALANCER_POOLS) % lbaas_agent, params=_params)
[ "def", "list_pools_on_lbaas_agent", "(", "self", ",", "lbaas_agent", ",", "*", "*", "_params", ")", ":", "return", "self", ".", "get", "(", "(", "self", ".", "agent_path", "+", "self", ".", "LOADBALANCER_POOLS", ")", "%", "lbaas_agent", ",", "params", "=", "_params", ")" ]
Fetches a list of pools hosted by the loadbalancer agent.
[ "Fetches", "a", "list", "of", "pools", "hosted", "by", "the", "loadbalancer", "agent", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1471-L1474
247,658
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.get_lbaas_agent_hosting_loadbalancer
def get_lbaas_agent_hosting_loadbalancer(self, loadbalancer, **_params): """Fetches a loadbalancer agent hosting a loadbalancer.""" return self.get((self.lbaas_loadbalancer_path + self.LOADBALANCER_HOSTING_AGENT) % loadbalancer, params=_params)
python
def get_lbaas_agent_hosting_loadbalancer(self, loadbalancer, **_params): """Fetches a loadbalancer agent hosting a loadbalancer.""" return self.get((self.lbaas_loadbalancer_path + self.LOADBALANCER_HOSTING_AGENT) % loadbalancer, params=_params)
[ "def", "get_lbaas_agent_hosting_loadbalancer", "(", "self", ",", "loadbalancer", ",", "*", "*", "_params", ")", ":", "return", "self", ".", "get", "(", "(", "self", ".", "lbaas_loadbalancer_path", "+", "self", ".", "LOADBALANCER_HOSTING_AGENT", ")", "%", "loadbalancer", ",", "params", "=", "_params", ")" ]
Fetches a loadbalancer agent hosting a loadbalancer.
[ "Fetches", "a", "loadbalancer", "agent", "hosting", "a", "loadbalancer", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1476-L1480
247,659
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.list_loadbalancers_on_lbaas_agent
def list_loadbalancers_on_lbaas_agent(self, lbaas_agent, **_params): """Fetches a list of loadbalancers hosted by the loadbalancer agent.""" return self.get((self.agent_path + self.AGENT_LOADBALANCERS) % lbaas_agent, params=_params)
python
def list_loadbalancers_on_lbaas_agent(self, lbaas_agent, **_params): """Fetches a list of loadbalancers hosted by the loadbalancer agent.""" return self.get((self.agent_path + self.AGENT_LOADBALANCERS) % lbaas_agent, params=_params)
[ "def", "list_loadbalancers_on_lbaas_agent", "(", "self", ",", "lbaas_agent", ",", "*", "*", "_params", ")", ":", "return", "self", ".", "get", "(", "(", "self", ".", "agent_path", "+", "self", ".", "AGENT_LOADBALANCERS", ")", "%", "lbaas_agent", ",", "params", "=", "_params", ")" ]
Fetches a list of loadbalancers hosted by the loadbalancer agent.
[ "Fetches", "a", "list", "of", "loadbalancers", "hosted", "by", "the", "loadbalancer", "agent", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1482-L1485
247,660
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.list_service_providers
def list_service_providers(self, retrieve_all=True, **_params): """Fetches service providers.""" # Pass filters in "params" argument to do_request return self.list('service_providers', self.service_providers_path, retrieve_all, **_params)
python
def list_service_providers(self, retrieve_all=True, **_params): """Fetches service providers.""" # Pass filters in "params" argument to do_request return self.list('service_providers', self.service_providers_path, retrieve_all, **_params)
[ "def", "list_service_providers", "(", "self", ",", "retrieve_all", "=", "True", ",", "*", "*", "_params", ")", ":", "# Pass filters in \"params\" argument to do_request", "return", "self", ".", "list", "(", "'service_providers'", ",", "self", ".", "service_providers_path", ",", "retrieve_all", ",", "*", "*", "_params", ")" ]
Fetches service providers.
[ "Fetches", "service", "providers", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1487-L1491
247,661
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.list_metering_labels
def list_metering_labels(self, retrieve_all=True, **_params): """Fetches a list of all metering labels for a project.""" return self.list('metering_labels', self.metering_labels_path, retrieve_all, **_params)
python
def list_metering_labels(self, retrieve_all=True, **_params): """Fetches a list of all metering labels for a project.""" return self.list('metering_labels', self.metering_labels_path, retrieve_all, **_params)
[ "def", "list_metering_labels", "(", "self", ",", "retrieve_all", "=", "True", ",", "*", "*", "_params", ")", ":", "return", "self", ".", "list", "(", "'metering_labels'", ",", "self", ".", "metering_labels_path", ",", "retrieve_all", ",", "*", "*", "_params", ")" ]
Fetches a list of all metering labels for a project.
[ "Fetches", "a", "list", "of", "all", "metering", "labels", "for", "a", "project", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1501-L1504
247,662
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.show_metering_label
def show_metering_label(self, metering_label, **_params): """Fetches information of a certain metering label.""" return self.get(self.metering_label_path % (metering_label), params=_params)
python
def show_metering_label(self, metering_label, **_params): """Fetches information of a certain metering label.""" return self.get(self.metering_label_path % (metering_label), params=_params)
[ "def", "show_metering_label", "(", "self", ",", "metering_label", ",", "*", "*", "_params", ")", ":", "return", "self", ".", "get", "(", "self", ".", "metering_label_path", "%", "(", "metering_label", ")", ",", "params", "=", "_params", ")" ]
Fetches information of a certain metering label.
[ "Fetches", "information", "of", "a", "certain", "metering", "label", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1506-L1509
247,663
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.list_metering_label_rules
def list_metering_label_rules(self, retrieve_all=True, **_params): """Fetches a list of all metering label rules for a label.""" return self.list('metering_label_rules', self.metering_label_rules_path, retrieve_all, **_params)
python
def list_metering_label_rules(self, retrieve_all=True, **_params): """Fetches a list of all metering label rules for a label.""" return self.list('metering_label_rules', self.metering_label_rules_path, retrieve_all, **_params)
[ "def", "list_metering_label_rules", "(", "self", ",", "retrieve_all", "=", "True", ",", "*", "*", "_params", ")", ":", "return", "self", ".", "list", "(", "'metering_label_rules'", ",", "self", ".", "metering_label_rules_path", ",", "retrieve_all", ",", "*", "*", "_params", ")" ]
Fetches a list of all metering label rules for a label.
[ "Fetches", "a", "list", "of", "all", "metering", "label", "rules", "for", "a", "label", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1519-L1523
247,664
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.show_metering_label_rule
def show_metering_label_rule(self, metering_label_rule, **_params): """Fetches information of a certain metering label rule.""" return self.get(self.metering_label_rule_path % (metering_label_rule), params=_params)
python
def show_metering_label_rule(self, metering_label_rule, **_params): """Fetches information of a certain metering label rule.""" return self.get(self.metering_label_rule_path % (metering_label_rule), params=_params)
[ "def", "show_metering_label_rule", "(", "self", ",", "metering_label_rule", ",", "*", "*", "_params", ")", ":", "return", "self", ".", "get", "(", "self", ".", "metering_label_rule_path", "%", "(", "metering_label_rule", ")", ",", "params", "=", "_params", ")" ]
Fetches information of a certain metering label rule.
[ "Fetches", "information", "of", "a", "certain", "metering", "label", "rule", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1525-L1528
247,665
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.update_rbac_policy
def update_rbac_policy(self, rbac_policy_id, body=None): """Update a RBAC policy.""" return self.put(self.rbac_policy_path % rbac_policy_id, body=body)
python
def update_rbac_policy(self, rbac_policy_id, body=None): """Update a RBAC policy.""" return self.put(self.rbac_policy_path % rbac_policy_id, body=body)
[ "def", "update_rbac_policy", "(", "self", ",", "rbac_policy_id", ",", "body", "=", "None", ")", ":", "return", "self", ".", "put", "(", "self", ".", "rbac_policy_path", "%", "rbac_policy_id", ",", "body", "=", "body", ")" ]
Update a RBAC policy.
[ "Update", "a", "RBAC", "policy", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1534-L1536
247,666
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.list_rbac_policies
def list_rbac_policies(self, retrieve_all=True, **_params): """Fetch a list of all RBAC policies for a project.""" return self.list('rbac_policies', self.rbac_policies_path, retrieve_all, **_params)
python
def list_rbac_policies(self, retrieve_all=True, **_params): """Fetch a list of all RBAC policies for a project.""" return self.list('rbac_policies', self.rbac_policies_path, retrieve_all, **_params)
[ "def", "list_rbac_policies", "(", "self", ",", "retrieve_all", "=", "True", ",", "*", "*", "_params", ")", ":", "return", "self", ".", "list", "(", "'rbac_policies'", ",", "self", ".", "rbac_policies_path", ",", "retrieve_all", ",", "*", "*", "_params", ")" ]
Fetch a list of all RBAC policies for a project.
[ "Fetch", "a", "list", "of", "all", "RBAC", "policies", "for", "a", "project", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1538-L1541
247,667
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.show_rbac_policy
def show_rbac_policy(self, rbac_policy_id, **_params): """Fetch information of a certain RBAC policy.""" return self.get(self.rbac_policy_path % rbac_policy_id, params=_params)
python
def show_rbac_policy(self, rbac_policy_id, **_params): """Fetch information of a certain RBAC policy.""" return self.get(self.rbac_policy_path % rbac_policy_id, params=_params)
[ "def", "show_rbac_policy", "(", "self", ",", "rbac_policy_id", ",", "*", "*", "_params", ")", ":", "return", "self", ".", "get", "(", "self", ".", "rbac_policy_path", "%", "rbac_policy_id", ",", "params", "=", "_params", ")" ]
Fetch information of a certain RBAC policy.
[ "Fetch", "information", "of", "a", "certain", "RBAC", "policy", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1543-L1546
247,668
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.list_qos_policies
def list_qos_policies(self, retrieve_all=True, **_params): """Fetches a list of all qos policies for a project.""" # Pass filters in "params" argument to do_request return self.list('policies', self.qos_policies_path, retrieve_all, **_params)
python
def list_qos_policies(self, retrieve_all=True, **_params): """Fetches a list of all qos policies for a project.""" # Pass filters in "params" argument to do_request return self.list('policies', self.qos_policies_path, retrieve_all, **_params)
[ "def", "list_qos_policies", "(", "self", ",", "retrieve_all", "=", "True", ",", "*", "*", "_params", ")", ":", "# Pass filters in \"params\" argument to do_request", "return", "self", ".", "list", "(", "'policies'", ",", "self", ".", "qos_policies_path", ",", "retrieve_all", ",", "*", "*", "_params", ")" ]
Fetches a list of all qos policies for a project.
[ "Fetches", "a", "list", "of", "all", "qos", "policies", "for", "a", "project", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1552-L1556
247,669
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.show_qos_policy
def show_qos_policy(self, qos_policy, **_params): """Fetches information of a certain qos policy.""" return self.get(self.qos_policy_path % qos_policy, params=_params)
python
def show_qos_policy(self, qos_policy, **_params): """Fetches information of a certain qos policy.""" return self.get(self.qos_policy_path % qos_policy, params=_params)
[ "def", "show_qos_policy", "(", "self", ",", "qos_policy", ",", "*", "*", "_params", ")", ":", "return", "self", ".", "get", "(", "self", ".", "qos_policy_path", "%", "qos_policy", ",", "params", "=", "_params", ")" ]
Fetches information of a certain qos policy.
[ "Fetches", "information", "of", "a", "certain", "qos", "policy", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1558-L1561
247,670
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.update_qos_policy
def update_qos_policy(self, qos_policy, body=None): """Updates a qos policy.""" return self.put(self.qos_policy_path % qos_policy, body=body)
python
def update_qos_policy(self, qos_policy, body=None): """Updates a qos policy.""" return self.put(self.qos_policy_path % qos_policy, body=body)
[ "def", "update_qos_policy", "(", "self", ",", "qos_policy", ",", "body", "=", "None", ")", ":", "return", "self", ".", "put", "(", "self", ".", "qos_policy_path", "%", "qos_policy", ",", "body", "=", "body", ")" ]
Updates a qos policy.
[ "Updates", "a", "qos", "policy", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1567-L1570
247,671
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.list_qos_rule_types
def list_qos_rule_types(self, retrieve_all=True, **_params): """List available qos rule types.""" return self.list('rule_types', self.qos_rule_types_path, retrieve_all, **_params)
python
def list_qos_rule_types(self, retrieve_all=True, **_params): """List available qos rule types.""" return self.list('rule_types', self.qos_rule_types_path, retrieve_all, **_params)
[ "def", "list_qos_rule_types", "(", "self", ",", "retrieve_all", "=", "True", ",", "*", "*", "_params", ")", ":", "return", "self", ".", "list", "(", "'rule_types'", ",", "self", ".", "qos_rule_types_path", ",", "retrieve_all", ",", "*", "*", "_params", ")" ]
List available qos rule types.
[ "List", "available", "qos", "rule", "types", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1576-L1579
247,672
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.list_bandwidth_limit_rules
def list_bandwidth_limit_rules(self, policy_id, retrieve_all=True, **_params): """Fetches a list of all bandwidth limit rules for the given policy.""" return self.list('bandwidth_limit_rules', self.qos_bandwidth_limit_rules_path % policy_id, retrieve_all, **_params)
python
def list_bandwidth_limit_rules(self, policy_id, retrieve_all=True, **_params): """Fetches a list of all bandwidth limit rules for the given policy.""" return self.list('bandwidth_limit_rules', self.qos_bandwidth_limit_rules_path % policy_id, retrieve_all, **_params)
[ "def", "list_bandwidth_limit_rules", "(", "self", ",", "policy_id", ",", "retrieve_all", "=", "True", ",", "*", "*", "_params", ")", ":", "return", "self", ".", "list", "(", "'bandwidth_limit_rules'", ",", "self", ".", "qos_bandwidth_limit_rules_path", "%", "policy_id", ",", "retrieve_all", ",", "*", "*", "_params", ")" ]
Fetches a list of all bandwidth limit rules for the given policy.
[ "Fetches", "a", "list", "of", "all", "bandwidth", "limit", "rules", "for", "the", "given", "policy", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1581-L1586
247,673
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.show_bandwidth_limit_rule
def show_bandwidth_limit_rule(self, rule, policy, body=None): """Fetches information of a certain bandwidth limit rule.""" return self.get(self.qos_bandwidth_limit_rule_path % (policy, rule), body=body)
python
def show_bandwidth_limit_rule(self, rule, policy, body=None): """Fetches information of a certain bandwidth limit rule.""" return self.get(self.qos_bandwidth_limit_rule_path % (policy, rule), body=body)
[ "def", "show_bandwidth_limit_rule", "(", "self", ",", "rule", ",", "policy", ",", "body", "=", "None", ")", ":", "return", "self", ".", "get", "(", "self", ".", "qos_bandwidth_limit_rule_path", "%", "(", "policy", ",", "rule", ")", ",", "body", "=", "body", ")" ]
Fetches information of a certain bandwidth limit rule.
[ "Fetches", "information", "of", "a", "certain", "bandwidth", "limit", "rule", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1588-L1591
247,674
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.create_bandwidth_limit_rule
def create_bandwidth_limit_rule(self, policy, body=None): """Creates a new bandwidth limit rule.""" return self.post(self.qos_bandwidth_limit_rules_path % policy, body=body)
python
def create_bandwidth_limit_rule(self, policy, body=None): """Creates a new bandwidth limit rule.""" return self.post(self.qos_bandwidth_limit_rules_path % policy, body=body)
[ "def", "create_bandwidth_limit_rule", "(", "self", ",", "policy", ",", "body", "=", "None", ")", ":", "return", "self", ".", "post", "(", "self", ".", "qos_bandwidth_limit_rules_path", "%", "policy", ",", "body", "=", "body", ")" ]
Creates a new bandwidth limit rule.
[ "Creates", "a", "new", "bandwidth", "limit", "rule", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1593-L1596
247,675
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.update_bandwidth_limit_rule
def update_bandwidth_limit_rule(self, rule, policy, body=None): """Updates a bandwidth limit rule.""" return self.put(self.qos_bandwidth_limit_rule_path % (policy, rule), body=body)
python
def update_bandwidth_limit_rule(self, rule, policy, body=None): """Updates a bandwidth limit rule.""" return self.put(self.qos_bandwidth_limit_rule_path % (policy, rule), body=body)
[ "def", "update_bandwidth_limit_rule", "(", "self", ",", "rule", ",", "policy", ",", "body", "=", "None", ")", ":", "return", "self", ".", "put", "(", "self", ".", "qos_bandwidth_limit_rule_path", "%", "(", "policy", ",", "rule", ")", ",", "body", "=", "body", ")" ]
Updates a bandwidth limit rule.
[ "Updates", "a", "bandwidth", "limit", "rule", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1598-L1601
247,676
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.delete_bandwidth_limit_rule
def delete_bandwidth_limit_rule(self, rule, policy): """Deletes a bandwidth limit rule.""" return self.delete(self.qos_bandwidth_limit_rule_path % (policy, rule))
python
def delete_bandwidth_limit_rule(self, rule, policy): """Deletes a bandwidth limit rule.""" return self.delete(self.qos_bandwidth_limit_rule_path % (policy, rule))
[ "def", "delete_bandwidth_limit_rule", "(", "self", ",", "rule", ",", "policy", ")", ":", "return", "self", ".", "delete", "(", "self", ".", "qos_bandwidth_limit_rule_path", "%", "(", "policy", ",", "rule", ")", ")" ]
Deletes a bandwidth limit rule.
[ "Deletes", "a", "bandwidth", "limit", "rule", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1603-L1606
247,677
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.list_dscp_marking_rules
def list_dscp_marking_rules(self, policy_id, retrieve_all=True, **_params): """Fetches a list of all DSCP marking rules for the given policy.""" return self.list('dscp_marking_rules', self.qos_dscp_marking_rules_path % policy_id, retrieve_all, **_params)
python
def list_dscp_marking_rules(self, policy_id, retrieve_all=True, **_params): """Fetches a list of all DSCP marking rules for the given policy.""" return self.list('dscp_marking_rules', self.qos_dscp_marking_rules_path % policy_id, retrieve_all, **_params)
[ "def", "list_dscp_marking_rules", "(", "self", ",", "policy_id", ",", "retrieve_all", "=", "True", ",", "*", "*", "_params", ")", ":", "return", "self", ".", "list", "(", "'dscp_marking_rules'", ",", "self", ".", "qos_dscp_marking_rules_path", "%", "policy_id", ",", "retrieve_all", ",", "*", "*", "_params", ")" ]
Fetches a list of all DSCP marking rules for the given policy.
[ "Fetches", "a", "list", "of", "all", "DSCP", "marking", "rules", "for", "the", "given", "policy", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1608-L1613
247,678
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.show_dscp_marking_rule
def show_dscp_marking_rule(self, rule, policy, body=None): """Shows information of a certain DSCP marking rule.""" return self.get(self.qos_dscp_marking_rule_path % (policy, rule), body=body)
python
def show_dscp_marking_rule(self, rule, policy, body=None): """Shows information of a certain DSCP marking rule.""" return self.get(self.qos_dscp_marking_rule_path % (policy, rule), body=body)
[ "def", "show_dscp_marking_rule", "(", "self", ",", "rule", ",", "policy", ",", "body", "=", "None", ")", ":", "return", "self", ".", "get", "(", "self", ".", "qos_dscp_marking_rule_path", "%", "(", "policy", ",", "rule", ")", ",", "body", "=", "body", ")" ]
Shows information of a certain DSCP marking rule.
[ "Shows", "information", "of", "a", "certain", "DSCP", "marking", "rule", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1615-L1618
247,679
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.create_dscp_marking_rule
def create_dscp_marking_rule(self, policy, body=None): """Creates a new DSCP marking rule.""" return self.post(self.qos_dscp_marking_rules_path % policy, body=body)
python
def create_dscp_marking_rule(self, policy, body=None): """Creates a new DSCP marking rule.""" return self.post(self.qos_dscp_marking_rules_path % policy, body=body)
[ "def", "create_dscp_marking_rule", "(", "self", ",", "policy", ",", "body", "=", "None", ")", ":", "return", "self", ".", "post", "(", "self", ".", "qos_dscp_marking_rules_path", "%", "policy", ",", "body", "=", "body", ")" ]
Creates a new DSCP marking rule.
[ "Creates", "a", "new", "DSCP", "marking", "rule", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1620-L1623
247,680
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.update_dscp_marking_rule
def update_dscp_marking_rule(self, rule, policy, body=None): """Updates a DSCP marking rule.""" return self.put(self.qos_dscp_marking_rule_path % (policy, rule), body=body)
python
def update_dscp_marking_rule(self, rule, policy, body=None): """Updates a DSCP marking rule.""" return self.put(self.qos_dscp_marking_rule_path % (policy, rule), body=body)
[ "def", "update_dscp_marking_rule", "(", "self", ",", "rule", ",", "policy", ",", "body", "=", "None", ")", ":", "return", "self", ".", "put", "(", "self", ".", "qos_dscp_marking_rule_path", "%", "(", "policy", ",", "rule", ")", ",", "body", "=", "body", ")" ]
Updates a DSCP marking rule.
[ "Updates", "a", "DSCP", "marking", "rule", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1625-L1628
247,681
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.delete_dscp_marking_rule
def delete_dscp_marking_rule(self, rule, policy): """Deletes a DSCP marking rule.""" return self.delete(self.qos_dscp_marking_rule_path % (policy, rule))
python
def delete_dscp_marking_rule(self, rule, policy): """Deletes a DSCP marking rule.""" return self.delete(self.qos_dscp_marking_rule_path % (policy, rule))
[ "def", "delete_dscp_marking_rule", "(", "self", ",", "rule", ",", "policy", ")", ":", "return", "self", ".", "delete", "(", "self", ".", "qos_dscp_marking_rule_path", "%", "(", "policy", ",", "rule", ")", ")" ]
Deletes a DSCP marking rule.
[ "Deletes", "a", "DSCP", "marking", "rule", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1630-L1633
247,682
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.list_flavors
def list_flavors(self, retrieve_all=True, **_params): """Fetches a list of all Neutron service flavors for a project.""" return self.list('flavors', self.flavors_path, retrieve_all, **_params)
python
def list_flavors(self, retrieve_all=True, **_params): """Fetches a list of all Neutron service flavors for a project.""" return self.list('flavors', self.flavors_path, retrieve_all, **_params)
[ "def", "list_flavors", "(", "self", ",", "retrieve_all", "=", "True", ",", "*", "*", "_params", ")", ":", "return", "self", ".", "list", "(", "'flavors'", ",", "self", ".", "flavors_path", ",", "retrieve_all", ",", "*", "*", "_params", ")" ]
Fetches a list of all Neutron service flavors for a project.
[ "Fetches", "a", "list", "of", "all", "Neutron", "service", "flavors", "for", "a", "project", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1643-L1646
247,683
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.show_flavor
def show_flavor(self, flavor, **_params): """Fetches information for a certain Neutron service flavor.""" return self.get(self.flavor_path % (flavor), params=_params)
python
def show_flavor(self, flavor, **_params): """Fetches information for a certain Neutron service flavor.""" return self.get(self.flavor_path % (flavor), params=_params)
[ "def", "show_flavor", "(", "self", ",", "flavor", ",", "*", "*", "_params", ")", ":", "return", "self", ".", "get", "(", "self", ".", "flavor_path", "%", "(", "flavor", ")", ",", "params", "=", "_params", ")" ]
Fetches information for a certain Neutron service flavor.
[ "Fetches", "information", "for", "a", "certain", "Neutron", "service", "flavor", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1648-L1650
247,684
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.update_flavor
def update_flavor(self, flavor, body): """Update a Neutron service flavor.""" return self.put(self.flavor_path % (flavor), body=body)
python
def update_flavor(self, flavor, body): """Update a Neutron service flavor.""" return self.put(self.flavor_path % (flavor), body=body)
[ "def", "update_flavor", "(", "self", ",", "flavor", ",", "body", ")", ":", "return", "self", ".", "put", "(", "self", ".", "flavor_path", "%", "(", "flavor", ")", ",", "body", "=", "body", ")" ]
Update a Neutron service flavor.
[ "Update", "a", "Neutron", "service", "flavor", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1652-L1654
247,685
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.associate_flavor
def associate_flavor(self, flavor, body): """Associate a Neutron service flavor with a profile.""" return self.post(self.flavor_profile_bindings_path % (flavor), body=body)
python
def associate_flavor(self, flavor, body): """Associate a Neutron service flavor with a profile.""" return self.post(self.flavor_profile_bindings_path % (flavor), body=body)
[ "def", "associate_flavor", "(", "self", ",", "flavor", ",", "body", ")", ":", "return", "self", ".", "post", "(", "self", ".", "flavor_profile_bindings_path", "%", "(", "flavor", ")", ",", "body", "=", "body", ")" ]
Associate a Neutron service flavor with a profile.
[ "Associate", "a", "Neutron", "service", "flavor", "with", "a", "profile", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1656-L1659
247,686
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.disassociate_flavor
def disassociate_flavor(self, flavor, flavor_profile): """Disassociate a Neutron service flavor with a profile.""" return self.delete(self.flavor_profile_binding_path % (flavor, flavor_profile))
python
def disassociate_flavor(self, flavor, flavor_profile): """Disassociate a Neutron service flavor with a profile.""" return self.delete(self.flavor_profile_binding_path % (flavor, flavor_profile))
[ "def", "disassociate_flavor", "(", "self", ",", "flavor", ",", "flavor_profile", ")", ":", "return", "self", ".", "delete", "(", "self", ".", "flavor_profile_binding_path", "%", "(", "flavor", ",", "flavor_profile", ")", ")" ]
Disassociate a Neutron service flavor with a profile.
[ "Disassociate", "a", "Neutron", "service", "flavor", "with", "a", "profile", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1661-L1664
247,687
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.list_service_profiles
def list_service_profiles(self, retrieve_all=True, **_params): """Fetches a list of all Neutron service flavor profiles.""" return self.list('service_profiles', self.service_profiles_path, retrieve_all, **_params)
python
def list_service_profiles(self, retrieve_all=True, **_params): """Fetches a list of all Neutron service flavor profiles.""" return self.list('service_profiles', self.service_profiles_path, retrieve_all, **_params)
[ "def", "list_service_profiles", "(", "self", ",", "retrieve_all", "=", "True", ",", "*", "*", "_params", ")", ":", "return", "self", ".", "list", "(", "'service_profiles'", ",", "self", ".", "service_profiles_path", ",", "retrieve_all", ",", "*", "*", "_params", ")" ]
Fetches a list of all Neutron service flavor profiles.
[ "Fetches", "a", "list", "of", "all", "Neutron", "service", "flavor", "profiles", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1674-L1677
247,688
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.show_service_profile
def show_service_profile(self, flavor_profile, **_params): """Fetches information for a certain Neutron service flavor profile.""" return self.get(self.service_profile_path % (flavor_profile), params=_params)
python
def show_service_profile(self, flavor_profile, **_params): """Fetches information for a certain Neutron service flavor profile.""" return self.get(self.service_profile_path % (flavor_profile), params=_params)
[ "def", "show_service_profile", "(", "self", ",", "flavor_profile", ",", "*", "*", "_params", ")", ":", "return", "self", ".", "get", "(", "self", ".", "service_profile_path", "%", "(", "flavor_profile", ")", ",", "params", "=", "_params", ")" ]
Fetches information for a certain Neutron service flavor profile.
[ "Fetches", "information", "for", "a", "certain", "Neutron", "service", "flavor", "profile", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1679-L1682
247,689
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.update_service_profile
def update_service_profile(self, service_profile, body): """Update a Neutron service profile.""" return self.put(self.service_profile_path % (service_profile), body=body)
python
def update_service_profile(self, service_profile, body): """Update a Neutron service profile.""" return self.put(self.service_profile_path % (service_profile), body=body)
[ "def", "update_service_profile", "(", "self", ",", "service_profile", ",", "body", ")", ":", "return", "self", ".", "put", "(", "self", ".", "service_profile_path", "%", "(", "service_profile", ")", ",", "body", "=", "body", ")" ]
Update a Neutron service profile.
[ "Update", "a", "Neutron", "service", "profile", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1684-L1687
247,690
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.list_availability_zones
def list_availability_zones(self, retrieve_all=True, **_params): """Fetches a list of all availability zones.""" return self.list('availability_zones', self.availability_zones_path, retrieve_all, **_params)
python
def list_availability_zones(self, retrieve_all=True, **_params): """Fetches a list of all availability zones.""" return self.list('availability_zones', self.availability_zones_path, retrieve_all, **_params)
[ "def", "list_availability_zones", "(", "self", ",", "retrieve_all", "=", "True", ",", "*", "*", "_params", ")", ":", "return", "self", ".", "list", "(", "'availability_zones'", ",", "self", ".", "availability_zones_path", ",", "retrieve_all", ",", "*", "*", "_params", ")" ]
Fetches a list of all availability zones.
[ "Fetches", "a", "list", "of", "all", "availability", "zones", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1689-L1692
247,691
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.get_auto_allocated_topology
def get_auto_allocated_topology(self, project_id, **_params): """Fetch information about a project's auto-allocated topology.""" return self.get( self.auto_allocated_topology_path % project_id, params=_params)
python
def get_auto_allocated_topology(self, project_id, **_params): """Fetch information about a project's auto-allocated topology.""" return self.get( self.auto_allocated_topology_path % project_id, params=_params)
[ "def", "get_auto_allocated_topology", "(", "self", ",", "project_id", ",", "*", "*", "_params", ")", ":", "return", "self", ".", "get", "(", "self", ".", "auto_allocated_topology_path", "%", "project_id", ",", "params", "=", "_params", ")" ]
Fetch information about a project's auto-allocated topology.
[ "Fetch", "information", "about", "a", "project", "s", "auto", "-", "allocated", "topology", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1696-L1700
247,692
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.list_bgp_speakers
def list_bgp_speakers(self, retrieve_all=True, **_params): """Fetches a list of all BGP speakers for a project.""" return self.list('bgp_speakers', self.bgp_speakers_path, retrieve_all, **_params)
python
def list_bgp_speakers(self, retrieve_all=True, **_params): """Fetches a list of all BGP speakers for a project.""" return self.list('bgp_speakers', self.bgp_speakers_path, retrieve_all, **_params)
[ "def", "list_bgp_speakers", "(", "self", ",", "retrieve_all", "=", "True", ",", "*", "*", "_params", ")", ":", "return", "self", ".", "list", "(", "'bgp_speakers'", ",", "self", ".", "bgp_speakers_path", ",", "retrieve_all", ",", "*", "*", "_params", ")" ]
Fetches a list of all BGP speakers for a project.
[ "Fetches", "a", "list", "of", "all", "BGP", "speakers", "for", "a", "project", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1708-L1711
247,693
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.show_bgp_speaker
def show_bgp_speaker(self, bgp_speaker_id, **_params): """Fetches information of a certain BGP speaker.""" return self.get(self.bgp_speaker_path % (bgp_speaker_id), params=_params)
python
def show_bgp_speaker(self, bgp_speaker_id, **_params): """Fetches information of a certain BGP speaker.""" return self.get(self.bgp_speaker_path % (bgp_speaker_id), params=_params)
[ "def", "show_bgp_speaker", "(", "self", ",", "bgp_speaker_id", ",", "*", "*", "_params", ")", ":", "return", "self", ".", "get", "(", "self", ".", "bgp_speaker_path", "%", "(", "bgp_speaker_id", ")", ",", "params", "=", "_params", ")" ]
Fetches information of a certain BGP speaker.
[ "Fetches", "information", "of", "a", "certain", "BGP", "speaker", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1713-L1716
247,694
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.update_bgp_speaker
def update_bgp_speaker(self, bgp_speaker_id, body=None): """Update a BGP speaker.""" return self.put(self.bgp_speaker_path % bgp_speaker_id, body=body)
python
def update_bgp_speaker(self, bgp_speaker_id, body=None): """Update a BGP speaker.""" return self.put(self.bgp_speaker_path % bgp_speaker_id, body=body)
[ "def", "update_bgp_speaker", "(", "self", ",", "bgp_speaker_id", ",", "body", "=", "None", ")", ":", "return", "self", ".", "put", "(", "self", ".", "bgp_speaker_path", "%", "bgp_speaker_id", ",", "body", "=", "body", ")" ]
Update a BGP speaker.
[ "Update", "a", "BGP", "speaker", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1722-L1724
247,695
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.add_peer_to_bgp_speaker
def add_peer_to_bgp_speaker(self, speaker_id, body=None): """Adds a peer to BGP speaker.""" return self.put((self.bgp_speaker_path % speaker_id) + "/add_bgp_peer", body=body)
python
def add_peer_to_bgp_speaker(self, speaker_id, body=None): """Adds a peer to BGP speaker.""" return self.put((self.bgp_speaker_path % speaker_id) + "/add_bgp_peer", body=body)
[ "def", "add_peer_to_bgp_speaker", "(", "self", ",", "speaker_id", ",", "body", "=", "None", ")", ":", "return", "self", ".", "put", "(", "(", "self", ".", "bgp_speaker_path", "%", "speaker_id", ")", "+", "\"/add_bgp_peer\"", ",", "body", "=", "body", ")" ]
Adds a peer to BGP speaker.
[ "Adds", "a", "peer", "to", "BGP", "speaker", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1730-L1733
247,696
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.remove_peer_from_bgp_speaker
def remove_peer_from_bgp_speaker(self, speaker_id, body=None): """Removes a peer from BGP speaker.""" return self.put((self.bgp_speaker_path % speaker_id) + "/remove_bgp_peer", body=body)
python
def remove_peer_from_bgp_speaker(self, speaker_id, body=None): """Removes a peer from BGP speaker.""" return self.put((self.bgp_speaker_path % speaker_id) + "/remove_bgp_peer", body=body)
[ "def", "remove_peer_from_bgp_speaker", "(", "self", ",", "speaker_id", ",", "body", "=", "None", ")", ":", "return", "self", ".", "put", "(", "(", "self", ".", "bgp_speaker_path", "%", "speaker_id", ")", "+", "\"/remove_bgp_peer\"", ",", "body", "=", "body", ")" ]
Removes a peer from BGP speaker.
[ "Removes", "a", "peer", "from", "BGP", "speaker", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1735-L1738
247,697
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.add_network_to_bgp_speaker
def add_network_to_bgp_speaker(self, speaker_id, body=None): """Adds a network to BGP speaker.""" return self.put((self.bgp_speaker_path % speaker_id) + "/add_gateway_network", body=body)
python
def add_network_to_bgp_speaker(self, speaker_id, body=None): """Adds a network to BGP speaker.""" return self.put((self.bgp_speaker_path % speaker_id) + "/add_gateway_network", body=body)
[ "def", "add_network_to_bgp_speaker", "(", "self", ",", "speaker_id", ",", "body", "=", "None", ")", ":", "return", "self", ".", "put", "(", "(", "self", ".", "bgp_speaker_path", "%", "speaker_id", ")", "+", "\"/add_gateway_network\"", ",", "body", "=", "body", ")" ]
Adds a network to BGP speaker.
[ "Adds", "a", "network", "to", "BGP", "speaker", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1740-L1743
247,698
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.remove_network_from_bgp_speaker
def remove_network_from_bgp_speaker(self, speaker_id, body=None): """Removes a network from BGP speaker.""" return self.put((self.bgp_speaker_path % speaker_id) + "/remove_gateway_network", body=body)
python
def remove_network_from_bgp_speaker(self, speaker_id, body=None): """Removes a network from BGP speaker.""" return self.put((self.bgp_speaker_path % speaker_id) + "/remove_gateway_network", body=body)
[ "def", "remove_network_from_bgp_speaker", "(", "self", ",", "speaker_id", ",", "body", "=", "None", ")", ":", "return", "self", ".", "put", "(", "(", "self", ".", "bgp_speaker_path", "%", "speaker_id", ")", "+", "\"/remove_gateway_network\"", ",", "body", "=", "body", ")" ]
Removes a network from BGP speaker.
[ "Removes", "a", "network", "from", "BGP", "speaker", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1745-L1748
247,699
rackerlabs/rackspace-python-neutronclient
neutronclient/v2_0/client.py
Client.list_route_advertised_from_bgp_speaker
def list_route_advertised_from_bgp_speaker(self, speaker_id, **_params): """Fetches a list of all routes advertised by BGP speaker.""" return self.get((self.bgp_speaker_path % speaker_id) + "/get_advertised_routes", params=_params)
python
def list_route_advertised_from_bgp_speaker(self, speaker_id, **_params): """Fetches a list of all routes advertised by BGP speaker.""" return self.get((self.bgp_speaker_path % speaker_id) + "/get_advertised_routes", params=_params)
[ "def", "list_route_advertised_from_bgp_speaker", "(", "self", ",", "speaker_id", ",", "*", "*", "_params", ")", ":", "return", "self", ".", "get", "(", "(", "self", ".", "bgp_speaker_path", "%", "speaker_id", ")", "+", "\"/get_advertised_routes\"", ",", "params", "=", "_params", ")" ]
Fetches a list of all routes advertised by BGP speaker.
[ "Fetches", "a", "list", "of", "all", "routes", "advertised", "by", "BGP", "speaker", "." ]
5a5009a8fe078e3aa1d582176669f1b28ab26bef
https://github.com/rackerlabs/rackspace-python-neutronclient/blob/5a5009a8fe078e3aa1d582176669f1b28ab26bef/neutronclient/v2_0/client.py#L1750-L1753