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
comments on a Switch #23006
base: master
Are you sure you want to change the base?
comments on a Switch #23006
Conversation
@kbrock Having a switch associate to the EMS through a host was the original way all of the switches worked |
update:
Thanks. |
Checked commit kbrock@a7e5f7a with ruby 2.7.8, rubocop 1.56.3, haml-lint 0.51.0, and yamllint app/models/switch.rb
|
@@ -3,6 +3,9 @@ class Switch < ApplicationRecord | |||
include CustomActionsMixin | |||
extend TenancyCommonMixin | |||
|
|||
# Note: | |||
# DistributedVirtualSwitch, PhysicalSwitch references ems through Switch#ems_id | |||
# HostVirtualSwitch references ems through HostVirtualSwitch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# HostVirtualSwitch references ems through HostVirtualSwitch | |
# HostVirtualSwitch references ems through Host |
Document how a switch relates to an ems
Some models use
ems_id
, others useHostVirtualSwitch