Skip to content

Commit

Permalink
Merge branch 'nested-release' into nested/2020.1
Browse files Browse the repository at this point in the history
  • Loading branch information
networkRob-Arista committed Oct 29, 2020
2 parents 31c4f22 + 9531768 commit af201b6
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 12 deletions.
5 changes: 3 additions & 2 deletions nested-labvm/atd-docker/uilanding/src/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@

<!-- Custom styles for this template -->
<link href="css/simple-sidebar.css" rel="stylesheet">
<script src="js/atd.js"></script>

</head>

<body>
<body onload="updateCVP();">
<div id="wrapper" class="toggled">

<!-- Sidebar -->
Expand All @@ -33,7 +34,7 @@
<a href="/guacamole" target="_blank">Lab Frontend</a>
</li>
<li>
<a href="https://{{ PUBLIC_IP }}" target="_blank">CVP</a>
<div id="cvp_link"></div>
</li>
<li>
<a href="/jenkins" target="_blank">Jenkins</a>
Expand Down
5 changes: 5 additions & 0 deletions nested-labvm/atd-docker/uilanding/src/html/js/atd.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
var atdHostname = window.location.hostname;

function updateCVP() {
document.getElementById("cvp_link").innerHTML = '<a href="https://' + atdHostname + '" target="_blank">CVP</a>';
}
4 changes: 1 addition & 3 deletions nested-labvm/atd-docker/uilanding/src/uilanding.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,9 @@ def get(self):
self.redirect('/login')
return()
else:
node_ip = getPublicIP()
self.render(
BASE_PATH + 'index.html',
ARISTA_PWD=host_yaml['login_info']['jump_host']['pw'],
PUBLIC_IP=node_ip
ARISTA_PWD=host_yaml['login_info']['jump_host']['pw']
)

# ===============================
Expand Down
14 changes: 7 additions & 7 deletions topologies/base_topo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ topologies:
ram: 60
cvp:
2020.1:
branch: v2020.1.20201016a
image: base-atd-datacenter-e4-24-1f-c2020-1-1-20200909-u
branch: v2020.1-20201029a
image: base-atd-datacenter-e4-24-1f-c2020-1-1-20201029-u
eos:
- 4.24.1F
desc: 'Two Spines, Four Leafs. Focused on EOS fundamentals within the Data Center.'
Expand All @@ -58,7 +58,7 @@ topologies:
- 4.24.1F
2020.2:
branch: nested-release
image: base-atd-routing-e4-24-2-1f-c2020-2-1-20200911
image: base-atd-routing-e4-24-2-1f-c2020-2-1-20201029-u
eos:
- 4.24.2.1F
ceos:
Expand All @@ -77,8 +77,8 @@ topologies:
ram: 90
cvp:
2020.1:
branch: v2020.1.20201016a
image: base-atd-routing-e4-24-1f-c2020-1-1-20200701-u
branch: v2020.1-20201029a
image: base-atd-routing-e4-24-1f-c2020-1-1-20201029-u
eos:
- 4.24.1F
desc: 'Twenty nodes. Focused on advanced routing, L2VPN and L3VPN topics'
Expand All @@ -101,8 +101,8 @@ topologies:
ram: 72
cvp:
2020.1:
branch: v2020.1.20201016a
image: base-training-e4-24-1f-c2020-1-1-20200916-u
branch: v2020.1-20201029a
image: base-training-e4-24-1f-c2020-1-1-20201029-u
eos:
- 4.24.1F
desc: 'Four Spines, Four Leafs. For use by the Arista Training Team.'
Expand Down

0 comments on commit af201b6

Please sign in to comment.