def _get_role(self):
return self.__role<EOL>
Getter method for role, mapped from YANG variable /network_instances/network_instance/mpls/lsps/constrained_path/tunnels/tunnel/state/role (identityref)

    YANG Description: The lsp role at the current node, whether it is headend,
transit or tailend.