All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.Rpc<SetRoleInput,SetRoleOutput>>, org.opendaylight.yangtools.yang.binding.Rpc<SetRoleInput,SetRoleOutput>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface @Generated("mdsal-binding-generator") public interface SetRole extends org.opendaylight.yangtools.yang.binding.Rpc<SetRoleInput,SetRoleOutput>
Setting role to openflow device.

This class represents the following YANG schema fragment defined in module sal-role

 rpc set-role {
   input input {
     uses tr:transaction-metadata;
     uses inv:node-context-ref;
     leaf controller-role {
       type ofp-role;
     }
   }
   output output {
     uses tr:transaction-aware;
   }
 }
 
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    default Class<SetRole>
     

    Methods inherited from interface org.opendaylight.yangtools.yang.binding.Rpc

    invoke
  • Field Details

    • QNAME

      static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      YANG identifier of the statement represented by this class.
  • Method Details

    • implementedInterface

      default Class<SetRole> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.Rpc<SetRoleInput,SetRoleOutput>>