forked from openconfig/featureprofiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'openconfig:main' into main
- Loading branch information
Showing
225 changed files
with
14,820 additions
and
3,204 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: NOSImage validation script | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
schedule: | ||
- cron: "49 0 * * *" | ||
|
||
jobs: | ||
integration-test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v3 | ||
- name: Set up Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: stable | ||
cache: false | ||
- name: Generate Examples and Check No Diff | ||
run: | | ||
cd tools/nosimage | ||
go run example/generate_example.go -file-path example/example_nosimageprofile.textproto | ||
go run example/generate_example.go -file-path example/example_nosimageprofile_invalid.textproto -invalid | ||
git diff --exit-code --ignore-all-space --ignore-blank-lines | ||
- name: Validate Good Example | ||
run: | | ||
cd tools/nosimage | ||
go run validate/validate.go -file example/example_nosimageprofile.textproto; rm -rf tmp | ||
- name: Validate Bad Example | ||
run: | | ||
cd tools/nosimage | ||
if go run validate/validate.go -file example/example_nosimageprofile_invalid.textproto; then | ||
echo "Validation passed, but failure expected" | ||
exit 1 | ||
fi | ||
rm -rf tmp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
feature/aft/aft_summary/otg_tests/route_summary_counters_test/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# RT-4.10: AFTs Route Summary | ||
|
||
## Summary | ||
|
||
IPv4/IPv6 unicast AFTs route summary for ISIS and BGP protocol | ||
|
||
## Procedure | ||
|
||
Configure DUT:port1 for an IS-IS session with ATE:port1 | ||
* Validate total number of entries of AFT for IPv4 and IPv6 | ||
|
||
Establish eBGP sessions between ATE:port1 and DUT:port1 and another between ATE:port2 and DUT:port2 | ||
* Configure Route-policy under BGP peer-group address-family | ||
* Advertise prefixes from ATE port-1, observe received prefixes at ATE port-2 for IPv4 and IPv6 | ||
* Validate total number of entries of AFT for IPv4 and IPv6 | ||
|
||
## Config Parameter Coverage | ||
|
||
|
||
## Telemetry Parameter Coverage | ||
|
||
/network-instances/network-instance/afts/aft-summaries/ipv4-unicast/protocols/protocol/state/counters/aft-entries | ||
/network-instances/network-instance/afts/aft-summaries/ipv6-unicast/protocols/protocol/state/counters/aft-entries | ||
|
||
## Protocol/RPC Parameter Coverage | ||
|
||
BGP | ||
IS-IS | ||
|
||
## Minimum DUT Platform Requirement | ||
|
||
vRX | ||
|
47 changes: 47 additions & 0 deletions
47
feature/aft/aft_summary/otg_tests/route_summary_counters_test/metadata.textproto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# proto-file: third_party/openconfig/featureprofiles/proto/metadata.proto | ||
# proto-message: Metadata | ||
|
||
uuid: "ef34466c-37da-4133-8d03-40ebe2a5168a" | ||
plan_id: "RT-4.10" | ||
description: "AFTs Route Summary" | ||
testbed: TESTBED_DUT_ATE_2LINKS | ||
platform_exceptions: { | ||
platform: { | ||
vendor: NOKIA | ||
} | ||
deviations: { | ||
isis_multi_topology_unsupported: true | ||
isis_interface_level1_disable_required: true | ||
missing_isis_interface_afi_safi_enable: true | ||
isis_restart_suppress_unsupported: true | ||
explicit_port_speed: true | ||
explicit_interface_in_default_vrf: true | ||
missing_value_for_defaults: true | ||
interface_enabled: true | ||
} | ||
} | ||
platform_exceptions: { | ||
platform: { | ||
vendor: CISCO | ||
} | ||
deviations: { | ||
ipv4_missing_enabled: true | ||
isis_interface_level1_disable_required: true | ||
isis_single_topology_required: true | ||
} | ||
} | ||
platform_exceptions: { | ||
platform: { | ||
vendor: ARISTA | ||
} | ||
deviations: { | ||
omit_l2_mtu: true | ||
missing_value_for_defaults: true | ||
interface_enabled: true | ||
default_network_instance: "default" | ||
isis_instance_enabled_required: true | ||
isis_interface_afi_unsupported: true | ||
route_policy_under_afi_unsupported: true | ||
} | ||
} | ||
|
Oops, something went wrong.