Interface BgpAfiSafiConfig
- All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>,org.opendaylight.yangtools.binding.BindingObject,org.opendaylight.yangtools.binding.DataContainer,org.opendaylight.yangtools.binding.Grouping
@Generated("mdsal-binding-generator")
public interface BgpAfiSafiConfig
extends org.opendaylight.yangtools.binding.Grouping
Configuration parameters used for all BGP AFI-SAFIs
This class represents the following YANG schema fragment defined in module openconfig-bgp-multiprotocol
grouping bgp-afi-safi_config {
leaf afi-safi-name {
type identityref {
base afi-safi-type;
}
}
leaf enabled {
type boolean;
default false;
}
}
-
Method Summary
Modifier and TypeMethodDescriptionReturn afiSafiName, ornullif it is not present.Return enabled, ornullif it is not present.default @NonNull AfiSafiTypeReturn afiSafiName, guaranteed to be non-null.default @NonNull BooleanReturn enabled, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getAfiSafiName
AfiSafiType getAfiSafiName()Return afiSafiName, ornullif it is not present.AFI,SAFI- Returns:
AfiSafiTypeafiSafiName, ornullif it is not present.
-
requireAfiSafiName
Return afiSafiName, guaranteed to be non-null.AFI,SAFI- Returns:
AfiSafiTypeafiSafiName, guaranteed to be non-null.- Throws:
NoSuchElementException- if afiSafiName is not present
-
getEnabled
Boolean getEnabled()Return enabled, ornullif it is not present.This leaf indicates whether the IPv4 Unicast AFI,SAFI is enabled for the neighbour or group- Returns:
Booleanenabled, ornullif it is not present.
-
requireEnabled
Return enabled, guaranteed to be non-null.This leaf indicates whether the IPv4 Unicast AFI,SAFI is enabled for the neighbour or group- Returns:
Booleanenabled, guaranteed to be non-null.- Throws:
NoSuchElementException- if enabled is not present
-