-
Notifications
You must be signed in to change notification settings - Fork 46
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
SSOT - Catalyst Center (DNA Center) sync improvement #708
Comments
Just to be clear, currently the uniqueness for Areas are the Area name and the associated parent Area if there is one. For Buildings it's the Building name and Area so as long as the Area name is different the Building name can be the same. For Floors we automatically add the Building name to ensure uniqueness while allowing for repeat names like you described. |
@PiotrOrman I see the problem now. That should be an easy enough fix. |
OK i checked your patch, and look like Bulidng name issue is solved now, however the same scenario may happen on floor name. So if there is the same floor name all de devices are assinged to one floor locationin nautbot. PS. not sure how you created patch branch but it still has issue with location. DNA Center Location Structure Incorrect #687 |
@PiotrOrman thanks for confirming that the building issue is fixed and confirming the floors were an issue. I had a feeling on that. I'll get a fix for the floors. Can you clarify your last comment? Are you saying that the location structure still isn't matching what it is in DNAC? It could be ordering of Areas being imported if you have more levels than my instance has. |
I'm not syncing Global Area. It is structure in NautoBot However this is from DNAC:
|
Also, do you get any logs about being unable to find an Area? |
If i run the same sync job more than one time. Here is the error related to locations
|
@PiotrOrman In your Sync Details, does it show Americas__None in areas? It should as that's a top level Area and that should automatically be created first in my latest PR update. Can you confirm you have the latest fixes from #716? |
@PiotrOrman I just pushed a fix for the floor issue. That should also include the fix for the areas being imported in the wrong order. The Americas area should absolutely be created first so if it's not that feels like something is up. Also, I'd strongly advise that you get rid of the bad data that you currently have for the Locations and Devices so it's not compounding issues here. |
Environment
Proposed Functionality
Ability to correctly sync devices under the same building name in DNAC.
Use Case
Catalyst Center (Dna Center) Allow by design use the same building name located in different Areas. We can have Area name which correspond to for example city name . Area can have two buildings called Plant and Office. This scenario can be multiple by Areas number. There is also Scenario where Buildings can have multiple floors named exactly the same in multiple building (Like Floor 1 or Floor 2)
SSOT should check Area name to which builiding belongs and assign network devices to correct location in Nautobot. Currently Nautobot is checking only Area \ Building \ Floor name independently and it is assigning all devices to first location name which match the one from DNAC.
The text was updated successfully, but these errors were encountered: