Interface TagSet

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    TagSets

    public interface TagSet
    extends org.opendaylight.yangtools.yang.binding.DataObject
    Data definitions for a list of tags which can be matched in policies

    This class represents the following YANG schema fragment defined in module openconfig-routing-policy

     grouping tag-set {
       list tag-set {
         key tag-set-name;
         leaf tag-set-name {
           type string;
         }
         list tag {
           key value;
           leaf value {
             type pt:tag-type;
           }
         }
       }
     }
     
    The schema path to identify an instance is openconfig-routing-policy/tag-set
    • Field Detail

      • QNAME

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

      • implementedInterface

        Class<? extends TagSet> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getTagSet

        @Nullable List<TagSet> getTagSet()
        Definitions for tag sets
        Returns:
        java.util.List tagSet, or null if not present
      • nonnullTagSet

        default @NonNull List<TagSet> nonnullTagSet()
        Returns:
        java.util.List tagSet, or an empty list if it is not present