Преглед на файлове

add gw status field to fw update struct

Abhishek Kondur преди 2 години
родител
ревизия
8ebd370f20
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  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"`