Skip to content

Commit

Permalink
Merge pull request #17332 from skovic/storage-device-support
Browse files Browse the repository at this point in the history
GuestDevice model updates for support of storage devices
  • Loading branch information
agrare authored Apr 25, 2018
2 parents 4576d3f + dd7d0a9 commit 51f8618
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions app/models/guest_device.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,8 @@ class GuestDevice < ApplicationRecord
def self.with_ethernet_type
where(:device_type => "ethernet")
end

def self.with_storage_type
where(:device_type => "storage")
end
end
1 change: 0 additions & 1 deletion locale/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,6 @@ en:
GenericObject: Generic Object
GenericObjectDefinition: Generic Object Class
GuestApplication: Guest Application
GuestDevice: Network Device
Host: Host / Node
HostPerformance: Performance - Host
IsoDatastore: ISO Datastore
Expand Down

0 comments on commit 51f8618

Please sign in to comment.