Bladeren bron

add gw status field to fw update struct

Abhishek Kondur 2 jaren geleden
bovenliggende
commit
8ebd370f20
1 gewijzigde bestanden met toevoegingen van 2 en 0 verwijderingen
  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"`