[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:
Stepan Blyshchak 2023-11-09 19:00:07 +02:00 committed by mssonicbld
parent f233a26686
commit fd10ce1f8b
4 changed files with 6 additions and 5 deletions

View File

@ -341,7 +341,7 @@ and migration plan
],
"BIND_POINTS": [
"PORT",
"LAG"
"PORTCHANNEL"
]
}
},

View File

@ -2315,7 +2315,7 @@
],
"BIND_POINTS": [
"PORT",
"LAG"
"PORTCHANNEL"
]
}
},

View File

@ -731,7 +731,8 @@
"PACKET_ACTION"
],
"BIND_POINTS": [
"PORT"
"PORT",
"PORTCHANNEL"
]
}
]

View File

@ -308,7 +308,7 @@ module sonic-acl {
leaf-list BIND_POINTS {
type enumeration {
enum PORT;
enum LAG;
enum PORTCHANNEL;
}
min-elements 1;
}