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

Bugfix - Allow primary device IP without virtual machine initialization #393

Merged
merged 3 commits into from
Jan 20, 2021

Conversation

MajesticFalcon
Copy link
Contributor

@MajesticFalcon MajesticFalcon commented Jan 16, 2021

Related Issue:

New Behavior

Fix behavior of start up scripts, specifically 270_primary_ip where a lack of virtual machine may cause the initialization engine to crash.
...

Contrast to Current Behavior

...

Discussion: Benefits and Drawbacks

...

Changes to the Wiki

...

Proposed Release Note Entry

Fixed primary ip initialization script to allow null and/or simultaneous virtual machine initialization.

Double Check

  • I have read the comments and followed the PR template.
  • I have explained my PR according to the information in the comments.
  • My PR targets the develop branch.

MajesticFalcon and others added 2 commits January 15, 2021 23:42
fix issue where user has no virtual machines defined, but startup script still tries to iterate over empty file.
Copy link
Collaborator

@cimnine cimnine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for splitting the two PRs.
When code repetition is avoidable that easy, I would like to avoid it.

Otherwise this LGTM.

@cimnine cimnine added awaiting answer There is still some open discussion. bug This issue describes a confirmed bug. labels Jan 19, 2021
@cimnine cimnine added this to the 0.28.0 milestone Jan 19, 2021
Ah, of course.. I would agree. :)

Co-authored-by: Christian Mäder <[email protected]>
@cimnine cimnine merged commit 21bd7f4 into netbox-community:develop Jan 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting answer There is still some open discussion. bug This issue describes a confirmed bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants