Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRule ¶
func CreateRule(t *testing.T, client *gophercloud.ServiceClient) (*rules.Rule, error)
CreateRule will create a Firewall Rule with a random source address and source port, destination address and port. An error will be returned if the rule could not be created.
func DeleteRule ¶
func DeleteRule(t *testing.T, client *gophercloud.ServiceClient, ruleID string)
DeleteRule will delete a rule with a specified ID. A fatal error will occur if the delete was not successful. This works best when used as a deferred function.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.