Interface TunnelsState

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

    public interface TunnelsState
    extends org.opendaylight.yangtools.yang.binding.ChildOf<ItmStateData>, org.opendaylight.yangtools.yang.binding.Augmentable<TunnelsState>

    This class represents the following YANG schema fragment defined in module itm-state

     container tunnels_state {
       config false;
       list state-tunnel-list {
         key tunnel-interface-name;
         leaf tunnel-interface-name {
           type string;
         }
         leaf tunnel-state {
           type boolean;
           config false;
           status deprecated;
         }
         leaf oper-state {
           type tunnel-oper-status;
         }
         container src-info {
           uses tep-info-attributes;
         }
         container dst-info {
           uses tep-info-attributes;
         }
         leaf transport-type {
           type identityref {
             base tunnel-type-base;
           }
         }
         leaf port-number {
           type string;
         }
         leaf if-index {
           type uint16;
         }
       }
     }
     
    The schema path to identify an instance is itm-state/tunnels_state

    To create instances of this class use TunnelsStateBuilder.

    See Also:
    TunnelsStateBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable java.util.List<StateTunnelList> getStateTunnelList()
        Returns:
        java.util.List stateTunnelList, or null if not present
      • nonnullStateTunnelList

        default @NonNull java.util.List<StateTunnelList> nonnullStateTunnelList()
        Returns:
        java.util.List stateTunnelList, or an empty list if it is not present