Skip to content

Commit

Permalink
RT-1.11 - BGP remove private AS  - OTG test (openconfig#1853)
Browse files Browse the repository at this point in the history
* added OTG test for RT-1.11

* added metadata

* updated

* updated

* added deviations to metadata

* Update bgp_remove_private_as_otg_test.go

updated int32 to uint32

* Addressing review comments

* Updated README

* Updated README

* Update metadata.textproto

* Adressing review comments

---------

Co-authored-by: Arul Kumar Sekar <[email protected]>
  • Loading branch information
2 people authored and frasieroh committed Sep 15, 2023
1 parent 0fe8365 commit c81c473
Show file tree
Hide file tree
Showing 3 changed files with 515 additions and 0 deletions.
35 changes: 35 additions & 0 deletions feature/experimental/bgp/otg_tests/bgp_remove_private_as/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# RT-1.11: BGP remove private AS 

## Summary

BGP remove private AS

## Procedure

* Establish BGP sessions as follows between ATE and DUT.
* ATE port 1 emulates two eBGP neighbors peering the DUT.
* eBGP neighbor # 1 is injecting routes with AS_PATH modified to have private AS numbers.
* Validate that private AS numbers are stripped before advertisement to the eBGP neighbor on ATE
port 2.
* Tested AS-Path Patterns:
* PRIV_AS1
* PRIV_AS1 PRIV_AS2
* AS1 PRIV_AS1 PRIV_AS2
* PRIV_AS1 AS1
* AS1 PRIV_AS1 AS2

## Config Parameter coverage

* /network-instances/network-instance/protocols/protocol/bgp/peer-groups/peer-group/config/remove-private-as

## Telemetry Parameter coverage

* /network-instances/network-instance/protocols/protocol/bgp/rib/attr-sets/attr-set/as4-path/as4-segment/state

## Protocol/RPC Parameter coverage

N/A

## Minimum DUT platform requirement

N/A
Loading

0 comments on commit c81c473

Please sign in to comment.