summaryrefslogtreecommitdiffstats
path: root/app/configuration/controllers/snmp-controller.html
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2018-08-24 15:49:09 -0500
committerGunnar Mills <gmills@us.ibm.com>2018-09-10 14:49:22 +0000
commitff64c54a93aaf1ffb4df4b2d4c16c392d869f533 (patch)
treeb00835006e1bdff7819c23da41f543aef6ec4b74 /app/configuration/controllers/snmp-controller.html
parent6add8325ebf5c04731aa14ea4233de51fa897ef4 (diff)
downloadphosphor-webui-ff64c54a93aaf1ffb4df4b2d4c16c392d869f533.tar.gz
phosphor-webui-ff64c54a93aaf1ffb4df4b2d4c16c392d869f533.zip
Create new SNMP Settings page
Created new page to display SNMP Managers. Display the SNMP Manager's IP and port. https://github.com/openbmc/phosphor-snmp/blob/master/docs/snmp-configuration.md Future commits will allow the user to add and delete SNMP managers. Change-Id: Ia5d633c11728a580c06b25c412e8673925cdc597 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'app/configuration/controllers/snmp-controller.html')
-rw-r--r--app/configuration/controllers/snmp-controller.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/app/configuration/controllers/snmp-controller.html b/app/configuration/controllers/snmp-controller.html
new file mode 100644
index 0000000..001aae6
--- /dev/null
+++ b/app/configuration/controllers/snmp-controller.html
@@ -0,0 +1,19 @@
+<loader loading="loading"></loader>
+<div id="configuration-snmp">
+ <div class="row column">
+ <h1>SNMP settings</h1>
+ </div>
+ <form class="snmp__form" role="form" action="">
+ <section class="row column">
+ <div class="page-header">
+ <h2 class="bold h4">SNMP information</h2>
+ </div>
+ <fieldset>
+ <div class="snmp__managers" ng-repeat="manager in managers track by $index">
+ <label>SNMP Manager {{$index+1}}</label>
+ <field>{{manager.Address}}:{{manager.Port}}</field>
+ </div>
+ </fieldset>
+ </section>
+ </form>
+</div>
OpenPOWER on IntegriCloud