Method: addRoleMapping

Add an IP or MAC role mapping to the specified switches.

Parameters

Name Type Description
station string IP/MAC address to add
role string Role name to map station to
devices string IP address of the switches

Returns

The operation returns an integer error code.

Error Code Description
0 Operation successful
1 General error
2 Truststore missing
3 Bad parameters
4 Timeout
5 Connection refused
6 Connection reset
7 No server
8 Unauthorized transport
9 Server communication failed
10 Policy domain lock failure
11 Policy domain save failure
12 Nonvolatile mapping exists
13 Mapping role not found
14 Mapping unknown device