summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormid_one <chenjie.xu@intel.com>2018-11-12 23:41:39 +0800
committermid_one <chenjie.xu@intel.com>2018-11-12 23:45:01 +0800
commitcb1e24b1784fdee751a21d2b793b584538fefe58 (patch)
tree496bb770f25697423f57b1806f72863340a258d5
parent3de4353dcd75cf6563b1c9a33c516cb599147e95 (diff)
downloadpython-neutronclient-cb1e24b1784fdee751a21d2b793b584538fefe58.tar.gz
Fix docstring in method list_networks_on_dhcp_agent
For function list_networks_on_dhcp_agent in the python-neutronclient\neutronclient\v2_0\client.py, the description is "Fetches a list of dhcp agents hosting a network". However this function fetches a list of networks hosted on a DHCP agent. Change the docstring. Change-Id: Ifa833d9a7ecab8ba55283d41d7a336d20cb578c3 Closes-Bug: 1802472
-rw-r--r--neutronclient/v2_0/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/neutronclient/v2_0/client.py b/neutronclient/v2_0/client.py
index cb84b9f..dddfba0 100644
--- a/neutronclient/v2_0/client.py
+++ b/neutronclient/v2_0/client.py
@@ -1494,7 +1494,7 @@ class Client(ClientBase):
params=_params)
def list_networks_on_dhcp_agent(self, dhcp_agent, **_params):
- """Fetches a list of dhcp agents hosting a network."""
+ """Fetches a list of networks hosted on a DHCP agent."""
return self.get((self.agent_path + self.DHCP_NETS) % dhcp_agent,
params=_params)