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

Need additional validation of selectable syncing options #232

Open
jeffkala opened this issue Aug 29, 2024 · 0 comments
Open

Need additional validation of selectable syncing options #232

jeffkala opened this issue Aug 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jeffkala
Copy link
Contributor

We're attempting to check job inputs and make sure the commands are in the command files above. However, we do additional json schema validation that doesn't take that into account. Need to solve this while we have features (e.g cables) that are supported across all platform

Below is a juniper devices run with cables still checked even though they're not supported yet.

Aug 29 05:16:31 v02d-nautobot01 nautobot-server[3034786]: Failed validating 'type' in schema['properties']['cables']['items']['properties']['remote_interface']:
Aug 29 05:16:31 v02d-nautobot01 nautobot-server[3034786]:     {'description': 'Interface Name of the remote device', 'type': 'string'}
Aug 29 05:16:31 v02d-nautobot01 nautobot-server[3034786]: On instance['cables'][0]['remote_interface']:
Aug 29 05:16:31 v02d-nautobot01 nautobot-server[3034786]:     None
Aug 29 05:16:31 v02d-nautobot01 nautobot-server[3034786]: [2024-08-29 10:16:31,267: DEBUG/ForkPoolWorker-1] Schema validation failed for AUSLAB-SW01 Error: None is not of type 'string'
Aug 29 05:16:31 v02d-nautobot01 nautobot-server[3034786]: Failed validating 'type' in schema['properties']['cables']['items']['properties']['remote_interface']:
Aug 29 05:16:31 v02d-nautobot01 nautobot-server[3034786]:     {'description': 'Interface Name of the remote device', 'type': 'string'}
Aug 29 05:16:31 v02d-nautobot01 nautobot-server[3034786]: On instance['cables'][0]['remote_interface']:
Aug 29 05:16:31 v02d-nautobot01 nautobot-server[3034786]:     None
@gsnider2195 gsnider2195 added the bug Something isn't working label Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants