File tree Expand file tree Collapse file tree 1 file changed +69
-0
lines changed
feature/gribi/otg_tests/gribi_to_bgp_redistribution Expand file tree Collapse file tree 1 file changed +69
-0
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,75 @@ This test validates the gRIBI route redistribution from gRIBI to BGP for IPv4 in
3535 * Prefixes within 198.51.100.0/26 with mask /32: Add Communities EF_ALL, NO-CORE, then Accept.
3636 * Default: Reject
3737
38+ ### Canonical OC - Defined Sets
39+
40+ The following sets are used in the policies below.
41+
42+ ``` json
43+ {
44+ "routing-policy" : {
45+ "defined-sets" : {
46+ "prefix-sets" : {
47+ "prefix-set" : [
48+ {
49+ "name" : " EF_AGG" ,
50+ "config" : {
51+ "name" : " EF_AGG" ,
52+ "mode" : " IPV4"
53+ },
54+ "prefixes" : {
55+ "prefix" : [
56+ {
57+ "ip-prefix" : " 198.51.100.0/26" ,
58+ "masklength-range" : " 32..32" ,
59+ "config" : {
60+ "ip-prefix" : " 198.51.100.0/26" ,
61+ "masklength-range" : " 32..32"
62+ }
63+ }
64+ ]
65+ }
66+ }
67+ ]
68+ },
69+ "openconfig-bgp-defined-sets" : {
70+ "community-sets" : {
71+ "community-set" : [
72+ {
73+ "community-set-name" : " EF_ALL" ,
74+ "config" : {
75+ "community-set-name" : " EF_ALL" ,
76+ "community-member" : [
77+ " 65535:65535"
78+ ]
79+ }
80+ },
81+ {
82+ "community-set-name" : " NO-CORE" ,
83+ "config" : {
84+ "community-set-name" : " NO-CORE" ,
85+ "community-member" : [
86+ " 65534:20420"
87+ ]
88+ }
89+ },
90+ {
91+ "community-set-name" : " GSHUT-COMMUNITY" ,
92+ "config" : {
93+ "community-set-name" : " GSHUT-COMMUNITY" ,
94+ "community-member" : [
95+ " 65535:0"
96+ ]
97+ }
98+ }
99+ ]
100+ }
101+ }
102+ }
103+ }
104+ }
105+ ```
106+
38107### TestID-16.4.1 - gRIBI to BGP Redistribution
39108
40109* Step 1 - Generate DUT configuration
You can’t perform that action at this time.
0 commit comments