Interface BgpNeighborState

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<BgpNeighborState>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<BgpNeighbor>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject

    public interface BgpNeighborState
    extends org.opendaylight.yangtools.yang.binding.ChildOf<BgpNeighbor>, org.opendaylight.yangtools.yang.binding.Augmentable<BgpNeighborState>
    The operational parameters describing the neighbour state. It is intended that this container may be augmented by vendors to reflect the vendor-specific operational state parameters.

    This class represents the following YANG schema fragment defined in module bgp

     container bgp-neighbor-state {
       leaf adminStatus {
         type bgp-peer-admin-status;
       }
       leaf in-lastupdatetime {
         type yang:timestamp;
       }
     }
     
    The schema path to identify an instance is bgp/bgp-neighbors/bgp-neighbor/bgp-neighbor-state

    To create instances of this class use BgpNeighborStateBuilder.

    See Also:
    BgpNeighborStateBuilder
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        default java.lang.Class<BgpNeighborState> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getAdminStatus

        @Nullable BgpPeerAdminStatus getAdminStatus()
        Returns:
        org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.bgp.rev130715.BgpPeerAdminStatus adminStatus, or null if not present
      • getInLastupdatetime

        @Nullable org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Timestamp getInLastupdatetime()
        Returns:
        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Timestamp inLastupdatetime, or null if not present