blob: 13fcc039c9a5d8447f8bbc0b988c8b030d3c324c [file] [log] [blame]
Jamie Hannaford01e14922014-09-11 15:23:49 +02001package networks
2
Jamie Hannaford1ce30f22014-09-16 11:23:34 +02003import "github.com/rackspace/gophercloud"
Jamie Hannaford01e14922014-09-11 15:23:49 +02004
Jamie Hannaford12bc2472014-09-15 12:14:31 +02005const Version = "v2.0"
6
Jamie Hannafordd01a3c72014-09-15 12:51:00 +02007func NetworkURL(c *gophercloud.ServiceClient, id string) string {
8 return c.ServiceURL(Version, "networks", id)
9}
Jamie Hannafordd2d9f562014-09-15 15:35:07 +020010
11func CreateURL(c *gophercloud.ServiceClient) string {
12 return c.ServiceURL(Version, "networks")
13}