wlan-ap-Telecominfraproject/feeds/wlan-ap/opensync/patches/08-command-table.patch
Nagendrababu f65c9cd537 WIFI-961: Fix for Command Manager Crash
This patch will reslove command manager crash issue and also add support for deleting the lingering entries in
the command state table

Signed-off-by: Nagendrababu <nagendrababu.bonkuri@connectus.ai>
2021-02-01 15:36:45 -05:00

100 lines
2.4 KiB
Diff

--- a/interfaces/opensync.ovsschema
+++ b/interfaces/opensync.ovsschema
@@ -8525,6 +8525,95 @@
}
},
"isRoot": true
- }
+ },
+ "Command_Config": {
+ "columns": {
+ "command": {
+ "type": {
+ "key": {
+ "type": "string"
+ }
+ }
+ },
+ "timestamp": {
+ "type": {
+ "key": {
+ "type": "integer"
+ }
+ }
+ },
+ "delay": {
+ "type": {
+ "key": {
+ "type": "integer"
+ }
+ }
+ },
+ "duration": {
+ "type": {
+ "key": {
+ "type": "integer"
+ }
+ }
+ },
+ "payload": {
+ "type": {
+ "key": "string",
+ "value": "string",
+ "min": 0,
+ "max": "unlimited"
+ }
+ }
+ },
+ "isRoot": true
+ },
+ "Command_State": {
+ "columns": {
+ "cmd_uuid": {
+ "type": {
+ "key": {
+ "type": "uuid",
+ "refTable": "Command_Config",
+ "refType": "weak"
+ },
+ "min": 0,
+ "max": 1
+ }
+ },
+ "state": {
+ "type": {
+ "key": {
+ "type": "string",
+ "enum": [
+ "set",
+ [
+ "waiting",
+ "pending",
+ "running",
+ "complete",
+ "failed"
+ ]
+ ]
+ }
+ }
+ },
+ "timestamp": {
+ "type": {
+ "key": {
+ "type": "integer"
+ }
+ }
+ },
+ "result": {
+ "type": {
+ "key": "string",
+ "value": "string",
+ "min": 0,
+ "max": "unlimited"
+ }
+ }
+ },
+ "isRoot": true
+ }
}
}