Skip to content

Commit

Permalink
Merge pull request #455 from Juniper/sdk-pr-161
Browse files Browse the repository at this point in the history
Absorb SDK change re: system management level iotas (#161)
  • Loading branch information
chrismarget-j authored Nov 17, 2023
2 parents 82d96a8 + 8257ce1 commit 2681c03
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apstra/system_agents/managed_device.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func (o *ManagedDevice) Request(_ context.Context, _ *diag.Diagnostics) *apstra.
AgentTypeOffbox: apstra.AgentTypeOffbox(o.OffBox.ValueBool()),
ManagementIp: o.ManagementIp.ValueString(),
Profile: apstra.ObjectId(o.AgentProfileId.ValueString()),
OperationMode: apstra.AgentModeFull,
OperationMode: apstra.SystemManagementLevelFullControl,
}
}

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.20

require (
github.com/IBM/netaddr v1.5.0
github.com/Juniper/apstra-go-sdk v0.0.0-20231115202102-f47b2a337343
github.com/Juniper/apstra-go-sdk v0.0.0-20231116225553-76b857dfe9d0
github.com/chrismarget-j/go-licenses v0.0.0-20230424163011-d60082a506e0
github.com/google/go-cmp v0.5.9
github.com/hashicorp/go-version v1.6.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ github.com/BurntSushi/toml v1.2.1/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbi
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
github.com/IBM/netaddr v1.5.0 h1:IJlFZe1+nFs09TeMB/HOP4+xBnX2iM/xgiDOgZgTJq0=
github.com/IBM/netaddr v1.5.0/go.mod h1:DDBPeYgbFzoXHjSz9Jwk7K8wmWV4+a/Kv0LqRnb8we4=
github.com/Juniper/apstra-go-sdk v0.0.0-20231115202102-f47b2a337343 h1:3IjYe4tNs8D+kpyo8FhORo/fpR4w7R1oxxBx4GknpIc=
github.com/Juniper/apstra-go-sdk v0.0.0-20231115202102-f47b2a337343/go.mod h1:BB8X+PSov7CoCIAQ5P1z8bHc7DwtDN51fWCLJ93oeHY=
github.com/Juniper/apstra-go-sdk v0.0.0-20231116225553-76b857dfe9d0 h1:eGDv3DBIRDl8r14Ot2uew5Fr7YpAJFav2Snufb2j2Jg=
github.com/Juniper/apstra-go-sdk v0.0.0-20231116225553-76b857dfe9d0/go.mod h1:BB8X+PSov7CoCIAQ5P1z8bHc7DwtDN51fWCLJ93oeHY=
github.com/Masterminds/goutils v1.1.1 h1:5nUrii3FMTL5diU80unEVvNevw1nH4+ZV4DSLVJLSYI=
github.com/Masterminds/goutils v1.1.1/go.mod h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU=
github.com/Masterminds/semver/v3 v3.1.1 h1:hLg3sBzpNErnxhQtUy/mmLR2I9foDujNK030IGemrRc=
Expand Down

0 comments on commit 2681c03

Please sign in to comment.