Package org.opendaylight.neutron.spi
Class NeutronFirewallRule
- java.lang.Object
-
- org.opendaylight.neutron.spi.NeutronID
-
- org.opendaylight.neutron.spi.NeutronObject<T>
-
- org.opendaylight.neutron.spi.NeutronBaseAttributes<NeutronFirewallRule>
-
- org.opendaylight.neutron.spi.NeutronFirewallRule
-
- All Implemented Interfaces:
Serializable
,INeutronBaseAttributes<NeutronFirewallRule>
,INeutronObject<NeutronFirewallRule>
public final class NeutronFirewallRule extends NeutronBaseAttributes<NeutronFirewallRule>
OpenStack Neutron v2.0 Firewall as a service (FWaaS) bindings. See OpenStack Network API v2.0 Reference for description of the fields. The implemented fields are as follows:tenant_id uuid-str name String admin_state_up Bool shared Bool firewall_policy_id uuid-str protocol String ip_version Integer source_ip_address String (IP addr or CIDR) destination_ip_address String (IP addr or CIDR) source_port_range_min Integer source_port_range_max Integer destination_port_range_min Integer destination_port_range_max Integer position Integer action String enabled Bool id uuid-str http://docs.openstack.org/api/openstack-network/2.0/openstack-network.pdf
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NeutronFirewallRule()
-
Method Summary
-
Methods inherited from class org.opendaylight.neutron.spi.NeutronBaseAttributes
getName, setName
-
Methods inherited from class org.opendaylight.neutron.spi.NeutronObject
extractFields, getProjectID, getRevisionNumber, getTenantID, initDefaults, setProjectID, setRevisionNumber, setTenantID, setTenantID
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.opendaylight.neutron.spi.INeutronObject
extractFields, getID, getProjectID, getRevisionNumber, getTenantID, initDefaults, setID, setProjectID, setRevisionNumber, setTenantID, setTenantID
-
-
-
-
Method Detail
-
getFirewallRuleIsEnabled
public Boolean getFirewallRuleIsEnabled()
-
setFirewallRuleIsEnabled
public void setFirewallRuleIsEnabled(Boolean firewallRuleIsEnabled)
-
getFirewallRuleAction
public String getFirewallRuleAction()
-
setFirewallRuleAction
public void setFirewallRuleAction(String firewallRuleAction)
-
getFirewallRulePosition
public Integer getFirewallRulePosition()
-
setFirewallRulePosition
public void setFirewallRulePosition(Integer firewallRulePosition)
-
getFirewallRuleDstPortRangeMin
public Integer getFirewallRuleDstPortRangeMin()
-
setFirewallRuleDstPortRangeMin
public void setFirewallRuleDstPortRangeMin(Integer firewallRuleDstPortRangeMin)
-
getFirewallRuleDstPortRangeMax
public Integer getFirewallRuleDstPortRangeMax()
-
setFirewallRuleDstPortRangeMax
public void setFirewallRuleDstPortRangeMax(Integer firewallRuleDstPortRangeMax)
-
getFirewallRuleSrcPortRangeMin
public Integer getFirewallRuleSrcPortRangeMin()
-
setFirewallRuleSrcPortRangeMin
public void setFirewallRuleSrcPortRangeMin(Integer firewallRuleSrcPortRangeMin)
-
getFirewallRuleSrcPortRangeMax
public Integer getFirewallRuleSrcPortRangeMax()
-
setFirewallRuleSrcPortRangeMax
public void setFirewallRuleSrcPortRangeMax(Integer firewallRuleSrcPortRangeMax)
-
getFirewallRuleDstIpAddr
public String getFirewallRuleDstIpAddr()
-
setFirewallRuleDstIpAddr
public void setFirewallRuleDstIpAddr(String firewallRuleDstIpAddr)
-
getFirewallRuleSrcIpAddr
public String getFirewallRuleSrcIpAddr()
-
setFirewallRuleSrcIpAddr
public void setFirewallRuleSrcIpAddr(String firewallRuleSrcIpAddr)
-
getFirewallRuleIpVer
public Integer getFirewallRuleIpVer()
-
setFirewallRuleIpVer
public void setFirewallRuleIpVer(Integer firewallRuleIpVer)
-
getFirewallRuleProtocol
public String getFirewallRuleProtocol()
-
setFirewallRuleProtocol
public void setFirewallRuleProtocol(String firewallRuleProtocol)
-
getFirewallRulePolicyID
public String getFirewallRulePolicyID()
-
setFirewallRulePolicyID
public void setFirewallRulePolicyID(String firewallRulePolicyID)
-
getFirewallRuleIsShared
public Boolean getFirewallRuleIsShared()
-
setFirewallRuleIsShared
public void setFirewallRuleIsShared(Boolean firewallRuleIsShared)
-
extractField
protected boolean extractField(String field, NeutronFirewallRule ans)
- Overrides:
extractField
in classNeutronBaseAttributes<NeutronFirewallRule>
-
toString
public String toString()
- Overrides:
toString
in classNeutronObject<NeutronFirewallRule>
-
-