Skip to content

Commit

Permalink
commit with tag nightly-25.01.09
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Jan 6, 2025
1 parent 676d4b5 commit 9c04315
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 6 deletions.
4 changes: 2 additions & 2 deletions dist/html-static/js/dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -2065,7 +2065,7 @@ async function linkImpairmentClab(event, impairDirection) {
corruption
} = getValues("a");
const command = deploymentType === "container" ?
`ssh ${clabUser}@${clabServerAddress} /usr/bin/containerlab tools netem set -n ${clabSourceLongName} -i ${clabSourcePort} --delay ${delay}ms --jitter ${jitter}ms --rate ${rate} --loss ${loss} --corruption ${corruption}` :
`/usr/bin/containerlab tools netem set -n ${clabSourceLongName} -i ${clabSourcePort} --delay ${delay}ms --jitter ${jitter}ms --rate ${rate} --loss ${loss} --corruption ${corruption}` :
`/usr/bin/containerlab tools netem set -n ${clabSourceLongName} -i ${clabSourcePort} --delay ${delay}ms --jitter ${jitter}ms --rate ${rate} --loss ${loss} --corruption ${corruption}`;

console.info(`linkImpairment - deployment ${deploymentType}, command: ${command}`);
Expand All @@ -2081,7 +2081,7 @@ async function linkImpairmentClab(event, impairDirection) {
corruption
} = getValues("b");
const command = deploymentType === "container" ?
`ssh ${clabUser}@${clabServerAddress} /usr/bin/containerlab tools netem set -n ${clabTargetLongName} -i ${clabTargetPort} --delay ${delay}ms --jitter ${jitter}ms --rate ${rate} --loss ${loss} --corruption ${corruption}` :
`/usr/bin/containerlab tools netem set -n ${clabTargetLongName} -i ${clabTargetPort} --delay ${delay}ms --jitter ${jitter}ms --rate ${rate} --loss ${loss} --corruption ${corruption}` :
`/usr/bin/containerlab tools netem set -n ${clabTargetLongName} -i ${clabTargetPort} --delay ${delay}ms --jitter ${jitter}ms --rate ${rate} --loss ${loss} --corruption ${corruption}`;

console.info(`linkImpairment - deployment ${deploymentType}, command: ${command}`);
Expand Down
Binary file modified dist/topoviewer
Binary file not shown.
4 changes: 4 additions & 0 deletions go_cloudshellwrapper/cmdClab.go
Original file line number Diff line number Diff line change
Expand Up @@ -280,9 +280,13 @@ func Clab(_ *cobra.Command, _ []string) error {
}
workingDirectory = path.Join(wd, workingDirectory)
}

deploymentType := confClab.GetString("deployment-type")

clabServerAddress := confClab.GetString("clab-server-address")
if clabServerAddress == "" {
clabServerAddress = allowedHostnames[0]
}

// log.Infof("topology file path : '%s'", workingDirectory+"/"+topoClab)
log.Infof("====== Start up Parameter ======")
Expand Down
2 changes: 1 addition & 1 deletion go_cloudshellwrapper/constants.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package cloudshellwrapper

var VersionInfo string = "nightly-25.01.08"
var VersionInfo string = "nightly-25.01.09"

// create html-public files
var HtmlPublicPrefixPath string = "./html-public/"
Expand Down
2 changes: 1 addition & 1 deletion go_cloudshellwrapper/constants.go.bak
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package cloudshellwrapper

var VersionInfo string = "nightly-25.01.07"
var VersionInfo string = "nightly-25.01.08"

// create html-public files
var HtmlPublicPrefixPath string = "./html-public/"
Expand Down
4 changes: 2 additions & 2 deletions html-static/js/dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -2065,7 +2065,7 @@ async function linkImpairmentClab(event, impairDirection) {
corruption
} = getValues("a");
const command = deploymentType === "container" ?
`ssh ${clabUser}@${clabServerAddress} /usr/bin/containerlab tools netem set -n ${clabSourceLongName} -i ${clabSourcePort} --delay ${delay}ms --jitter ${jitter}ms --rate ${rate} --loss ${loss} --corruption ${corruption}` :
`/usr/bin/containerlab tools netem set -n ${clabSourceLongName} -i ${clabSourcePort} --delay ${delay}ms --jitter ${jitter}ms --rate ${rate} --loss ${loss} --corruption ${corruption}` :
`/usr/bin/containerlab tools netem set -n ${clabSourceLongName} -i ${clabSourcePort} --delay ${delay}ms --jitter ${jitter}ms --rate ${rate} --loss ${loss} --corruption ${corruption}`;

console.info(`linkImpairment - deployment ${deploymentType}, command: ${command}`);
Expand All @@ -2081,7 +2081,7 @@ async function linkImpairmentClab(event, impairDirection) {
corruption
} = getValues("b");
const command = deploymentType === "container" ?
`ssh ${clabUser}@${clabServerAddress} /usr/bin/containerlab tools netem set -n ${clabTargetLongName} -i ${clabTargetPort} --delay ${delay}ms --jitter ${jitter}ms --rate ${rate} --loss ${loss} --corruption ${corruption}` :
`/usr/bin/containerlab tools netem set -n ${clabTargetLongName} -i ${clabTargetPort} --delay ${delay}ms --jitter ${jitter}ms --rate ${rate} --loss ${loss} --corruption ${corruption}` :
`/usr/bin/containerlab tools netem set -n ${clabTargetLongName} -i ${clabTargetPort} --delay ${delay}ms --jitter ${jitter}ms --rate ${rate} --loss ${loss} --corruption ${corruption}`;

console.info(`linkImpairment - deployment ${deploymentType}, command: ${command}`);
Expand Down

0 comments on commit 9c04315

Please sign in to comment.