Interface L2ConfigAttributes

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

    @Generated("mdsal-binding-generator")
    public interface L2ConfigAttributes
    extends org.opendaylight.yangtools.yang.binding.DataObject
    Parameters for configuring Layer2 features on interfaces.

    This class represents the following YANG schema fragment defined in module v3po

     grouping l2-config-attributes {
       choice interconnection {
         case xconnect-based {
           leaf xconnect-outgoing-interface {
             must "../../if:name != current()";
             type if:interface-ref;
           }
         }
         case bridge-based {
           uses bridge-based-attributes;
         }
       }
     }
     
    The schema path to identify an instance is v3po/l2-config-attributes
    • Field Detail

      • QNAME

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

      • implementedInterface

        java.lang.Class<? extends L2ConfigAttributes> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getInterconnection

        Interconnection getInterconnection()
        Return interconnection, or null if it is not present.
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.v3po.rev170607.l2.config.attributes.Interconnection interconnection, or null if it is not present.