blob: 101eef0b71ee88964ce70956053db5f12ee71e64 [file] [log] [blame]
Jamie Hannaford17d2f872014-11-24 12:20:33 +01001package defsecrules
2
Krzysztof Szukiełojć3f41d082017-05-07 14:43:06 +02003import "gerrit.mcp.mirantis.net/debian/gophercloud.git"
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}