Skip to content

Commit

Permalink
[minor_changes] added pc_tag attribute to fvAEPg
Browse files Browse the repository at this point in the history
  • Loading branch information
abrahammughal authored and lhercot committed Jul 11, 2024
1 parent 040624e commit 391eafe
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions models/fv_ae_pg.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ type ApplicationEPGAttributes struct {

PcEnfPref string `json:",omitempty"`

PcTag string `json:",omitempty"`

PrefGrMemb string `json:",omitempty"`

Prio string `json:",omitempty"`
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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"),
Expand Down

0 comments on commit 391eafe

Please sign in to comment.