Interface LocalAggregateConfig
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,LocalGenericSettings
public interface LocalAggregateConfig extends org.opendaylight.yangtools.yang.binding.DataObject, LocalGenericSettings
Configuration data for aggregate routesThis class represents the following YANG schema fragment defined in module openconfig-local-routing
grouping local-aggregate-config { leaf prefix { type inet:ip-prefix; } leaf discard { type boolean; default false; } uses local-generic-settings; }
The schema path to identify an instance is openconfig-local-routing/local-aggregate-config
-
-
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 org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix
getPrefix()
Aggregate prefix to be advertisedClass<? extends LocalAggregateConfig>
implementedInterface()
Boolean
isDiscard()
When true, install the aggregate route with a discard next-hop -- traffic destined to the aggregate will be discarded with no ICMP message generated.-
Methods inherited from interface org.opendaylight.yang.gen.v1.http.openconfig.net.yang.local.routing.rev151009.LocalGenericSettings
getSetTag
-
-
-
-
Method Detail
-
implementedInterface
Class<? extends LocalAggregateConfig> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
- Specified by:
implementedInterface
in interfaceLocalGenericSettings
-
getPrefix
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix getPrefix()
Aggregate prefix to be advertised- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpPrefix
prefix
, ornull
if not present
-
isDiscard
Boolean isDiscard()
When true, install the aggregate route with a discard next-hop -- traffic destined to the aggregate will be discarded with no ICMP message generated. When false, traffic destined to an aggregate address when no constituent routes are present will generate an ICMP unreachable message.- Returns:
java.lang.Boolean
discard
, ornull
if not present
-
-