virtual interfaces operations & unit tests; networks unit tests
diff --git a/rackspace/networking/v2/networks/urls.go b/rackspace/networking/v2/networks/urls.go
index 65d843b..19a21aa 100644
--- a/rackspace/networking/v2/networks/urls.go
+++ b/rackspace/networking/v2/networks/urls.go
@@ -3,25 +3,25 @@
import "github.com/rackspace/gophercloud"
func resourceURL(c *gophercloud.ServiceClient, id string) string {
- return c.ServiceURL("os-networksv2", id)
+ return c.ServiceURL("os-networksv2", id)
}
func rootURL(c *gophercloud.ServiceClient) string {
- return c.ServiceURL("networks")
+ return c.ServiceURL("os-networksv2")
}
func getURL(c *gophercloud.ServiceClient, id string) string {
- return resourceURL(c, id)
+ return resourceURL(c, id)
}
func listURL(c *gophercloud.ServiceClient) string {
- return rootURL(c)
+ return rootURL(c)
}
func createURL(c *gophercloud.ServiceClient) string {
- return rootURL(c)
+ return rootURL(c)
}
func deleteURL(c *gophercloud.ServiceClient, id string) string {
- return resourceURL(c, id)
+ return resourceURL(c, id)
}