Interface RoleReply

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

    public interface RoleReply
    extends org.opendaylight.yangtools.yang.binding.DataObject, OfHeader

    This class represents the following YANG schema fragment defined in module openflow-protocol

     grouping role-reply {
       uses ofHeader;
       leaf role {
         type oft:controller-role;
       }
       leaf generation-id {
         type uint64;
       }
     }
     
    The schema path to identify an instance is openflow-protocol/role-reply
    • Field Detail

      • QNAME

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

      • implementedInterface

        Class<? extends RoleReply> 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 OfHeader
      • getRole

        ControllerRole getRole()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.common.types.rev130731.ControllerRole role, or null if not present
      • getGenerationId

        org.opendaylight.yangtools.yang.common.Uint64 getGenerationId()
        Returns:
        org.opendaylight.yangtools.yang.common.Uint64 generationId, or null if not present