From 391eafe31d834aa4fab342de5ce94072d5bc006d Mon Sep 17 00:00:00 2001 From: Abraham Mughal Date: Thu, 11 Jul 2024 14:49:15 -0700 Subject: [PATCH] [minor_changes] added pc_tag attribute to fvAEPg --- models/fv_ae_pg.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/models/fv_ae_pg.go b/models/fv_ae_pg.go index b05957f..7141cf8 100644 --- a/models/fv_ae_pg.go +++ b/models/fv_ae_pg.go @@ -35,6 +35,8 @@ type ApplicationEPGAttributes struct { PcEnfPref string `json:",omitempty"` + PcTag string `json:",omitempty"` + PrefGrMemb string `json:",omitempty"` Prio string `json:",omitempty"` @@ -83,6 +85,8 @@ func (fvAEPg *ApplicationEPG) ToMap() (map[string]string, error) { A(fvAEPgMap, "pcEnfPref", fvAEPg.PcEnfPref) + A(fvAEPgMap, "pcTag", fvAEPg.PcTag) + A(fvAEPgMap, "prefGrMemb", fvAEPg.PrefGrMemb) A(fvAEPgMap, "prio", fvAEPg.Prio) @@ -126,6 +130,8 @@ func ApplicationEPGFromContainerList(cont *container.Container, index int) *Appl PcEnfPref: G(ApplicationEPGCont, "pcEnfPref"), + PcTag: G(ApplicationEPGCont, "pcTag"), + PrefGrMemb: G(ApplicationEPGCont, "prefGrMemb"), Prio: G(ApplicationEPGCont, "prio"),