소스 검색

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"`