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:

    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;
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
        YANG identifier of the statement represented by this class.
    • 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 Map<TagSetKey,​TagSet> getTagSet()
        Return tagSet, or null if it is not present.
                 Definitions for tag sets
        Map<TagSetKey,> tagSet, or null if it is not present.
      • nonnullTagSet

        default @NonNull Map<TagSetKey,​TagSet> nonnullTagSet()
        Return tagSet, or an empty list if it is not present.
        Map<TagSetKey,> tagSet, or an empty list if it is not present.