Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to set false for enforce_unique flag for VRF #86

Closed
abhide opened this issue Jun 24, 2020 · 0 comments
Closed

Unable to set false for enforce_unique flag for VRF #86

abhide opened this issue Jun 24, 2020 · 0 comments

Comments

@abhide
Copy link
Contributor

abhide commented Jun 24, 2020

Seems like setting enforce_unique=false while creating VRF seems to have no effect.
enforce_unique is always set to true.

Repro Steps:

        name := "test_vrf"
        rd := "test_rd"
        description "= "test description"
	vrfParams := ipam.NewIpamVrfsCreateParams().WithData(
		&models.WritableVRF{
			Description:   description,
			EnforceUnique: false,
			Name:          &name,
			Rd:            &rd,
		},

Check in the UI, enforce_unique will still be set to true.

abhide added a commit to abhide/go-netbox that referenced this issue Jun 25, 2020
setting enforce_unique=false while creating VRF seems to have no effect.
enforce_unique is always set to true.
Making this property a boolean pointer should fix the issue.

Issue: netbox-communityGH-86
@awlx awlx closed this as completed Oct 2, 2020
awlx added a commit that referenced this issue Oct 2, 2020
Make enforce_unique flag for VRF a pointer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants