junos-ez-stdlib 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG.md CHANGED
@@ -43,4 +43,12 @@
43
43
 
44
44
  FS::Utils - updated docs. fixed methods so that all "error" scenarios raise IOError excaptions.
45
45
 
46
-
46
+ 0.1.0: 2013-05-06
47
+
48
+ All docs and code _finished_ for the inital release of code. Always more to do, but at this
49
+ point, declaring the framework "good for early adopter testing". Looking forward to bug-reports,
50
+ please open issues against this repo. Thank you!
51
+
52
+ 0.1.1: 2013-05-29
53
+
54
+ Fixed a small bug in fact gathering for hardwaremodel
data/examples/re_utils.rb CHANGED
@@ -19,6 +19,8 @@ print "Connecting to device #{login[:target]} ... "
19
19
  ndev.open
20
20
  puts "OK!"
21
21
 
22
+ binding.pry
23
+
22
24
  ## attach our private & utils that we need ...
23
25
 
24
26
  Junos::Ez::Provider( ndev )
@@ -1,7 +1,7 @@
1
1
  Junos::Ez::Facts::Keeper.define( :personality ) do |ndev, facts|
2
2
 
3
- model = uses :hardwaremodel
4
- uses :routingengines
3
+ uses :chassis, :routingengines
4
+ model = facts[:hardwaremodel]
5
5
 
6
6
  examine = ( model != "Virtual Chassis" ) ? model : facts[:RE0][:model]
7
7
 
@@ -14,7 +14,7 @@ require 'junos-ez/exceptions.rb'
14
14
 
15
15
  module Junos::Ez
16
16
 
17
- VERSION = "0.1.0"
17
+ VERSION = "0.1.1"
18
18
 
19
19
  ### ---------------------------------------------------------------
20
20
  ### rpc_errors - decodes the XML into an array of error/Hash
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: junos-ez-stdlib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-06 00:00:00.000000000 Z
12
+ date: 2013-05-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: netconf