[PATCH phosphor-settingsd] Implement IPMI Network Settings Override

OpenBMC Patches openbmc-patches at stwcx.xyz
Mon Jun 6 19:10:46 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..34ae707 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=1.1.1.1,prefix=16,gateway=2.2.2.2,mac=11:22:33:44:55:66,dhcp=0" 
diff --git a/settings_file.py b/settings_file.py
index 6b46a65..ff6d242 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=1.1.1.1,prefix=16,gateway=2.2.2.2,mac=11:22:33:44:55:66,dhcp=0',
+                            'name': 'network_config',
+                            'type': 's'},
           'powercap': {'default': 0,
                        'max': 1000,
                        'min': 0,
-- 
2.8.3




More information about the openbmc mailing list