Interface BgpAttributeConditions
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
BgpConditions
public interface BgpAttributeConditions extends org.opendaylight.yangtools.yang.binding.DataObject
Condition statement definitions for comparing a BGP route attribute to a specified valueThis class represents the following YANG schema fragment defined in module openconfig-bgp-policy
grouping bgp-attribute-conditions { leaf med-eq { type uint32; } leaf origin-eq { type bgp-types:bgp-origin-attr-type; } leaf-list next-hop-in { type inet:ip-address; } leaf-list afi-safi-in { type identityref { base afi-safi-type; } } leaf local-pref-eq { type uint32; } container community-count { presence "node is present in the config data to indicate a community-count condition"; uses pt:attribute-compare-operators; } container as-path-length { presence "node is present in the config data to indicate a as-path-length condition"; uses pt:attribute-compare-operators; } leaf route-type { type enumeration { enum INTERNAL { } enum EXTERNAL { } } } }
The schema path to identify an instance is openconfig-bgp-policy/bgp-attribute-conditions
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
BgpAttributeConditions.RouteType
-
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 List<Class<? extends AfiSafiType>>
getAfiSafiIn()
List of address families which the NLRI may be within@Nullable AsPathLength
getAsPathLength()
Value and comparison operations for conditions based on the length of the AS path in the route update@Nullable CommunityCount
getCommunityCount()
Value and comparison operations for conditions based on the number of communities in the route update@Nullable org.opendaylight.yangtools.yang.common.Uint32
getLocalPrefEq()
Condition to check if the local pref attribute is equal to the specified value@Nullable org.opendaylight.yangtools.yang.common.Uint32
getMedEq()
Condition to check if the received MED value is equal to the specified value@Nullable List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress>
getNextHopIn()
List of next hop addresses to check for in the route update@Nullable BgpOriginAttrType
getOriginEq()
Condition to check if the route origin is equal to the specified value@Nullable BgpAttributeConditions.RouteType
getRouteType()
Condition to check the route type in the route updateClass<? extends BgpAttributeConditions>
implementedInterface()
-
-
-
Method Detail
-
implementedInterface
Class<? extends BgpAttributeConditions> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getMedEq
@Nullable org.opendaylight.yangtools.yang.common.Uint32 getMedEq()
Condition to check if the received MED value is equal to the specified value- Returns:
org.opendaylight.yangtools.yang.common.Uint32
medEq
, ornull
if not present
-
getOriginEq
@Nullable BgpOriginAttrType getOriginEq()
Condition to check if the route origin is equal to the specified value- Returns:
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.types.rev151009.BgpOriginAttrType
originEq
, ornull
if not present
-
getNextHopIn
@Nullable List<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress> getNextHopIn()
List of next hop addresses to check for in the route update- Returns:
java.util.List
nextHopIn
, ornull
if not present
-
getAfiSafiIn
@Nullable List<Class<? extends AfiSafiType>> getAfiSafiIn()
List of address families which the NLRI may be within- Returns:
java.util.List
afiSafiIn
, ornull
if not present
-
getLocalPrefEq
@Nullable org.opendaylight.yangtools.yang.common.Uint32 getLocalPrefEq()
Condition to check if the local pref attribute is equal to the specified value- Returns:
org.opendaylight.yangtools.yang.common.Uint32
localPrefEq
, ornull
if not present
-
getCommunityCount
@Nullable CommunityCount getCommunityCount()
Value and comparison operations for conditions based on the number of communities in the route update- Returns:
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.policy.rev151009.bgp.attribute.conditions.CommunityCount
communityCount
, ornull
if not present
-
getAsPathLength
@Nullable AsPathLength getAsPathLength()
Value and comparison operations for conditions based on the length of the AS path in the route update- Returns:
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.policy.rev151009.bgp.attribute.conditions.AsPathLength
asPathLength
, ornull
if not present
-
getRouteType
@Nullable BgpAttributeConditions.RouteType getRouteType()
Condition to check the route type in the route update- Returns:
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.bgp.policy.rev151009.BgpAttributeConditions.RouteType
routeType
, ornull
if not present
-
-