Skip to content

Commit

Permalink
Merge pull request #58 from srl-labs/24.7.1
Browse files Browse the repository at this point in the history
24.7.1
  • Loading branch information
hellt authored Jul 26, 2024
2 parents 1f1d3ec + 1d163ca commit 157a5c5
Show file tree
Hide file tree
Showing 30 changed files with 493,520 additions and 3 deletions.
8 changes: 6 additions & 2 deletions refer/all.clab.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: all
topology:
defaults:
image: ghcr.io/nokia/srlinux:${SRL_VERSION:-23.3.2}
image: ghcr.io/nokia/srlinux:${SRL_VERSION:-24.7.1}
kind: nokia_srlinux
license: ${LIC_PATH:-/opt/nokia/srl/24-3.lic}
license: ${LIC_PATH:-/opt/nokia/srl/24-7.lic}
nodes:
7220-IXR-D1:
type: ixrd1
Expand Down Expand Up @@ -33,3 +33,7 @@ topology:
type: ixr10
7250-IXR-10e:
type: ixr10e
7250-IXR-X3b:
type: ixrx3b
7250-IXR-X1b:
type: ixrx1b
2 changes: 1 addition & 1 deletion refer/extract-features.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ sudo -E containerlab deploy -c -t ./refer/all.clab.yml
# remove all json files that might be there from previous extraction
rm -f ${FEATURES_DIR}/*.json

for node in "7220-IXR-D1" "7220-IXR-D2" "7220-IXR-D2L" "7220-IXR-D3" "7220-IXR-D3L" "7220-IXR-D4" "7220-IXR-D5" "7220-IXR-H2" "7220-IXR-H3" "7220-IXR-H4" "7250-IXR-6" "7250-IXR-6e" "7250-IXR-10" "7250-IXR-10e"
for node in "7220-IXR-D1" "7220-IXR-D2" "7220-IXR-D2L" "7220-IXR-D3" "7220-IXR-D3L" "7220-IXR-D4" "7220-IXR-D5" "7220-IXR-H2" "7220-IXR-H3" "7220-IXR-H4" "7250-IXR-6" "7250-IXR-6e" "7250-IXR-10" "7250-IXR-10e" "7250-IXR-X1b" "7250-IXR-X3b"
do
docker exec clab-all-${node} sr_cli 'info from state system features | as json' | jq .system.features >> ${FEATURES_DIR}/${node}.json &
done
Expand Down
3 changes: 3 additions & 0 deletions src/lib/releases.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v24.7.1:
openconfig: true
features: true
v24.3.3:
openconfig: true
features: true
Expand Down
16 changes: 16 additions & 0 deletions static/releases/v24.7.1/features.txt

Large diffs are not rendered by default.

187 changes: 187 additions & 0 deletions static/releases/v24.7.1/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,187 @@
<html lang="en">

<head>
<meta charset="utf-8">
<meta name="author" content="Siva Sivakumar">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Nokia SR Linux YANG Model</title>
<link rel="icon" href="../../images/srlinux.svg">
<link rel="stylesheet" href="../../css/index.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Fira+Code&display=swap">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css">
<script defer src="https://use.fontawesome.com/releases/v5.14.0/js/all.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdn.datatables.net/1.10.13/js/jquery.dataTables.js"></script>
<script src="https://cdn.datatables.net/colreorder/1.5.5/js/dataTables.colReorder.min.js"></script>
<script src="../../js/datatables.mark.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-NB34K69ZRD"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());

gtag('config', 'G-NB34K69ZRD');
</script>
</head>

<body>
<div class="tag is-rounded is-info is-hidden" id="c2c">Path link copied to clipboard!</div>
<div class="hero is-normal has-header-img">
<div class="hero-head">
<div class="container">
<nav class="level is-mobile pt-3">
<div class="level-left"></div>
<div class="level-right">
<div class="level-item">
<div class="buttons is-right">
<a class="button is-link is-small is-rounded is-outlined has-text-weight-semibold" href="./openconfig/">
OpenConfig Model
</a>
<a class="button is-dark is-small is-rounded" href="https://learn.srlinux.dev/yang/browser/">
<i class="fas fa-question"></i>
</a>
<a class="button is-dark is-small is-rounded" href="../../">
<i class="fas fa-home"></i>
</a>
</div>
</div>
</div>
</nav>
</div>
</div>
<div class="hero-body">
<div class="container">
<p class="title"><img src="../../images/nblue.png" width="100" /></p>
<h3 class="title is-3 has-text-weight-light" id="title">
SR Linux <span id="version"></span> YANG Model
</h3>
</div>
</div>
<div class="hero-footer">
<nav class="tabs is-right">
<div class="container">
<ul>
<li>
<a class="has-text-link" href="./tree.html" target="_blank">
<span class="icon"><i class="far fa-file-code"></i></span>
<span>Tree Browser</span>
</a>
</li>
<li>|</li>
<li>
<a class="has-text-link" href="./tree.txt" target="_blank">
<span class="icon"><i class="fas fa-code-branch"></i></span>
<span>Tree</span>
</a>
</li>
<li>|</li>
<li>
<a class="has-text-link" href="./paths.txt" target="_blank">
<span class="icon"><i class="far fa-file-alt"></i></span>
<span>Paths</span>
</a>
</li>
<li>|</li>
<li>
<a class="has-text-link" href="https://github.com/nokia/srlinux-yang-models/tree/" target="_blank" id="source">
<span class="icon"><i class="fab fa-github"></i></span>
<span>Source</span>
</a>
</li>
</ul>
</div>
</nav>
</div>
</div>
<div class="hero is-small">
<div class="hero-body">
<div class="container">
<h4 class="title is-5 has-text-nokia-blue">Path Browser</h4>
<p id="message">
<progress class="progress is-small is-primary" max="100">15%</progress>
</p>
<div class="is-hidden" id="yangModel">
<div class="field">
<p class="control">
<input class="input has-font-nokia" id="customSearch" type="text" placeholder="Search by State / Path / Type...">
</p>
</div>
<div class="control mt-3">
<label class="radio"><input type="radio" name="pathType" onclick="toggleFilter(this)" value="na" checked> All</label>
<label class="radio"><input type="radio" name="pathType" onclick="toggleFilter(this)" value="true"> State</label>
<label class="radio"><input type="radio" name="pathType" onclick="toggleFilter(this)" value="false"> Config</label>
</div>
<div class="mt-3">
<label class="button is-rounded is-small"><input type="checkbox" onclick="showPrefix()" id="hidePrefixCheck">&nbsp; Show prefix</label>
<button class="button is-rounded is-small is-hidden" id="moreFilters" onclick="toggleNodeFeature()">
<span class="icon"><i class="fas fa-plus"></i></span>
<span>Filters</span>
</button>
</div>
<div class="mt-5 is-hidden" id="nodeAndFeature">
<div class="columns">
<div class="column is-narrow">
<nav class="panel">
<p class="panel-heading is-size-6">Platform</p>
<div class="panel-block">
<p class="control">
<input class="input is-small" type="text" placeholder="Search" id="nodeSearch" onkeyup="searchPanel('node')">
</p>
</div>
<div class="panel-container" id="nodeList"></div>
<div class="panel-block">
<button class="button is-small is-link is-light is-fullwidth" onclick="resetChecks()">Reset</button>
</div>
</nav>
</div>
<div class="column is-narrow">
<nav class="panel">
<p class="panel-heading is-size-6">Features</p>
<div class="panel-block">
<p class="control">
<input class="input is-small" type="text" placeholder="Search" id="featureSearch" onkeyup="searchPanel('feature')">
</p>
</div>
<div class="panel-container" id="featureList"></div>
<div class="panel-block">
<button class="button is-small is-link is-light is-fullwidth" onclick="resetChecks()">Reset</button>
</div>
</nav>
</div>
</div>
<p class="help"><strong>Note:</strong> Platform selection overrides already selected Features (if any)</p>
</div>
<table class="table is-hoverable is-fullwidth" id="myTable">
<thead>
<tr>
<th>State</th>
<th>Path</th>
<th>Path</th>
<th>Type</th>
</tr>
</thead>
<tbody style="cursor: pointer;"></tbody>
</table>
</div>
</div>
</div>
</div>
<div id="created" class="hero is-small">
<div class="hero-body">
<div class="container has-text-centered is-fluid">
<p>Created by
<a class="has-text-link" href="https://www.linkedin.com/in/siva19susi" target="_blank">Siva Sivakumar</a> /
<a class="has-text-link" href="https://www.linkedin.com/in/rdodin" target="_blank">Roman Dodin</a> /
<a class="has-text-link" href="https://github.com/srl-labs" target="_blank"><i class="fab fa-github"></i>
srl-labs</a>
</p>
</div>
</div>
</div>
<script src="../../js/index.js"></script>
</body>

</html>
Loading

0 comments on commit 157a5c5

Please sign in to comment.