Module: Junos::Ez::Users

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

Defined Under Namespace

Classes: Provider

Constant Summary collapse

PROPERTIES =
[ 
  :uid,                     # User-ID, Number
  :class,                   # User Class, String
  :fullname,                # Full Name, String
  :password,                # Encrypted password  
  :ssh_keys,                # READ-ONLY, Hash of SSH public keys
]

Class Method Summary collapse

Class Method Details

.Provider(ndev, varsym) ⇒ Object



16
17
18
19
20
# File 'lib/junos-ez/system/users.rb', line 16

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