com.h3c.sdn.adm.role

## Interface RoleAssertService

-     public interface RoleAssertService

  Responsible for communicating the south-bound role of a controller in relation to controlled domain entities when configured to execute in a High Availability controller cluster.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `informRole(ControllerRole role, ControllerNode controller, ControlledEntity device)` Informs the given device of the role the specified controller is about to take oath in relation to that device.
    `void` | `informRole(ControllerRole role, ControllerNode controller, Set<ControlledEntity> devices)` Informs the given set of devices of the role the specified controller is about to take oath in relation to those devices.

- - ### Method Detail

    - #### informRole

          void informRole(ControllerRole role,
                        ControllerNode controller,
                        ControlledEntity device)

      Informs the given device of the role the specified controller is about to take oath in relation to that device. Note: Use the one which accepts list of devices for more efficiency.
      Parameters:
        `role` - the role to be advertised
        `controller` - controller owning the role
        `device` - the devices to which the role message has to be informed

    - #### informRole

          void informRole(ControllerRole role,
                        ControllerNode controller,
                        Set<ControlledEntity> devices)

      Informs the given set of devices of the role the specified controller is about to take oath in relation to those devices. *
      Parameters:
        `role` - the role to be advertised
        `controller` - controller owning the role
        `devices` - the devices to which the role message has to be informed

Copyright © 2014. All Rights Reserved.