path: root/discover/platform.c
diff options
authorNishanth Aravamudan <>2015-08-19 14:05:05 -0700
committerSamuel Mendoza-Jonas <>2015-12-18 13:06:53 +1100
commit32d3249e252fe201eb81155cbf3b800ce5cf88e0 (patch)
treeb5666989c2906d1a923d297f01208fb01ed8abbb /discover/platform.c
parent45e9e7a53540e87e2129bb11fd853501131fb795 (diff)
ui: add URL for static configurations to load a specified file
In certain configurations, e.g. automation, we want to use static networking but load a particular file, automatically and parse it as a pxelinux config file. Currently, we support something like this for DHCP based booting, but not static. Add a URL field to the UI for static configurations and reuse the logic from device_handler_process_url() to load the specified file. Signed-off-by: Nishanth Aravamudan <> Signed-off-by: Samuel Mendoza-Jonas <>
Diffstat (limited to 'discover/platform.c')
1 files changed, 1 insertions, 0 deletions
diff --git a/discover/platform.c b/discover/platform.c
index 5f448f1..fc0930d 100644
--- a/discover/platform.c
+++ b/discover/platform.c
@@ -60,6 +60,7 @@ static void dump_config(struct config *config)
pb_log(" static:\n");
pb_log(" ip: %s\n", ifconf->static_config.address);
pb_log(" gw: %s\n", ifconf->static_config.gateway);
+ pb_log(" url: %s\n", ifconf->static_config.url);
OpenPOWER on IntegriCloud