[YANG][ACL] Change LAG -> PORTCHANNEL in DB schema (#17062)
Orchagent uses PORTCHANNEL term when parsing this field. Change the YANG model to align to orchagent. - Why I did it When specifying PORTCHANNEL in ACL_TABLE_TYPE table YAGN model validation does not pass, when using term LAG orchagent does not accept such table type. Fix it by aligning YANG model to orchagent. - How I did it Fix in YANG model. - How to verify it Create custom ACL table type. Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
This commit is contained in:
parent
7b6f7a6328
commit
113d7d8668
@ -343,7 +343,7 @@ and migration plan
|
||||
],
|
||||
"BIND_POINTS": [
|
||||
"PORT",
|
||||
"LAG"
|
||||
"PORTCHANNEL"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
@ -2379,7 +2379,7 @@
|
||||
],
|
||||
"BIND_POINTS": [
|
||||
"PORT",
|
||||
"LAG"
|
||||
"PORTCHANNEL"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
@ -731,7 +731,8 @@
|
||||
"PACKET_ACTION"
|
||||
],
|
||||
"BIND_POINTS": [
|
||||
"PORT"
|
||||
"PORT",
|
||||
"PORTCHANNEL"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
@ -308,7 +308,7 @@ module sonic-acl {
|
||||
leaf-list BIND_POINTS {
|
||||
type enumeration {
|
||||
enum PORT;
|
||||
enum LAG;
|
||||
enum PORTCHANNEL;
|
||||
}
|
||||
min-elements 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user