From afc075a8c392f1122512a095635c4fb80c03c997 Mon Sep 17 00:00:00 2001
From: Erik Reid <erik.reid@geant.org>
Date: Sat, 5 Jan 2019 16:57:21 +0100
Subject: [PATCH] show v4/v6 interface addresses

---
 inventory_provider/static/juniper.html | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/inventory_provider/static/juniper.html b/inventory_provider/static/juniper.html
index 5ccb2532..80e70c60 100644
--- a/inventory_provider/static/juniper.html
+++ b/inventory_provider/static/juniper.html
@@ -20,7 +20,11 @@
         <p><b>interfaces</b></p>
         <ul>
           <li ng-repeat="i in interfaces">{{i.name}}
-            <ul><li>{{i.description}}</li></ul>
+            <ul>
+              <li>{{i.description}}</li>
+              <li ng-repeat="v4 in i.ipv4">v4: {{v4}}</li>
+              <li ng-repeat="v6 in i.ipv6">v6: {{v6}}</li>
+            </ul>
           </li>
         </ul>
         <div class="raw">{{interfaces}}</div>
-- 
GitLab