Skip to content

Cannot create Vlan-Group with site_id, also create vlan in vlan-group (with group option) #4529

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

Closed
Vadims06 opened this issue Apr 23, 2020 · 1 comment
Labels
status: duplicate This issue has already been raised

Comments

@Vadims06
Copy link

Environment

  • Python version: 3.6.8
  • NetBox version: 2.8.0

Attempt to create vlan-group with site attribute using POST method.
Attempt to create vlan inside vlan-group using group attribute in POST method.

Steps to Reproduce

  1. Make POST request with 'site' attribute for creating vlan-group with data = {'name': 'vlan_group_name', 'slug': 'vlan_group_name', 'site': site_id_of any site}.
  2. Make POST request to create vlan inside vlan-group using group attribute, e.x. data = {'vid': 1, "name": 'default, "site": site_id_of any site, 'group': vlan_group_id}

Expected Behavior

  1. Creation of vlan-group in site
  2. Creation a vlan inside vlan-group

Observed Behavior

I get the following error
'UniqueTogetherValidator' object has no attribute &#x27 them I make both POSTs

@DouglasHeriot
Copy link

This is a duplicate of #4496, just fixed in the recent v2.8.1 release

@jeremystretch jeremystretch added the status: duplicate This issue has already been raised label Apr 24, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: duplicate This issue has already been raised
Projects
None yet
Development

No branches or pull requests

3 participants