diff --git a/go.mod b/go.mod index 6f02b0ffb..a24d59f37 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.21 toolchain go1.21.5 require ( - github.com/ciscoecosystem/aci-go-client/v2 v2.28.2 + github.com/ciscoecosystem/aci-go-client/v2 v2.29.0 github.com/ghodss/yaml v1.0.0 github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 github.com/hashicorp/hcl/v2 v2.20.0 diff --git a/go.sum b/go.sum index b359affe1..c839537d8 100644 --- a/go.sum +++ b/go.sum @@ -13,6 +13,8 @@ github.com/bufbuild/protocompile v0.4.0 h1:LbFKd2XowZvQ/kajzguUp2DC9UEIQhIq77fZZ github.com/bufbuild/protocompile v0.4.0/go.mod h1:3v93+mbWn/v3xzN+31nwkJfrEpAUwp+BagBSZWx+TP8= github.com/ciscoecosystem/aci-go-client/v2 v2.28.2 h1:qqglP7joOunBd4JWMKqbqenFfdQfwPAc1JlLzbRZdlI= github.com/ciscoecosystem/aci-go-client/v2 v2.28.2/go.mod h1:NE95j9SraYejTJWqC1SzetCtQ306vQuFIPBbcvm+Hgk= +github.com/ciscoecosystem/aci-go-client/v2 v2.29.0 h1:OCZsWt5uFu7qAdf3YETqHukYTHrSGD23+bavknM7oC8= +github.com/ciscoecosystem/aci-go-client/v2 v2.29.0/go.mod h1:NE95j9SraYejTJWqC1SzetCtQ306vQuFIPBbcvm+Hgk= github.com/cloudflare/circl v1.3.7 h1:qlCDlTPz2n9fu58M0Nh1J/JzcFpfgkFHHX3O35r5vcU= github.com/cloudflare/circl v1.3.7/go.mod h1:sRTcRWXGLrKw6yIGJ+l7amYJFfAXbZG0kBSc8r4zxgA= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= diff --git a/vendor/github.com/ciscoecosystem/aci-go-client/v2/models/fv_ctx.go b/vendor/github.com/ciscoecosystem/aci-go-client/v2/models/fv_ctx.go index f1cbcf711..e94a70433 100644 --- a/vendor/github.com/ciscoecosystem/aci-go-client/v2/models/fv_ctx.go +++ b/vendor/github.com/ciscoecosystem/aci-go-client/v2/models/fv_ctx.go @@ -19,6 +19,10 @@ type VRFAttributes struct { Annotation string `json:",omitempty"` + PcTag string `json:",omitempty"` + + Scope string `json:",omitempty"` + BdEnforcedEnable string `json:",omitempty"` IpDataPlaneLearning string `json:",omitempty"` @@ -57,6 +61,10 @@ func (fvCtx *VRF) ToMap() (map[string]string, error) { A(fvCtxMap, "annotation", fvCtx.Annotation) + A(fvCtxMap, "pcTag", fvCtx.PcTag) + + A(fvCtxMap, "scope", fvCtx.Scope) + A(fvCtxMap, "bdEnforcedEnable", fvCtx.BdEnforcedEnable) A(fvCtxMap, "ipDataPlaneLearning", fvCtx.IpDataPlaneLearning) @@ -90,6 +98,10 @@ func VRFFromContainerList(cont *container.Container, index int) *VRF { Annotation: G(VRFCont, "annotation"), + PcTag: G(VRFCont, "pcTag"), + + Scope: G(VRFCont, "scope"), + BdEnforcedEnable: G(VRFCont, "bdEnforcedEnable"), IpDataPlaneLearning: G(VRFCont, "ipDataPlaneLearning"), diff --git a/vendor/modules.txt b/vendor/modules.txt index 1ddf8ba90..9100029e3 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -28,7 +28,7 @@ github.com/agext/levenshtein # github.com/apparentlymart/go-textseg/v15 v15.0.0 ## explicit; go 1.16 github.com/apparentlymart/go-textseg/v15/textseg -# github.com/ciscoecosystem/aci-go-client/v2 v2.28.2 +# github.com/ciscoecosystem/aci-go-client/v2 v2.29.0 ## explicit; go 1.21 github.com/ciscoecosystem/aci-go-client/v2/client github.com/ciscoecosystem/aci-go-client/v2/container