|
Brooklyn | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbrooklyn.util.ssh.IptablesCommands
public class IptablesCommands
Nested Class Summary | |
---|---|
enum |
IptablesCommands.Chain
|
enum |
IptablesCommands.Policy
|
enum |
IptablesCommands.Protocol
|
Method Summary | |
---|---|
static java.lang.String
|
appendIptablesRule(IptablesCommands.Chain chain, java.lang.String networkInterface, IptablesCommands.Protocol protocol, int port, IptablesCommands.Policy policy)
Returns the command that appends a rule to iptables. |
static java.lang.String
|
cleanUpIptablesRules()
Returns the command that cleans up iptables rules. |
static java.lang.String
|
insertIptablesRule(IptablesCommands.Chain chain, java.lang.String networkInterface, IptablesCommands.Protocol protocol, int port, IptablesCommands.Policy policy)
Returns the command that inserts a rule on top of the iptables' rules. |
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Method Detail |
---|
public static java.lang.String appendIptablesRule(IptablesCommands.Chain chain, java.lang.String networkInterface, IptablesCommands.Protocol protocol, int port, IptablesCommands.Policy policy)
public static java.lang.String cleanUpIptablesRules()
public static java.lang.String insertIptablesRule(IptablesCommands.Chain chain, java.lang.String networkInterface, IptablesCommands.Protocol protocol, int port, IptablesCommands.Policy policy)
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.