Class: IFCFG::Bridge

Inherits:
OVS
  • Object
show all
Defined in:
lib/puppetx/redhat/ifcfg.rb

Instance Attribute Summary

Attributes inherited from OVS

#ifcfg

Instance Method Summary collapse

Methods inherited from OVS

#del_key, exists?, #key, #key?, remove, #replace_key, #save, #set, #set_key, #to_s

Constructor Details

#initialize(name, template = nil) ⇒ Bridge

Returns a new instance of Bridge.



67
68
69
70
71
# File 'lib/puppetx/redhat/ifcfg.rb', line 67

def initialize(name, template=nil)
  super(name, template)
  set_key('TYPE', 'OVSBridge')
  del_key('HWADDR')
end