Module: Junos::Ez::LAGports

Defined in:
lib/junos-ez/lag_ports.rb

Defined Under Namespace

Classes: Provider

Constant Summary collapse

PROPERTIES =
[ 
  :links,               # Set of interface names  
  :minimum_links,       # nil or Number > 0 # optional
  :lacp,                # [ :active, :passive, :disabled ] # optional
]

Class Method Summary collapse

Class Method Details

.Provider(ndev, varsym) ⇒ Object



11
12
13
14
15
# File 'lib/junos-ez/lag_ports.rb', line 11

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