Interface FirewallRuleAttributes
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
FirewallRule
public interface FirewallRuleAttributes extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module neutron-fwaas
grouping firewall-rule-attributes { leaf shared { type boolean; } leaf enabled { type boolean; } leaf firewall-policy-id { type yang:uuid; } leaf protocol { type union { type uint8; type identityref { base fw-protocol-base; } } } leaf ip-version { type identityref { base ip-version-base; } } leaf source-ip-addr { type types:ip-prefix-or-address; } leaf destination-ip-addr { type types:ip-prefix-or-address; } leaf source-port-range-min { type uint16; } leaf source-port-range-max { type uint16; } leaf destination-port-range-min { type uint16; } leaf destination-port-range-max { type uint16; } leaf position { type int16; } leaf action { type identityref { base action-base; } } }
The schema path to identify an instance is neutron-fwaas/firewall-rule-attributes
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
FirewallRuleAttributes.Protocol
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable Class<? extends ActionBase>
getAction()
the action fot this rule@Nullable IpPrefixOrAddress
getDestinationIpAddr()
the destination ip address for this rule@Nullable org.opendaylight.yangtools.yang.common.Uint16
getDestinationPortRangeMax()
the destination port range max for this rule@Nullable org.opendaylight.yangtools.yang.common.Uint16
getDestinationPortRangeMin()
the destination port range min for this rule@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
getFirewallPolicyId()
the firewall policy UUID for this firewall rule@Nullable Class<? extends IpVersionBase>
getIpVersion()
the ip version this rule applies to@Nullable Short
getPosition()
the priority position this rule occupies@Nullable FirewallRuleAttributes.Protocol
getProtocol()
the protocol this rule applies to@Nullable IpPrefixOrAddress
getSourceIpAddr()
the source ip address for this rule@Nullable org.opendaylight.yangtools.yang.common.Uint16
getSourcePortRangeMax()
the source port range max for this rule@Nullable org.opendaylight.yangtools.yang.common.Uint16
getSourcePortRangeMin()
the source port range min for this ruleClass<? extends FirewallRuleAttributes>
implementedInterface()
@Nullable Boolean
isEnabled()
whether the firewall rule is enabled or not@Nullable Boolean
isShared()
whether the firewall rule is shared or not
-
-
-
Method Detail
-
implementedInterface
Class<? extends FirewallRuleAttributes> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
isShared
@Nullable Boolean isShared()
whether the firewall rule is shared or not- Returns:
java.lang.Boolean
shared
, ornull
if not present
-
isEnabled
@Nullable Boolean isEnabled()
whether the firewall rule is enabled or not- Returns:
java.lang.Boolean
enabled
, ornull
if not present
-
getFirewallPolicyId
@Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getFirewallPolicyId()
the firewall policy UUID for this firewall rule- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
firewallPolicyId
, ornull
if not present
-
getProtocol
@Nullable FirewallRuleAttributes.Protocol getProtocol()
the protocol this rule applies to- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.fwaas.rev150712.FirewallRuleAttributes.Protocol
protocol
, ornull
if not present
-
getIpVersion
@Nullable Class<? extends IpVersionBase> getIpVersion()
the ip version this rule applies to- Returns:
java.lang.Class
ipVersion
, ornull
if not present
-
getSourceIpAddr
@Nullable IpPrefixOrAddress getSourceIpAddr()
the source ip address for this rule- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.types.rev160517.IpPrefixOrAddress
sourceIpAddr
, ornull
if not present
-
getDestinationIpAddr
@Nullable IpPrefixOrAddress getDestinationIpAddr()
the destination ip address for this rule- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.types.rev160517.IpPrefixOrAddress
destinationIpAddr
, ornull
if not present
-
getSourcePortRangeMin
@Nullable org.opendaylight.yangtools.yang.common.Uint16 getSourcePortRangeMin()
the source port range min for this rule- Returns:
org.opendaylight.yangtools.yang.common.Uint16
sourcePortRangeMin
, ornull
if not present
-
getSourcePortRangeMax
@Nullable org.opendaylight.yangtools.yang.common.Uint16 getSourcePortRangeMax()
the source port range max for this rule- Returns:
org.opendaylight.yangtools.yang.common.Uint16
sourcePortRangeMax
, ornull
if not present
-
getDestinationPortRangeMin
@Nullable org.opendaylight.yangtools.yang.common.Uint16 getDestinationPortRangeMin()
the destination port range min for this rule- Returns:
org.opendaylight.yangtools.yang.common.Uint16
destinationPortRangeMin
, ornull
if not present
-
getDestinationPortRangeMax
@Nullable org.opendaylight.yangtools.yang.common.Uint16 getDestinationPortRangeMax()
the destination port range max for this rule- Returns:
org.opendaylight.yangtools.yang.common.Uint16
destinationPortRangeMax
, ornull
if not present
-
getPosition
@Nullable Short getPosition()
the priority position this rule occupies- Returns:
java.lang.Short
position
, ornull
if not present
-
getAction
@Nullable Class<? extends ActionBase> getAction()
the action fot this rule- Returns:
java.lang.Class
action
, ornull
if not present
-
-