File tree 2 files changed +12
-8
lines changed
tests/yang_model_tests/tests_config
2 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 4
4
"sonic-bgp-prefix-list:PREFIX_LIST" : {
5
5
"PREFIX_LIST_LIST" : [
6
6
{
7
- "name " : " ANCHOR_PREFIX" ,
7
+ "prefix_type " : " ANCHOR_PREFIX" ,
8
8
"ip-prefix" : " 10.0.0.0/8"
9
9
}
10
10
]
16
16
"sonic-bgp-prefix-list:PREFIX_LIST" : {
17
17
"PREFIX_LIST_LIST" : [
18
18
{
19
- "name " : " ANCHOR_PREFIX" ,
19
+ "prefix_type " : " ANCHOR_PREFIX" ,
20
20
"ip-prefix" : " fc00::/48"
21
21
}
22
22
]
28
28
"sonic-bgp-prefix-list:PREFIX_LIST" : {
29
29
"PREFIX_LIST_LIST" : [
30
30
{
31
- "name " : " ANCHOR_PREFIX" ,
31
+ "prefix_type " : " ANCHOR_PREFIX" ,
32
32
"ip-prefix" : " invalid_prefix"
33
33
}
34
34
]
Original file line number Diff line number Diff line change @@ -16,6 +16,10 @@ module sonic-bgp-prefix-list {
16
16
17
17
description "SONIC Device-specfifc BGP prefix lists data" ;
18
18
19
+ revision 2025 -02 -17 {
20
+ description "Updated description and leafs for PREFIX_LIST_LIST" ;
21
+ }
22
+
19
23
revision 2025 -02 -05 {
20
24
description "Initial revision." ;
21
25
}
@@ -24,17 +28,17 @@ module sonic-bgp-prefix-list {
24
28
25
29
container PREFIX_LIST {
26
30
27
- description "PREFIX_LIST part of config_db.json " ;
31
+ description "PREFIX_LIST container consumed in BGP " ;
28
32
29
33
list PREFIX_LIST_LIST {
30
34
31
- description "PREFIX_LIST part of config_db.json with prefix" ;
35
+ description "PREFIX_LIST part of config_db.json with prefix_type and ip- prefix" ;
32
36
33
- key "name ip-prefix" ;
37
+ key "prefix_type ip-prefix" ;
34
38
35
- leaf name {
39
+ leaf prefix_type {
36
40
type string ;
37
- description "Name of the prefix list " ;
41
+ description "Prefix type " ;
38
42
}
39
43
40
44
leaf ip-prefix {
You can’t perform that action at this time.
0 commit comments