Skip to content

Commit

Permalink
Add real test data for IOS-XR and Arista EOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathieu Poussin committed Apr 24, 2020
1 parent d9b2ac4 commit 6ad0783
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
6 changes: 3 additions & 3 deletions tests/data/arista_eos.json
Expand Up @@ -5228,9 +5228,9 @@
"context_name": "",
"bgpLocalAs": 65000,
"vrfLocalAs": null,
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null
"bgpPeerLastErrorCode": 0,
"bgpPeerLastErrorSubCode": 0,
"bgpPeerLastErrorText": "Cease/administrative shutdown"
},
{
"astext": "",
Expand Down
6 changes: 3 additions & 3 deletions tests/data/iosxr.json
Expand Up @@ -1519,9 +1519,9 @@
"context_name": "",
"bgpLocalAs": 65351,
"vrfLocalAs": null,
"bgpPeerLastErrorCode": null,
"bgpPeerLastErrorSubCode": null,
"bgpPeerLastErrorText": null
"bgpPeerLastErrorCode": 6,
"bgpPeerLastErrorSubCode": 2,
"bgpPeerLastErrorText": "administrative shutdown"
},
{
"astext": "",
Expand Down
3 changes: 3 additions & 0 deletions tests/snmpsim/arista_eos.snmprec
Expand Up @@ -2998,6 +2998,9 @@
1.3.6.1.4.1.30065.4.1.1.2.1.12.1.2.16.32.1.5.80.0.2.0.47.0.0.0.0.0.51.0.1|2|2
1.3.6.1.4.1.30065.4.1.1.2.1.13.1.1.4.192.168.0.2|2|6
1.3.6.1.4.1.30065.4.1.1.2.1.13.1.2.16.32.1.5.80.0.2.0.47.0.0.0.0.0.51.0.1|2|6
1.3.6.1.4.1.30065.4.1.1.3.1.1.1.1.4.192.168.0.2|66|0
1.3.6.1.4.1.30065.4.1.1.3.1.2.1.1.4.192.168.0.2|66|0
1.3.6.1.4.1.30065.4.1.1.3.1.4.1.1.4.192.168.0.2|4|Cease/administrative shutdown
1.3.6.1.4.1.30065.4.1.1.4.1.1.1.1.4.192.168.0.2|66|13090321
1.3.6.1.4.1.30065.4.1.1.4.1.1.1.2.16.32.1.5.80.0.2.0.47.0.0.0.0.0.51.0.1|66|1551697
1.3.6.1.4.1.30065.4.1.1.4.1.2.1.1.4.192.168.0.2|66|4
Expand Down
2 changes: 2 additions & 0 deletions tests/snmpsim/iosxr.snmprec
Expand Up @@ -4499,6 +4499,7 @@
1.3.6.1.4.1.9.9.187.1.2.5.1.16.2.16.253.52.210.172.67.39.97.147.0.0.0.0.0.0.0.2|65|1976610
1.3.6.1.4.1.9.9.187.1.2.5.1.16.2.16.253.226.139.90.220.69.226.103.0.0.0.0.0.0.0.2|65|98826325
1.3.6.1.4.1.9.9.187.1.2.5.1.16.2.16.253.226.139.90.220.69.226.103.0.0.0.0.0.0.0.3|65|98826348
1.3.6.1.4.1.9.9.187.1.2.5.1.17.1.4.192.168.5.149|4x|0602
1.3.6.1.4.1.9.9.187.1.2.5.1.19.1.4.192.168.5.149|66|1308186
1.3.6.1.4.1.9.9.187.1.2.5.1.19.1.4.192.168.7.43|66|1308119
1.3.6.1.4.1.9.9.187.1.2.5.1.19.1.4.192.168.7.155|66|1308138
Expand Down Expand Up @@ -4567,6 +4568,7 @@
1.3.6.1.4.1.9.9.187.1.2.5.1.27.2.16.253.52.210.172.67.39.97.147.0.0.0.0.0.0.0.2|66|470
1.3.6.1.4.1.9.9.187.1.2.5.1.27.2.16.253.226.139.90.220.69.226.103.0.0.0.0.0.0.0.2|66|59348951
1.3.6.1.4.1.9.9.187.1.2.5.1.27.2.16.253.226.139.90.220.69.226.103.0.0.0.0.0.0.0.3|66|59348952
1.3.6.1.4.1.9.9.187.1.2.5.1.28.1.4.192.168.5.149|4|administrative shutdown
1.3.6.1.4.1.9.9.187.1.2.8.1.1.1.4.192.168.5.149.1.1|65|18418
1.3.6.1.4.1.9.9.187.1.2.8.1.1.1.4.192.168.5.149.1.2|65|2334
1.3.6.1.4.1.9.9.187.1.2.8.1.1.1.4.192.168.7.43.1.1|65|0
Expand Down

0 comments on commit 6ad0783

Please sign in to comment.