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

[EPIC:] Implement configuring Nazara parameters #21

Open
2 of 5 tasks
ByteOtter opened this issue Aug 25, 2023 · 1 comment
Open
2 of 5 tasks

[EPIC:] Implement configuring Nazara parameters #21

ByteOtter opened this issue Aug 25, 2023 · 1 comment
Assignees
Labels
connection THis issue is linked to the NetBox API connection EPIC This is a large task which may be split into smaller steps help wanted Extra attention is needed high-priority This needs to be done ASAP rust tests

Comments

@ByteOtter
Copy link
Member

ByteOtter commented Aug 25, 2023

You would like to suggest a new feature?

There are several variables which are not controlled by us, but are vital that netbox-sync actually works.

These are:

  • the URI of the user's netbox instance
  • the authentication token for the API

Therefore it is important to offer at least two routes of being able to configure these parameters.

The routes are:

  1. The nbs-config.toml
  2. CLI arguments
  3. Environment variables

The toml file should look like this

[netbox]
netbox_uri = "http://uri.netobox/api/"
netbox_auth_token = "TOKEN_HERE"

This configuration file should be the basis for the connection parameters. When using CLI arguments or environment variables, these parameters should be temporarily overwritten. A netbox-sync configure --uri http://.... syntax to overwrite the config file is also to be considered.

These issues are part of this Epic:

@ByteOtter ByteOtter added help wanted Extra attention is needed high-priority This needs to be done ASAP connection THis issue is linked to the NetBox API connection tests rust labels Aug 25, 2023
@ByteOtter ByteOtter added this to the v0.0.1 milestone Aug 25, 2023
@ByteOtter ByteOtter mentioned this issue Aug 25, 2023
7 tasks
@ByteOtter ByteOtter self-assigned this Aug 25, 2023
@ByteOtter
Copy link
Member Author

ByteOtter commented Aug 25, 2023

Assigned to me, but help is welcomed 🤝

@ByteOtter ByteOtter added the EPIC This is a large task which may be split into smaller steps label Sep 7, 2023
@ByteOtter ByteOtter moved this to Todo in netbox-sync project Sep 7, 2023
@ByteOtter ByteOtter moved this from Todo to Epics in netbox-sync project Sep 7, 2023
@ByteOtter ByteOtter changed the title [TASK:] Implement configuring netbox-sync parameters [EDIT:] Implement configuring netbox-sync parameters Sep 13, 2023
@ByteOtter ByteOtter changed the title [EDIT:] Implement configuring netbox-sync parameters [EPIC:] Implement configuring netbox-sync parameters Sep 13, 2023
@ByteOtter ByteOtter changed the title [EPIC:] Implement configuring netbox-sync parameters [EPIC:] Implement configuring Nazara parameters Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
connection THis issue is linked to the NetBox API connection EPIC This is a large task which may be split into smaller steps help wanted Extra attention is needed high-priority This needs to be done ASAP rust tests
Projects
None yet
Development

No branches or pull requests

1 participant