Interface NetworksContainer
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<NetworksContainer>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<Bgp>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
public interface NetworksContainer extends org.opendaylight.yangtools.yang.binding.ChildOf<Bgp>, org.opendaylight.yangtools.yang.binding.Augmentable<NetworksContainer>
This class represents the following YANG schema fragment defined in module ebgp
container networksContainer { list networks { key "rd prefix-len"; leaf rd { type string; } leaf prefix-len { type string; } leaf afi { type uint32; } leaf macaddress { type string; } leaf bgp_control_plane_type { type bgp_control_plane_type; } leaf nexthop { type inet:ipv4-address; } leaf label { type uint32; } leaf ethtag { type uint32; } leaf esi { type string; } leaf encap-type { type encap_type; } leaf routermac { type string; } leaf l3vni { type uint32; } leaf l2vni { type uint32; } } }
The schema path to identify an instance is ebgp/bgp/networksContainerTo create instances of this class use
NetworksContainerBuilder
.- See Also:
NetworksContainerBuilder
-
-
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 Default Methods Modifier and Type Method Description @Nullable java.util.List<Networks>
getNetworks()
default java.lang.Class<NetworksContainer>
implementedInterface()
default @NonNull java.util.List<Networks>
nonnullNetworks()
-
-
-
Method Detail
-
implementedInterface
default java.lang.Class<NetworksContainer> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getNetworks
@Nullable java.util.List<Networks> getNetworks()
- Returns:
java.util.List
networks
, ornull
if not present
-
nonnullNetworks
default @NonNull java.util.List<Networks> nonnullNetworks()
- Returns:
java.util.List
networks
, or an empty list if it is not present
-
-