junos-ez-stdlib 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. data/LICENSE +26 -0
  2. data/README.md +181 -0
  3. data/docs/Config_Utils.md +3 -0
  4. data/docs/Facts.md +106 -0
  5. data/docs/Filesys_Utils.md +3 -0
  6. data/docs/IPports.md +3 -0
  7. data/docs/L1ports.md +3 -0
  8. data/docs/L2ports.md +3 -0
  9. data/docs/Providers_Resources.md +304 -0
  10. data/docs/RE_utils.md +3 -0
  11. data/docs/StaticHosts.md +3 -0
  12. data/docs/StaticRoutes.md +3 -0
  13. data/docs/Vlans.md +3 -0
  14. data/examples/config/config_file.rb +72 -0
  15. data/examples/config/config_template_object.rb +81 -0
  16. data/examples/config/config_template_simple.rb +76 -0
  17. data/examples/config/multi_config.rb +60 -0
  18. data/examples/fs_utils.rb +31 -0
  19. data/examples/re_upgrade.rb +90 -0
  20. data/examples/re_utils.rb +30 -0
  21. data/examples/simple.rb +47 -0
  22. data/examples/st_hosts.rb +33 -0
  23. data/examples/vlans.rb +25 -0
  24. data/junos-ez-stdlib.gemspec +15 -0
  25. data/lib/junos-ez/facts/chassis.rb +45 -0
  26. data/lib/junos-ez/facts/ifd_style.rb +14 -0
  27. data/lib/junos-ez/facts/personality.rb +22 -0
  28. data/lib/junos-ez/facts/switch_style.rb +22 -0
  29. data/lib/junos-ez/facts/version.rb +32 -0
  30. data/lib/junos-ez/facts.rb +85 -0
  31. data/lib/junos-ez/ip_ports/classic.rb +149 -0
  32. data/lib/junos-ez/ip_ports.rb +28 -0
  33. data/lib/junos-ez/l1_ports/classic.rb +87 -0
  34. data/lib/junos-ez/l1_ports/switch.rb +134 -0
  35. data/lib/junos-ez/l1_ports.rb +81 -0
  36. data/lib/junos-ez/l2_ports/bridge_domain.rb +0 -0
  37. data/lib/junos-ez/l2_ports/vlan.rb +317 -0
  38. data/lib/junos-ez/l2_ports/vlan_l2ng.rb +0 -0
  39. data/lib/junos-ez/l2_ports.rb +57 -0
  40. data/lib/junos-ez/provider.rb +608 -0
  41. data/lib/junos-ez/stdlib.rb +16 -0
  42. data/lib/junos-ez/system/st_hosts.rb +74 -0
  43. data/lib/junos-ez/system/st_routes.rb +135 -0
  44. data/lib/junos-ez/system/syscfg.rb +103 -0
  45. data/lib/junos-ez/system.rb +98 -0
  46. data/lib/junos-ez/utils/config.rb +205 -0
  47. data/lib/junos-ez/utils/fs.rb +376 -0
  48. data/lib/junos-ez/utils/re.rb +371 -0
  49. data/lib/junos-ez/vlans/bridge_domain.rb +85 -0
  50. data/lib/junos-ez/vlans/vlan.rb +112 -0
  51. data/lib/junos-ez/vlans.rb +31 -0
  52. metadata +111 -0
metadata ADDED
@@ -0,0 +1,111 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: junos-ez-stdlib
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.10
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Jeremy Schulman
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-04-27 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: netconf
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ description: ! 'Automation Framework for Junos/NETCONF: Facts, Providers, and Utils'
31
+ email: jschulman@juniper.net
32
+ executables: []
33
+ extensions: []
34
+ extra_rdoc_files: []
35
+ files:
36
+ - junos-ez-stdlib.gemspec
37
+ - LICENSE
38
+ - README.md
39
+ - lib/junos-ez/facts/chassis.rb
40
+ - lib/junos-ez/facts/ifd_style.rb
41
+ - lib/junos-ez/facts/personality.rb
42
+ - lib/junos-ez/facts/switch_style.rb
43
+ - lib/junos-ez/facts/version.rb
44
+ - lib/junos-ez/facts.rb
45
+ - lib/junos-ez/ip_ports/classic.rb
46
+ - lib/junos-ez/ip_ports.rb
47
+ - lib/junos-ez/l1_ports/classic.rb
48
+ - lib/junos-ez/l1_ports/switch.rb
49
+ - lib/junos-ez/l1_ports.rb
50
+ - lib/junos-ez/l2_ports/bridge_domain.rb
51
+ - lib/junos-ez/l2_ports/vlan.rb
52
+ - lib/junos-ez/l2_ports/vlan_l2ng.rb
53
+ - lib/junos-ez/l2_ports.rb
54
+ - lib/junos-ez/provider.rb
55
+ - lib/junos-ez/stdlib.rb
56
+ - lib/junos-ez/system/st_hosts.rb
57
+ - lib/junos-ez/system/st_routes.rb
58
+ - lib/junos-ez/system/syscfg.rb
59
+ - lib/junos-ez/system.rb
60
+ - lib/junos-ez/utils/config.rb
61
+ - lib/junos-ez/utils/fs.rb
62
+ - lib/junos-ez/utils/re.rb
63
+ - lib/junos-ez/vlans/bridge_domain.rb
64
+ - lib/junos-ez/vlans/vlan.rb
65
+ - lib/junos-ez/vlans.rb
66
+ - examples/config/config_file.rb
67
+ - examples/config/config_template_object.rb
68
+ - examples/config/config_template_simple.rb
69
+ - examples/config/multi_config.rb
70
+ - examples/fs_utils.rb
71
+ - examples/re_upgrade.rb
72
+ - examples/re_utils.rb
73
+ - examples/simple.rb
74
+ - examples/st_hosts.rb
75
+ - examples/vlans.rb
76
+ - docs/Config_Utils.md
77
+ - docs/Facts.md
78
+ - docs/Filesys_Utils.md
79
+ - docs/IPports.md
80
+ - docs/L1ports.md
81
+ - docs/L2ports.md
82
+ - docs/Providers_Resources.md
83
+ - docs/RE_utils.md
84
+ - docs/StaticHosts.md
85
+ - docs/StaticRoutes.md
86
+ - docs/Vlans.md
87
+ homepage: https://github.com/jeremyschulman/ruby-junos-ez-stdlib
88
+ licenses: []
89
+ post_install_message:
90
+ rdoc_options: []
91
+ require_paths:
92
+ - lib
93
+ required_ruby_version: !ruby/object:Gem::Requirement
94
+ none: false
95
+ requirements:
96
+ - - ! '>='
97
+ - !ruby/object:Gem::Version
98
+ version: '0'
99
+ required_rubygems_version: !ruby/object:Gem::Requirement
100
+ none: false
101
+ requirements:
102
+ - - ! '>='
103
+ - !ruby/object:Gem::Version
104
+ version: '0'
105
+ requirements: []
106
+ rubyforge_project:
107
+ rubygems_version: 1.8.23
108
+ signing_key:
109
+ specification_version: 3
110
+ summary: Junos EZ Framework - Standard Libraries
111
+ test_files: []