blob: 9e5693e8490e360525083eeacf9b0e90076bde68 [file] [log] [blame]
Jon Perrittf95e3e42014-10-21 21:11:25 -05001package virtualinterfaces
Jon Perritt44b1ea22014-10-22 00:13:23 -05002
3import "github.com/rackspace/gophercloud"
4
5func listURL(c *gophercloud.ServiceClient, instanceID string) string {
6 return c.ServiceURL("servers", instanceID, "os-virtual-interfacesv2")
7}
8
9func createURL(c *gophercloud.ServiceClient, instanceID string) string {
10 return c.ServiceURL("servers", instanceID, "os-virtual-interfacesv2")
11}
12
13func deleteURL(c *gophercloud.ServiceClient, instanceID, interfaceID string) string {
14 return c.ServiceURL("servers", instanceID, "os-virtual-interfacesv2", interfaceID)
15}