-
Committer:
Ryan Harper
-
Date:
2016-06-17 15:00:09 UTC
-
Revision ID:
ryan.harper@canonical.com-20160617150009-vl6wwb0lk284zqu8
smartos: update sdc:nics json conversion to network config
Update sdc:nics json conversion to network yaml.
- 'primary' key is a boolean, when true, the 'gateways' key is to be used
- a nic may not include a 'gateways' key
- 'ips' list may include 'dhcp'
- values in 'ips' are in CIDR notation, drop/ignore netmask values
Add additional test-cases for coverage.