blob: e5fbf8245408e92af4cfcdfc23a06d1f4dd8b01f [file] [log] [blame]
Jamie Hannaford17d2f872014-11-24 12:20:33 +01001package defsecrules
2
Jon Perritt27249f42016-02-18 10:35:59 -06003import "github.com/gophercloud/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}