Implement Get channel access command

The get channel access command is implemented to support the set
channel access command. The set channel access command is used to
apply the network settings. Before the set channel access is issued
ipmitool issues get channel access command to get all the fields and
then copy into the buffer for set channel access. This would enable
the following ipmitool command.

ipmitool lan set 1 access on

There is no backend support for these settings and values are
hardcoded in the command implementation.

Resolves openbmc/openbmc#1565

Change-Id: I6c7b2ca7971155b90914ab5b68ab3038bfaba185
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
2 files changed