All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>, org.opendaylight.yangtools.yang.binding.ChoiceIn<Segments>, org.opendaylight.yangtools.yang.binding.DataContainer
All Known Subinterfaces:
AdjacencyCase, PrefixCase

@Generated("mdsal-binding-generator") public interface SegmentSpecification extends org.opendaylight.yangtools.yang.binding.ChoiceIn<Segments>

This class represents the following YANG schema fragment defined in module network-topology-sr

 choice segment-specification {
   case adjacency-case {
     container adjacency {
       leaf adjacency {
         type nt:link-ref;
       }
     }
   }
   case prefix-case {
     container prefix {
       leaf prefix {
         type inet:ip-prefix;
       }
       leaf node-sid {
         type boolean;
         default false;
       }
     }
   }
 }
 
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Methods inherited from interface org.opendaylight.yangtools.yang.binding.BindingContract

    implementedInterface
  • Field Details

    • QNAME

      static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      YANG identifier of the statement represented by this class.