Added role change command support,Import hex_array() from ryu.utils

Signed-off-by: Srijan Mishra <srijan23mishra@gmail.com>