Interface MatchPrefixSet

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<MatchPrefixSet>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<GenericConditions>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, MatchSetOptionsRestrictedGroup

    public interface MatchPrefixSet
    extends org.opendaylight.yangtools.yang.binding.ChildOf<GenericConditions>, org.opendaylight.yangtools.yang.binding.Augmentable<MatchPrefixSet>, MatchSetOptionsRestrictedGroup
    Match a referenced prefix-set according to the logic defined in the match-set-options leaf

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

     container match-prefix-set {
       presence
         "The presence of this container indicates that the routes
          should match the prefix-set referenced.";
       leaf prefix-set {
         type leafref {
           path /routing-policy/defined-sets/prefix-sets/prefix-set/prefix-set-name;
         }
       }
       uses match-set-options-restricted-group;
     }
     
    The schema path to identify an instance is openconfig-routing-policy/generic-conditions/match-prefix-set

    To create instances of this class use MatchPrefixSetBuilder.

    See Also:
    MatchPrefixSetBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

        default Class<MatchPrefixSet> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
        Specified by:
        implementedInterface in interface MatchSetOptionsRestrictedGroup
      • getPrefixSet

        @Nullable String getPrefixSet()
        References a defined prefix set
        Returns:
        java.lang.String prefixSet, or null if not present