Added NS subscription to html_out
Added Ns subscription url to html_out.
Since in html there was no explict link for favicon.ico, browser by
default makes GET request to /favicon.ico NBI reponse was 404.
Added OSM favicon.ico and gave explicit link to static folder.
Change-Id: Id0088ca09bfc5000e487ab44ac678fab49919c37
Signed-off-by: K Sai Kiran <saikiran.k@tataelxsi.co.in>
diff --git a/osm_nbi/html_out.py b/osm_nbi/html_out.py
index 82362ec..b344aff 100644
--- a/osm_nbi/html_out.py
+++ b/osm_nbi/html_out.py
@@ -26,7 +26,8 @@
<html>
<head>
<link href="/osm/static/style.css" rel="stylesheet">
-<title>Welcome to OSM</title>
+ <title>Welcome to OSM</title>
+ <link rel="shortcut icon" href="/osm/static/favicon.ico">
</head>
<body>
<div id="osm_topmenu">
@@ -48,6 +49,7 @@
<a href="/osm/admin/v1/sdns">SDNs </a>
<a href="/osm/admin/v1/k8sclusters">K8s_clusters </a>
<a href="/osm/admin/v1/k8srepos">K8s_repos </a>
+ <a href="/osm/nslcm/v1/subscriptions">NS_Subs </a>
<a href="/osm/admin/v1/tokens?METHOD=DELETE">logout </a>
</div>
</div>
@@ -71,6 +73,7 @@
<head><META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="/osm/static/style.css" rel="stylesheet">
<title>OSM Login</title>
+ <link rel="shortcut icon" href="/osm/static/favicon.ico">
</head>
<body>
<div id="osm_header">
diff --git a/osm_nbi/html_public/favicon.ico b/osm_nbi/html_public/favicon.ico
new file mode 100644
index 0000000..c588094
--- /dev/null
+++ b/osm_nbi/html_public/favicon.ico
Binary files differ