Skip to content

Commit

Permalink
Added autotest for counters in shared memory
Browse files Browse the repository at this point in the history
  • Loading branch information
stal76 authored and GeorgyKirichenko committed Sep 18, 2024
1 parent 1cb5dcf commit 6d8e640
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
steps:
- cli: "telegraf counters"
- cli: "telegraf bus"
- cli: "bus errors"
- cli: "bus requests"
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"modules": {
"lp0.100": {
"type": "logicalPort",
"physicalPort": "kni0",
"vlanId": "100",
"macAddress": "00:11:22:33:44:55",
"nextModule": "vrf0"
},
"lp0.200": {
"type": "logicalPort",
"physicalPort": "kni0",
"vlanId": "200",
"macAddress": "00:11:22:33:44:55",
"nextModule": "vrf0"
},
"vrf0": {
"type": "route",
"interfaces": {
"kni0.100": {
"nextModule": "lp0.100"
},
"kni0.200": {
"ipv4Prefix": "200.0.0.2/24",
"neighborIPv4Address": "200.0.0.1",
"neighborMacAddress": "00:00:00:11:11:11",
"nextModule": "lp0.200"
}
}
}
}
}
1 change: 1 addition & 0 deletions autotest/yanet-autotest-run.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ def start(self, dataplane_conf_path, units):
os.makedirs("/run/yanet", exist_ok=True)

self.run_dataplane(dataplane_conf_path)
time.sleep(5)
self.run_controlplane()
self.run_autotest(units)

Expand Down

0 comments on commit 6d8e640

Please sign in to comment.