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