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

API validation for power-outlets and console-server-ports #1642

Closed
Gelob opened this issue Oct 24, 2017 · 0 comments
Closed

API validation for power-outlets and console-server-ports #1642

Gelob opened this issue Oct 24, 2017 · 0 comments
Labels
type: bug A confirmed report of unexpected behavior in the application

Comments

@Gelob
Copy link
Contributor

Gelob commented Oct 24, 2017

Issue type

[ ] Feature request
[ X ] Bug report
[ ] Documentation

Environment

  • Python version: 2.7.5
  • NetBox version: 2.2.2

Description

I have a device type that is marked False for Console Server & PDU, but is marked True for Network Device
screen shot 2017-10-24 at 10 01 14 am

If i POST to /api/dcim/power-outlets/ I receive a 201 and a power outlet is created on my device who us using the above device type. I'd expect to receive an error about that device not supporting power outlets. The same is true for /api/dcim/console-server-ports/

screen shot 2017-10-24 at 10 07 11 am

@jeremystretch jeremystretch added the type: bug A confirmed report of unexpected behavior in the application label Oct 25, 2017
@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

No branches or pull requests

2 participants