Module: Junos::Ez::StaticHosts

Defined in:
lib/junos-ez/system/st_hosts.rb

Defined Under Namespace

Classes: Provider

Constant Summary collapse

PROPERTIES =
[
  :ip,                    # ipv4 address :String
  :ip6,                   # ipv6 address :String
]

Class Method Summary collapse

Class Method Details

.Provider(ndev, varsym) ⇒ Object



8
9
10
11
12
# File 'lib/junos-ez/system/st_hosts.rb', line 8

def self.Provider( ndev, varsym )            
  newbie = Junos::Ez::StaticHosts::Provider.new( ndev )      
  newbie.properties = Junos::Ez::Provider::PROPERTIES + PROPERTIES
  Junos::Ez::Provider.attach_instance_variable( ndev, varsym, newbie )    
end