Class NeutronSecurityRule

  • All Implemented Interfaces:
    Serializable, INeutronObject<NeutronSecurityRule>

    public final class NeutronSecurityRule
    extends NeutronObject<NeutronSecurityRule>
    See OpenStack Network API v2.0 Reference for description of annotated attributes. The current fields are as follows:

    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.

    See Also:
    Serialized Form
    • Constructor Detail

      • NeutronSecurityRule

        public NeutronSecurityRule()
    • Method Detail

      • getSecurityRuleDirection

        public String getSecurityRuleDirection()
      • setSecurityRuleDirection

        public void setSecurityRuleDirection​(String securityRuleDirection)
      • getSecurityRuleProtocol

        public String getSecurityRuleProtocol()
      • setSecurityRuleProtocol

        public void setSecurityRuleProtocol​(String securityRuleProtocol)
      • getSecurityRulePortMin

        public Integer getSecurityRulePortMin()
      • setSecurityRulePortMin

        public void setSecurityRulePortMin​(Integer securityRulePortMin)
      • getSecurityRulePortMax

        public Integer getSecurityRulePortMax()
      • setSecurityRulePortMax

        public void setSecurityRulePortMax​(Integer securityRulePortMax)
      • getSecurityRuleEthertype

        public String getSecurityRuleEthertype()
      • setSecurityRuleEthertype

        public void setSecurityRuleEthertype​(String securityRuleEthertype)
      • getSecurityRuleRemoteIpPrefix

        public String getSecurityRuleRemoteIpPrefix()
      • setSecurityRuleRemoteIpPrefix

        public void setSecurityRuleRemoteIpPrefix​(String securityRuleRemoteIpPrefix)
      • getSecurityRemoteGroupID

        public String getSecurityRemoteGroupID()
      • setSecurityRemoteGroupID

        public void setSecurityRemoteGroupID​(String securityRemoteGroupID)
      • getSecurityRuleGroupID

        public String getSecurityRuleGroupID()
      • setSecurityRuleGroupID

        public void setSecurityRuleGroupID​(String securityRuleGroupID)