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

Add VM's active status in comments field of switch table #801

Closed

Conversation

SeanHQF
Copy link
Contributor

@SeanHQF SeanHQF commented Jan 11, 2024

So that it can be consumed by neutron-zvm-agent for attaching interface scenario.

So that it can be consumed by neutron-zvm-agent for attaching
interface scenario.

Signed-off-by: QingFeng Hao <[email protected]>
@SeanHQF
Copy link
Contributor Author

SeanHQF commented Jan 11, 2024

@jichenjc @zhshuj @bjhuangr pls help review

else:
comments = "{\"active\": false}"
LOG.info("Set comments to be %s in _dedicate_OSA." % comments)
self._NetDbOperator.switch_add_record(userid, vdev, comments=comments)
Copy link
Contributor

Choose a reason for hiding this comment

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

With line 3465 amd 3466 be commented out, the existing dedicate_OSA function would be broken.
And why line 3473 to line 3482 need be added here?

@SeanHQF
Copy link
Contributor Author

SeanHQF commented Jan 18, 2024

close as it's not needed with https://review.opendev.org/c/x/networking-zvm/+/905286 of the new solution proposed by @bjhuangr

@SeanHQF SeanHQF closed this Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants