[PATCH phosphor-settingsd v2] Implement IPMI Network Settings Override

OpenBMC Patches openbmc-patches at stwcx.xyz
Tue Jun 7 04:10:47 AEST 2016


From: ratagupt <ratagupt at in.ibm.com>

---
 settings.yaml    | 7 +++++--
 settings_file.py | 3 +++
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/settings.yaml b/settings.yaml
index ccf1db0..c52ffce 100644
--- a/settings.yaml
+++ b/settings.yaml
@@ -23,9 +23,12 @@ host:
     restrictedmode:
         name: restricted_mode
         type: b
-        default: false
+        default: false 
     bootpolicy:
         name: boot_policy
         type: s
         default: "ONETIME"
-
+    networkconfig:
+        name: network_config
+        type: s
+        default: "ipaddress=0.0.0.0,prefix=0,gateway=0.0.0.0,mac=00:00:00:00:00:00,dhcp=0" 
diff --git a/settings_file.py b/settings_file.py
index 6b46a65..eaf4d60 100644
--- a/settings_file.py
+++ b/settings_file.py
@@ -6,6 +6,9 @@ SETTINGS=\
           'bootpolicy': {'default': 'ONETIME',
                          'name': 'boot_policy',
                          'type': 's'},
+          'networkconfig': {'default': 'ipaddress=0.0.0.0,prefix=0,gateway=0.0.0.0,mac=00:00:00:00:00:00,dhcp=0',
+                            'name': 'network_config',
+                            'type': 's'},
           'powercap': {'default': 0,
                        'max': 1000,
                        'min': 0,
-- 
2.8.3




More information about the openbmc mailing list