blob: cc928ab8952a85dd3d8cdd827a0714bfe23d0ab3 [file] [log] [blame]
Jamie Hannaford17d2f872014-11-24 12:20:33 +01001package defsecrules
2
3import "github.com/rackspace/gophercloud"
4
5const rulepath = "os-security-group-default-rules"
6
7func resourceURL(c *gophercloud.ServiceClient, id string) string {
8 return c.ServiceURL(rulepath, id)
9}
10
11func rootURL(c *gophercloud.ServiceClient) string {
12 return c.ServiceURL(rulepath)
13}