Interface MatchRoleSet

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

    public interface MatchRoleSet
    extends org.opendaylight.yangtools.yang.binding.ChildOf<MatchRoleSetConditionGrouping>, org.opendaylight.yangtools.yang.binding.Augmentable<MatchRoleSet>
    Match a list of referenced role-set according to the logic defined in the match-set-options leaf

    This class represents the following YANG schema fragment defined in module odl-bgp-policy

     container match-role-set {
       container from-role {
         uses match-role-condition-grouping;
       }
       container to-role {
         uses match-role-condition-grouping;
       }
     }
     
    The schema path to identify an instance is odl-bgp-policy/match-role-set-condition-grouping/match-role-set

    To create instances of this class use MatchRoleSetBuilder.

    See Also:
    MatchRoleSetBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable FromRole getFromRole()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.odl.bgp._default.policy.rev200120.match.role.set.condition.grouping.match.role.set.FromRole fromRole, or null if not present
      • getToRole

        @Nullable ToRole getToRole()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.odl.bgp._default.policy.rev200120.match.role.set.condition.grouping.match.role.set.ToRole toRole, or null if not present