diff options
author | Ratan Gupta <ratagupt@in.ibm.com> | 2016-08-01 07:06:07 -0500 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2016-09-02 03:30:35 +0000 |
commit | 6710772692f3bedecea498a6a40e683aab6b0d3f (patch) | |
tree | 3296e897c4991ec54299600119e2a57b8a049b0f | |
parent | 2cbef3dc906adccd8aeba7a1fdcde27b828415da (diff) | |
download | phosphor-settingsd-6710772692f3bedecea498a6a40e683aab6b0d3f.tar.gz phosphor-settingsd-6710772692f3bedecea498a6a40e683aab6b0d3f.zip |
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>
-rw-r--r-- | settings.yaml | 5 | ||||
-rw-r--r-- | settings_file.py | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/settings.yaml b/settings.yaml index ccf1db0..0fb61ba 100644 --- a/settings.yaml +++ b/settings.yaml @@ -28,4 +28,7 @@ host: 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 @@ SETTINGS=\ '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, |