opiproject / sztp

Secure Zero Touch Provisioning (sZTP) in OPI
Apache License 2.0
20 stars 14 forks source link

refactor: rename getBootstrapURL to discoverBootstrapURLs #437

Closed glimchb closed 2 months ago

glimchb commented 2 months ago

this better reflects what function is doing. and it separates from public GetBootstrapURL func

discoverBootstrapURLs retrieves URLs from dhcp lease file

In the next patches it will also fetch them from network manager

Signed-off-by: Boris Glimcher Boris.Glimcher@emc.com

Proposed changes

Summarize your changes here to communicate with the maintainers and make sure to put the link of that issue

Types of changes

What types of changes does your code introduce to the repo? Put an x in the boxes that apply

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

Dependency

Special notes for your reviewer: