Skip to content

Commit

Permalink
Extracting physical ports of a switch to a new page
Browse files Browse the repository at this point in the history
  • Loading branch information
felipedf committed Jun 14, 2018
1 parent 511cdae commit c6d25b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/models/physical_network_port.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
class PhysicalNetworkPort < ApplicationRecord
belongs_to :guest_device
belongs_to :physical_switch

alias_attribute :name, :port_name
end

0 comments on commit c6d25b1

Please sign in to comment.