Module: Junos::Ez::SysConfig
- Defined in:
- lib/junos-ez/system.rb
Overview
the ‘syscfg’ is a work in progress, do not use …
Defined Under Namespace
Classes: Provider
Constant Summary collapse
- PROPERTIES =
[ :host_name, # String, host-name :domain_name, # domain name, string or array :domain_search, # array of dns name suffix values :dns_servers, # array of ip-addrs :ntp_servers, # array NTP servers HASH of # :version # :key :timezone, # String time-zone :date, # String format: YYYYMMDDhhmm.ss :location, # location HASH with properties # :countrycode # :building, # :floor, # :rack ]
Class Method Summary collapse
Class Method Details
.Provider(ndev, varsym) ⇒ Object
31 32 33 34 35 36 37 |
# File 'lib/junos-ez/system.rb', line 31 def self.Provider( ndev, varsym ) raise ArgumentError "work-in-progress ..." newbie = Junos::Ez::SysConfig::Provider.new( ndev ) newbie.properties = Junos::Ez::Provider::PROPERTIES + PROPERTIES Junos::Ez::Provider.attach_instance_variable( ndev, varsym, newbie ) end |