public class NeutronSecurityRule extends NeutronObject implements Serializable, INeutronObject
id uuid (String) UUID for the security group rule. direction String Direction the VM traffic (ingress/egress). security_group_id The security group to associate rule with. protocol String IP Protocol (icmp, tcp, udp, etc) or uint8. port_range_min Integer Port at start of range port_range_max Integer Port at end of range ethertype String ethertype in L2 packet (IPv4, IPv6, etc) remote_ip_prefix String (IP cidr) CIDR for address range. remote_group_id uuid-str Source security group to apply to rule. tenant_id uuid-str Owner of security rule. Admin only outside tenant.
Constructor and Description |
---|
NeutronSecurityRule() |
Modifier and Type | Method and Description |
---|---|
NeutronSecurityRule |
extractFields(List<String> fields) |
String |
getSecurityRemoteGroupID() |
String |
getSecurityRuleDirection() |
String |
getSecurityRuleEthertype() |
String |
getSecurityRuleGroupID() |
Integer |
getSecurityRulePortMax() |
Integer |
getSecurityRulePortMin() |
String |
getSecurityRuleProtocol() |
String |
getSecurityRuleRemoteIpPrefix() |
void |
setSecurityRemoteGroupID(String securityRemoteGroupID) |
void |
setSecurityRuleDirection(String securityRuleDirection) |
void |
setSecurityRuleEthertype(String securityRuleEthertype) |
void |
setSecurityRuleGroupID(String securityRuleGroupID) |
void |
setSecurityRulePortMax(Integer securityRulePortMax) |
void |
setSecurityRulePortMin(Integer securityRulePortMin) |
void |
setSecurityRuleProtocol(String securityRuleProtocol) |
void |
setSecurityRuleRemoteIpPrefix(String securityRuleRemoteIpPrefix) |
String |
toString() |
getTenantID, initDefaults, setTenantID, setTenantID
getID, setID
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getID, getTenantID, initDefaults, setID, setTenantID, setTenantID
public String getSecurityRuleDirection()
public void setSecurityRuleDirection(String securityRuleDirection)
public String getSecurityRuleProtocol()
public void setSecurityRuleProtocol(String securityRuleProtocol)
public Integer getSecurityRulePortMin()
public void setSecurityRulePortMin(Integer securityRulePortMin)
public Integer getSecurityRulePortMax()
public void setSecurityRulePortMax(Integer securityRulePortMax)
public String getSecurityRuleEthertype()
public void setSecurityRuleEthertype(String securityRuleEthertype)
public String getSecurityRuleRemoteIpPrefix()
public void setSecurityRuleRemoteIpPrefix(String securityRuleRemoteIpPrefix)
public String getSecurityRemoteGroupID()
public void setSecurityRemoteGroupID(String securityRemoteGroupID)
public String getSecurityRuleGroupID()
public void setSecurityRuleGroupID(String securityRuleGroupID)
public NeutronSecurityRule extractFields(List<String> fields)
public String toString()
toString
in class NeutronObject
Copyright © 2017 OpenDaylight. All rights reserved.