[YANG] Add trap flow counter to yang model (#9353)

*[YANG] Add trap flow counter to yang model
This commit is contained in:
Junchao-Mellanox 2021-12-01 09:52:34 +08:00 committed by GitHub
parent 8b333bea87
commit 06a61dede0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 0 deletions

View File

@ -34,6 +34,9 @@
}, },
"ACL": { "ACL": {
"FLEX_COUNTER_STATUS": "enable" "FLEX_COUNTER_STATUS": "enable"
},
"FLOW_CNT_TRAP": {
"FLEX_COUNTER_STATUS": "enable"
} }
} }
} }

View File

@ -161,6 +161,16 @@ module sonic-flex_counter {
} }
} }
container FLOW_CNT_TRAP {
/* HOSTIF_TRAP_COUNTER_FLEX_COUNTER_GROUP */
leaf FLEX_COUNTER_STATUS {
type flex_status;
}
leaf FLEX_COUNTER_DELAY_STATUS {
type flex_delay_status;
}
}
} }
/* end of container FLEX_COUNTER_TABLE */ /* end of container FLEX_COUNTER_TABLE */
} }