mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-12-19 18:31:33 +00:00
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>
100 lines
2.4 KiB
Diff
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
|
|
+ }
|
|
}
|
|
}
|