Class: ForemanDatacenter::InterfaceTemplate

Inherits:
ActiveRecord::Base
  • Object
show all
Includes:
Authorizable, ScopedSearchExtensions
Defined in:
app/models/foreman_datacenter/interface_template.rb

Constant Summary collapse

FORM_FACTORS =
['Virtual', '10/100M (100BASE-TX)',
'1GE (1000BASE-T)', '1GE (SFP)', '10GE (10GBASE-T)',
'10GE (SFP+)', '10GE (XFP)', '40GE (QSFP+)']

Instance Method Summary collapse

Instance Method Details

#attrs_to_copyObject



18
19
20
# File 'app/models/foreman_datacenter/interface_template.rb', line 18

def attrs_to_copy
  attributes.slice('name', 'form_factor', 'mgmt_only')
end