Implement IPMI Network Settings Override
Adding the network config data
Fixes openbmc/openbmc#267
Change-Id: If6973c04714d6357e5da9887e3ec5f0c1aa04900
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
diff --git a/settings.yaml b/settings.yaml
index ccf1db0..0fb61ba 100644
--- a/settings.yaml
+++ b/settings.yaml
@@ -28,4 +28,7 @@
name: boot_policy
type: s
default: "ONETIME"
-
+ networkconfig:
+ name: network_config
+ type: s
+ default: "ipaddress=,prefix=,gateway=,mac=,addr_type="
diff --git a/settings_file.py b/settings_file.py
index 6b46a65..f36be98 100644
--- a/settings_file.py
+++ b/settings_file.py
@@ -6,6 +6,10 @@
'bootpolicy': {'default': 'ONETIME',
'name': 'boot_policy',
'type': 's'},
+ 'networkconfig': {'default':
+ 'ipaddress=,prefix=,gateway=,mac=,addr_type=',
+ 'name': 'network_config',
+ 'type': 's'},
'powercap': {'default': 0,
'max': 1000,
'min': 0,