Skip to content

Unable to assign a virtual parent interface to an existing interface #6106

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
jeremystretch opened this issue Apr 7, 2021 · 0 comments
Closed
Assignees
Labels
beta Concerns a bug/feature in a beta release status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application

Comments

@jeremystretch
Copy link
Member

jeremystretch commented Apr 7, 2021

NetBox version

v2.11-beta1

Python version

3.7

Steps to Reproduce

  • Devices > Add
    • Role: Access switch
    • Manufacturer: Cisco
    • Device type: C9200-48P
    • Site: Butler Communications
  • Add Interface (blue button at bottom)
    • Name: vlan123
    • Create and add more
    • Name: vlan123456
    • Create
  • Change to "100 per page" to see them
  • Click edit (pencil) next to vlan123
    • Select parent interface GigabitEthernet1/0/1
    • Update
  • Click edit (pencil) next to vlan123456
    • Scroll through parent interface list
    • No vlan interfaces are visible as parent

Thanks to @candlerb for tracking this down in #6094!

Expected Behavior

We should see all available interfaces in the parent choices.

Observed Behavior

Only physical interfaces are listed.

This is due to query_params={'kind': 'physical'} being applied to the parent field on InterfaceForm.

@jeremystretch jeremystretch added type: bug A confirmed report of unexpected behavior in the application status: accepted This issue has been accepted for implementation beta Concerns a bug/feature in a beta release labels Apr 7, 2021
@jeremystretch jeremystretch self-assigned this Apr 7, 2021
jeremystretch added a commit that referenced this issue Apr 7, 2021
@jeremystretch jeremystretch changed the title Unable to assignin a virtual parent interface to an existing interface Unable to assign a virtual parent interface to an existing interface Apr 8, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
beta Concerns a bug/feature in a beta release status: accepted This issue has been accepted for implementation type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

No branches or pull requests

1 participant