Explorar el Código

add gw status field to fw update struct

Abhishek Kondur hace 2 años
padre
commit
8ebd370f20
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      models/mqtt.go

+ 2 - 0
models/mqtt.go

@@ -83,6 +83,8 @@ type FwActionType string
 
 type FwAction struct {
 	Action        FwActionType          `json:"action"`
+	IsIngressGw   bool                  `json:"is_ingress_gw"`
+	IsEgressGw    bool                  `json:"is_egress_gw"`
 	ExtClientInfo ExtClientInfo         `json:"ext_client_info"`
 	IngressInfo   IngressInfo           `json:"ingress_info"`
 	EgressInfo    map[string]EgressInfo `json:"egress_info"`