Open jflemer-ndp opened 9 years ago
A simple fix could be to just try
/ except
around lines 114 and 115 (i.e. do not set speed and duplex for aggregated interfaces). More involved would be to also grab the output from dladm show-aggr -L
, to get the first physical interface in the aggregation, and use that to find the speed and duplex.
When a host has an aggregated interface configure, the ifconfig modeler fails (throws an exception):
For reference, here is the raw command output from the command in the
ifconfig.py
:And of interest, here is the output of
/usr/sbin/dladm show-aggr -L
: