diff --git a/inventory_provider/static/juniper.html b/inventory_provider/static/juniper.html index 5ed7fab8ff687e8d874bd8c9746ad312b848d967..112984e5dd505f9ec9d47ed9137a6a2ed0594a02 100644 --- a/inventory_provider/static/juniper.html +++ b/inventory_provider/static/juniper.html @@ -27,15 +27,33 @@ <div class="column"> <p><b>interfaces</b></p> - {{interfaces}} + <ul> + <li ng-repeat="i in interfaces">{{i.name}} + <ul><li>{{i.description}}</li></ul> + </li> + </ul> + <div class="raw">{{interfaces}}</div> </div> <div class="column"> <p><b>bgp</b></p> - {{bgp}} + <ul> + <li ng-repeat="p in bgp">{{p.description}} + <ul> + <li>local as: {{p.as.local}}</li> + <li>peer as: {{p.as.peer}}</li> + </ul> + </li> + </ul> + <div class="raw">{{bgp}}</div> </div> <div class="column"> <p><b>snmp</b></p> - {{snmp}} + <ul> + <li ng-repeat="i in snmp">{{i.name}} + <ul><li>index: {{i.index}}</li></ul> + </li> + </ul> + <div class="raw">{{snmp}}</div> </div> </div> </body> diff --git a/inventory_provider/static/style.css b/inventory_provider/static/style.css index e37a1f87faa0c36404f97a9401171d926c179f29..a72ff44af879d3d178cce21668484bca5bae43fa 100644 --- a/inventory_provider/static/style.css +++ b/inventory_provider/static/style.css @@ -8,4 +8,10 @@ content: ""; display: table; clear: both; +} + +.raw { + font-style: italic; + font-size: 10px; + font-family: Courier } \ No newline at end of file