github.com/gophercloud/gophercloud@v1.11.0/openstack/networking/v2/extensions/layer3/extraroutes/urls.go (about)

     1  package extraroutes
     2  
     3  import "github.com/gophercloud/gophercloud"
     4  
     5  const resourcePath = "routers"
     6  
     7  func addExtraRoutesURL(c *gophercloud.ServiceClient, id string) string {
     8  	return c.ServiceURL(resourcePath, id, "add_extraroutes")
     9  }
    10  
    11  func removeExtraRoutesURL(c *gophercloud.ServiceClient, id string) string {
    12  	return c.ServiceURL(resourcePath, id, "remove_extraroutes")
    13  }