commit | 790e9f22fe3315304af552875595d9b37e1a8037 | [log] [tgz] |
---|---|---|
author | Ildar Svetlov <isvetlov@mirantis.com> | Sun Mar 24 22:33:37 2019 +0400 |
committer | Ildar Svetlov <isvetlov@mirantis.com> | Mon Mar 25 12:17:36 2019 +0400 |
tree | 134146fc4d31735fcb7c601ba1179c7db85cfbc6 | |
parent | 4f4220e6377fdfd6f8ed2cc8d0edd6d461026bac [diff] [blame] |
Add dhcp-networks agent function Related-PROD: PROD-28687 (PROD:28687) Change-Id: Ica9c2579f1620ea11ec6ef0b5f0931797ab5716a
diff --git a/openstack/networking/v2/extensions/agents/urls.go b/openstack/networking/v2/extensions/agents/urls.go index e4fac8d..4336ab9 100644 --- a/openstack/networking/v2/extensions/agents/urls.go +++ b/openstack/networking/v2/extensions/agents/urls.go
@@ -5,3 +5,7 @@ func listURL(c *gophercloud.ServiceClient) string { return c.ServiceURL("agents") } + +func listDHCPNetworksURL(client *gophercloud.ServiceClient, id string) string { + return client.ServiceURL("agents", id, "dhcp-networks") +}