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

Force Interface creation before allowing IP assignment #481

Closed
LordBoBCUP opened this issue Aug 18, 2016 · 1 comment
Closed

Force Interface creation before allowing IP assignment #481

LordBoBCUP opened this issue Aug 18, 2016 · 1 comment
Labels
type: feature Introduction of new functionality to the application

Comments

@LordBoBCUP
Copy link

I've noticed, when trying to assign an IP address to a device, if there are no interfaces assigned to it, you are still able to load the assign IP form. You can enter in the IP, VRF etc, and when you click create it prompts you to select an interface of which there are none. There should be logic either flagging a warning, or, forcing you to the add interface page if there isn't at least 1 free interface that the IP can be assigned to when you first click on the add IP address button on the device view page. This is in v1.5.1.

@jeremystretch jeremystretch changed the title [Feature] Force Interface creation before allowing IP assignment Force Interface creation before allowing IP assignment Aug 19, 2016
@jeremystretch jeremystretch added the type: feature Introduction of new functionality to the application label Aug 19, 2016
@iamdadmin
Copy link

There are several places when the same check could be added; just a few examples:

  1. Add a device type before device.
  2. Add a manufacturer before a device type.
  3. Anywhere else you have a required field from a user created table.

if-fi pushed a commit to if-fi/netbox that referenced this issue Oct 1, 2016
@lock lock bot locked as resolved and limited conversation to collaborators Jan 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: feature Introduction of new functionality to the application
Projects
None yet
Development

No branches or pull requests

3 participants