-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Allow Platforms with Same Name for Different Manufacturers #17413
Allow Platforms with Same Name for Different Manufacturers #17413
Comments
Cisco IOS and Apple IOS come to mind. |
I can implement this if selected. @arthanson |
We can support this, but it will require tweaking the device & VM import forms to also filter by manufacturer when specifying a device/VM platform. (Otherwise, attempting to import a platform referenced by name only may fail.) |
@abhi1693 would you still be open to working on this, for 4.3 release? |
Yes |
Assigned it to you @abhi1693 Thanks! |
NetBox version
v4.0.7
Feature type
Change to existing functionality
Proposed functionality
In the Platform model, the system raises a validation error when trying to create a Platform with the same name even if the associated Manufacturer is different. This is problematic because two manufacturers can produce platforms with the same name. The system should allow Platform records with the same name if they are associated with different Manufacturers.
Use case
The Platform name should only be enforced as unique within a Manufacturer. This allows two platforms with the same name but belonging to different manufacturers to be created.
Steps to Reproduce:
Create a Manufacturer (e.g., Manufacturer A).
Create a Platform named "Test Platform" under Manufacturer A.
Create another Manufacturer (e.g., Manufacturer B).
Attempt to create another Platform named "Test Platform" under Manufacturer B.
Database changes
No response
External dependencies
No response
The text was updated successfully, but these errors were encountered: