acirb 1.1.1.1 → 1.1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (193) hide show
  1. checksums.yaml +4 -4
  2. data/lib/acirb/aaa.rb +1029 -1029
  3. data/lib/acirb/ac.rb +159 -157
  4. data/lib/acirb/action.rb +267 -267
  5. data/lib/acirb/actrl.rb +1783 -1783
  6. data/lib/acirb/actrlcap.rb +20 -20
  7. data/lib/acirb/adcom.rb +324 -324
  8. data/lib/acirb/aib.rb +37 -37
  9. data/lib/acirb/arp.rb +273 -273
  10. data/lib/acirb/bfd.rb +169 -169
  11. data/lib/acirb/bgp.rb +769 -770
  12. data/lib/acirb/callhome.rb +276 -276
  13. data/lib/acirb/cap.rb +34 -34
  14. data/lib/acirb/cdp.rb +196 -196
  15. data/lib/acirb/cnw.rb +110 -110
  16. data/lib/acirb/comm.rb +4202 -4201
  17. data/lib/acirb/comp.rb +4593 -4494
  18. data/lib/acirb/compat.rb +337 -337
  19. data/lib/acirb/condition.rb +151 -151
  20. data/lib/acirb/config.rb +229 -203
  21. data/lib/acirb/coop.rb +490 -490
  22. data/lib/acirb/copp.rb +1631 -1631
  23. data/lib/acirb/ctrlr.rb +16 -16
  24. data/lib/acirb/ctx.rb +37 -37
  25. data/lib/acirb/datetime.rb +315 -315
  26. data/lib/acirb/dbg.rb +1728 -1728
  27. data/lib/acirb/dbgac.rb +685 -682
  28. data/lib/acirb/dbgexp.rb +481 -481
  29. data/lib/acirb/dhcp.rb +760 -758
  30. data/lib/acirb/dhcptlv.rb +48 -48
  31. data/lib/acirb/dhcptlvpol.rb +56 -56
  32. data/lib/acirb/dlgt.rb +46 -7
  33. data/lib/acirb/dns.rb +167 -167
  34. data/lib/acirb/draw.rb +14 -14
  35. data/lib/acirb/edr.rb +42 -42
  36. data/lib/acirb/eigrp.rb +506 -506
  37. data/lib/acirb/ep.rb +72 -35
  38. data/lib/acirb/epm.rb +57 -57
  39. data/lib/acirb/eptrk.rb +133 -133
  40. data/lib/acirb/eqpt.rb +11671 -11671
  41. data/lib/acirb/eqptcap.rb +115 -115
  42. data/lib/acirb/eqptcapacity.rb +5938 -5938
  43. data/lib/acirb/eqptdiag.rb +152 -152
  44. data/lib/acirb/eqptdiagp.rb +834 -850
  45. data/lib/acirb/ethpm.rb +589 -589
  46. data/lib/acirb/event.rb +132 -132
  47. data/lib/acirb/extnw.rb +92 -91
  48. data/lib/acirb/fabric.rb +5530 -5384
  49. data/lib/acirb/fault.rb +602 -602
  50. data/lib/acirb/file.rb +95 -95
  51. data/lib/acirb/firmware.rb +455 -455
  52. data/lib/acirb/fmcast.rb +51 -51
  53. data/lib/acirb/frmwrk.rb +167 -167
  54. data/lib/acirb/fsm.rb +24 -24
  55. data/lib/acirb/fv.rb +5138 -4879
  56. data/lib/acirb/fvcap.rb +50 -21
  57. data/lib/acirb/fvns.rb +313 -313
  58. data/lib/acirb/fvtopo.rb +50 -50
  59. data/lib/acirb/geo.rb +70 -70
  60. data/lib/acirb/glean.rb +40 -40
  61. data/lib/acirb/ha.rb +4 -4
  62. data/lib/acirb/health.rb +222 -221
  63. data/lib/acirb/hvs.rb +271 -268
  64. data/lib/acirb/icmp.rb +26 -26
  65. data/lib/acirb/icmpv4.rb +34 -34
  66. data/lib/acirb/icmpv6.rb +69 -69
  67. data/lib/acirb/ident.rb +448 -447
  68. data/lib/acirb/igmp.rb +51 -51
  69. data/lib/acirb/igmpsnoop.rb +219 -219
  70. data/lib/acirb/im.rb +82 -81
  71. data/lib/acirb/imginstall.rb +16 -16
  72. data/lib/acirb/infra.rb +3568 -3443
  73. data/lib/acirb/ip.rb +237 -237
  74. data/lib/acirb/ipmcsnoop.rb +181 -181
  75. data/lib/acirb/ipv4.rb +105 -105
  76. data/lib/acirb/ipv6.rb +124 -124
  77. data/lib/acirb/isis.rb +2679 -2679
  78. data/lib/acirb/isistlv.rb +48 -48
  79. data/lib/acirb/l1.rb +538 -538
  80. data/lib/acirb/l1cap.rb +20 -20
  81. data/lib/acirb/l2.rb +10229 -5448
  82. data/lib/acirb/l2cap.rb +21 -21
  83. data/lib/acirb/l2ext.rb +215 -214
  84. data/lib/acirb/l3.rb +490 -489
  85. data/lib/acirb/l3cap.rb +21 -21
  86. data/lib/acirb/l3ext.rb +697 -664
  87. data/lib/acirb/l3vm.rb +30 -30
  88. data/lib/acirb/l4.rb +29 -29
  89. data/lib/acirb/lacp.rb +217 -193
  90. data/lib/acirb/lbp.rb +20 -20
  91. data/lib/acirb/leqpt.rb +80 -80
  92. data/lib/acirb/lldp.rb +329 -329
  93. data/lib/acirb/lldptlv.rb +48 -48
  94. data/lib/acirb/lldptlvpol.rb +56 -56
  95. data/lib/acirb/maint.rb +397 -397
  96. data/lib/acirb/mcast.rb +13 -13
  97. data/lib/acirb/mcp.rb +143 -143
  98. data/lib/acirb/memory.rb +421 -421
  99. data/lib/acirb/mgmt.rb +610 -609
  100. data/lib/acirb/mldsnoop.rb +193 -193
  101. data/lib/acirb/mo.rb +21 -21
  102. data/lib/acirb/mock.rb +40 -40
  103. data/lib/acirb/mon.rb +298 -298
  104. data/lib/acirb/monitor.rb +106 -106
  105. data/lib/acirb/naming.rb +9 -9
  106. data/lib/acirb/nd.rb +262 -262
  107. data/lib/acirb/nw.rb +244 -244
  108. data/lib/acirb/nws.rb +57 -57
  109. data/lib/acirb/oam.rb +59 -59
  110. data/lib/acirb/observer.rb +48 -48
  111. data/lib/acirb/opflex.rb +5517 -5484
  112. data/lib/acirb/os.rb +21 -21
  113. data/lib/acirb/ospf.rb +1060 -1060
  114. data/lib/acirb/ospfv3.rb +415 -415
  115. data/lib/acirb/pc.rb +185 -185
  116. data/lib/acirb/pcons.rb +517 -363
  117. data/lib/acirb/phys.rb +18 -18
  118. data/lib/acirb/ping.rb +160 -160
  119. data/lib/acirb/pki.rb +277 -164
  120. data/lib/acirb/planner.rb +2220 -0
  121. data/lib/acirb/pol.rb +1136 -888
  122. data/lib/acirb/policer.rb +12 -12
  123. data/lib/acirb/pool.rb +37 -37
  124. data/lib/acirb/pres.rb +183 -183
  125. data/lib/acirb/proc.rb +4214 -3809
  126. data/lib/acirb/psu.rb +32 -32
  127. data/lib/acirb/qos.rb +256 -256
  128. data/lib/acirb/qosm.rb +899 -899
  129. data/lib/acirb/qosp.rb +125 -125
  130. data/lib/acirb/rbqm.rb +95 -95
  131. data/lib/acirb/regress.rb +12 -12
  132. data/lib/acirb/reln.rb +262 -262
  133. data/lib/acirb/repl.rb +26 -26
  134. data/lib/acirb/res.rb +96 -96
  135. data/lib/acirb/rib.rb +67 -67
  136. data/lib/acirb/rmon.rb +140 -140
  137. data/lib/acirb/rpm.rb +9 -9
  138. data/lib/acirb/rtcom.rb +21 -21
  139. data/lib/acirb/rtctrl.rb +557 -533
  140. data/lib/acirb/rtextcom.rb +37 -37
  141. data/lib/acirb/rtflt.rb +17 -17
  142. data/lib/acirb/rtleak.rb +46 -46
  143. data/lib/acirb/rtmap.rb +290 -290
  144. data/lib/acirb/rtpfx.rb +44 -44
  145. data/lib/acirb/rtregcom.rb +35 -35
  146. data/lib/acirb/rtsum.rb +6 -6
  147. data/lib/acirb/rule.rb +19 -19
  148. data/lib/acirb/satm.rb +165 -165
  149. data/lib/acirb/snmp.rb +341 -341
  150. data/lib/acirb/span.rb +1097 -1096
  151. data/lib/acirb/stats.rb +545 -545
  152. data/lib/acirb/statstore.rb +30 -30
  153. data/lib/acirb/stormctrl.rb +31 -31
  154. data/lib/acirb/stp.rb +258 -257
  155. data/lib/acirb/sts.rb +448 -448
  156. data/lib/acirb/svccore.rb +183 -158
  157. data/lib/acirb/svi.rb +56 -56
  158. data/lib/acirb/synthetic.rb +551 -551
  159. data/lib/acirb/sysdebug.rb +212 -212
  160. data/lib/acirb/sysfile.rb +23 -23
  161. data/lib/acirb/syshist.rb +31 -31
  162. data/lib/acirb/syslog.rb +152 -152
  163. data/lib/acirb/sysmgr.rb +30 -30
  164. data/lib/acirb/sysmgrp.rb +17 -17
  165. data/lib/acirb/tag.rb +136 -136
  166. data/lib/acirb/task.rb +42 -42
  167. data/lib/acirb/test.rb +34 -34
  168. data/lib/acirb/testinfralab.rb +81 -81
  169. data/lib/acirb/tlv.rb +48 -48
  170. data/lib/acirb/top.rb +181 -181
  171. data/lib/acirb/topoctrl.rb +135 -84
  172. data/lib/acirb/traceroute.rb +227 -227
  173. data/lib/acirb/traceroutep.rb +212 -208
  174. data/lib/acirb/trig.rb +284 -284
  175. data/lib/acirb/troubleshoot.rb +120 -120
  176. data/lib/acirb/tunnel.rb +126 -126
  177. data/lib/acirb/uribv4.rb +69 -69
  178. data/lib/acirb/uribv6.rb +51 -51
  179. data/lib/acirb/viz.rb +76 -0
  180. data/lib/acirb/vlan.rb +80 -80
  181. data/lib/acirb/vlanmgr.rb +17 -17
  182. data/lib/acirb/vmm.rb +660 -630
  183. data/lib/acirb/vns.rb +5909 -5858
  184. data/lib/acirb/vpc.rb +234 -233
  185. data/lib/acirb/vsvc.rb +40 -40
  186. data/lib/acirb/vtap.rb +16 -16
  187. data/lib/acirb/vxlan.rb +67 -67
  188. data/lib/acirb/vz.rb +1732 -1666
  189. data/lib/autoloadmap.rb +6623 -6372
  190. data/lib/lookup.rb +251 -0
  191. data/lib/restclient.rb +1 -0
  192. data/lib/version.rb +1 -1
  193. metadata +4 -2
@@ -80,6 +80,7 @@ module ACIrb
80
80
  doc = Nokogiri::XML(response.body)
81
81
  fail ApicAuthenticationError, 'Authentication error(%s): %s' % [doc.at_css('error')['code'], doc.at_css('error')['text']] \
82
82
  if doc.at_css('error')
83
+ fail ApicErrorResponse, 'Unexpected HTTP Error response code(%s): %s' % [response.code, response.body] if response.code != 200
83
84
  @auth_cookie = doc.at_css('aaaLogin')['token']
84
85
  @refresh_time = doc.at_css('aaaLogin')['refreshTimeoutSeconds']
85
86
  end
@@ -1,3 +1,3 @@
1
1
  module ACIrb
2
- VERSION = '1.1.1.1'
2
+ VERSION = '1.1.2.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acirb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1.1
4
+ version: 1.1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Lesiak
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-10 00:00:00.000000000 Z
11
+ date: 2015-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httpclient
@@ -224,6 +224,7 @@ files:
224
224
  - lib/acirb/phys.rb
225
225
  - lib/acirb/ping.rb
226
226
  - lib/acirb/pki.rb
227
+ - lib/acirb/planner.rb
227
228
  - lib/acirb/pol.rb
228
229
  - lib/acirb/policer.rb
229
230
  - lib/acirb/pool.rb
@@ -282,6 +283,7 @@ files:
282
283
  - lib/acirb/tunnel.rb
283
284
  - lib/acirb/uribv4.rb
284
285
  - lib/acirb/uribv6.rb
286
+ - lib/acirb/viz.rb
285
287
  - lib/acirb/vlan.rb
286
288
  - lib/acirb/vlanmgr.rb
287
289
  - lib/acirb/vmm.rb