blob: 08301a846b0984cd4e630084e25d4d62979d6975 [file] [log] [blame]
Joe Topjianc21202d2015-02-27 21:32:58 +00001package tenantnetworks
2
Krzysztof Szukiełojć3f41d082017-05-07 14:43:06 +02003import "gerrit.mcp.mirantis.net/debian/gophercloud.git"
Joe Topjianc21202d2015-02-27 21:32:58 +00004
5const resourcePath = "os-tenant-networks"
6
7func resourceURL(c *gophercloud.ServiceClient) string {
8 return c.ServiceURL(resourcePath)
9}
10
11func listURL(c *gophercloud.ServiceClient) string {
12 return resourceURL(c)
13}
14
15func getURL(c *gophercloud.ServiceClient, id string) string {
16 return c.ServiceURL(resourcePath, id)
17}