Skip to content

Commit

Permalink
Merge pull request #23006 from kbrock/switch_comment
Browse files Browse the repository at this point in the history
comments on a Switch
  • Loading branch information
agrare committed Jun 25, 2024
2 parents 4431133 + 3b6b69b commit 77e5f7a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/models/switch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ class Switch < ApplicationRecord
include CustomActionsMixin
extend TenancyCommonMixin

# Note:
# DistributedVirtualSwitch, PhysicalSwitch references ems through Switch#ems_id
# HostVirtualSwitch references ems through Host
belongs_to :host, :inverse_of => :host_virtual_switches
has_one :ext_management_system, :through => :host

Expand Down

0 comments on commit 77e5f7a

Please # to comment.