acirb 1.0.4h

Sign up to get free protection for your applications and to get access to all the features.
Files changed (198) hide show
  1. checksums.yaml +7 -0
  2. data/lib/acirb/aaa.rb +1477 -0
  3. data/lib/acirb/ac.rb +133 -0
  4. data/lib/acirb/action.rb +533 -0
  5. data/lib/acirb/actrl.rb +1269 -0
  6. data/lib/acirb/actrlcap.rb +37 -0
  7. data/lib/acirb/adcom.rb +421 -0
  8. data/lib/acirb/aib.rb +85 -0
  9. data/lib/acirb/arp.rb +309 -0
  10. data/lib/acirb/bfd.rb +245 -0
  11. data/lib/acirb/bgp.rb +1109 -0
  12. data/lib/acirb/callhome.rb +373 -0
  13. data/lib/acirb/cap.rb +101 -0
  14. data/lib/acirb/cdp.rb +325 -0
  15. data/lib/acirb/cnw.rb +101 -0
  16. data/lib/acirb/comm.rb +2981 -0
  17. data/lib/acirb/comp.rb +3285 -0
  18. data/lib/acirb/compat.rb +613 -0
  19. data/lib/acirb/condition.rb +213 -0
  20. data/lib/acirb/config.rb +261 -0
  21. data/lib/acirb/coop.rb +709 -0
  22. data/lib/acirb/copp.rb +645 -0
  23. data/lib/acirb/ctrlr.rb +37 -0
  24. data/lib/acirb/ctx.rb +101 -0
  25. data/lib/acirb/datetime.rb +389 -0
  26. data/lib/acirb/dbg.rb +1397 -0
  27. data/lib/acirb/dbgac.rb +757 -0
  28. data/lib/acirb/dbgexp.rb +661 -0
  29. data/lib/acirb/dhcp.rb +1141 -0
  30. data/lib/acirb/dhcptlv.rb +133 -0
  31. data/lib/acirb/dhcptlvpol.rb +133 -0
  32. data/lib/acirb/dlgt.rb +21 -0
  33. data/lib/acirb/dns.rb +293 -0
  34. data/lib/acirb/draw.rb +37 -0
  35. data/lib/acirb/edr.rb +85 -0
  36. data/lib/acirb/eigrp.rb +789 -0
  37. data/lib/acirb/ep.rb +69 -0
  38. data/lib/acirb/epm.rb +133 -0
  39. data/lib/acirb/eptrk.rb +117 -0
  40. data/lib/acirb/eqpt.rb +6405 -0
  41. data/lib/acirb/eqptcap.rb +197 -0
  42. data/lib/acirb/eqptcapacity.rb +4069 -0
  43. data/lib/acirb/eqptdiag.rb +181 -0
  44. data/lib/acirb/eqptdiagp.rb +981 -0
  45. data/lib/acirb/ethpm.rb +309 -0
  46. data/lib/acirb/event.rb +197 -0
  47. data/lib/acirb/extnw.rb +181 -0
  48. data/lib/acirb/fabric.rb +6693 -0
  49. data/lib/acirb/fault.rb +821 -0
  50. data/lib/acirb/file.rb +149 -0
  51. data/lib/acirb/firmware.rb +645 -0
  52. data/lib/acirb/fmcast.rb +101 -0
  53. data/lib/acirb/frmwrk.rb +277 -0
  54. data/lib/acirb/fsm.rb +21 -0
  55. data/lib/acirb/fv.rb +6901 -0
  56. data/lib/acirb/fvcap.rb +37 -0
  57. data/lib/acirb/fvns.rb +533 -0
  58. data/lib/acirb/fvtopo.rb +85 -0
  59. data/lib/acirb/geo.rb +133 -0
  60. data/lib/acirb/glean.rb +85 -0
  61. data/lib/acirb/ha.rb +21 -0
  62. data/lib/acirb/health.rb +341 -0
  63. data/lib/acirb/hvs.rb +357 -0
  64. data/lib/acirb/icmp.rb +69 -0
  65. data/lib/acirb/icmpv4.rb +69 -0
  66. data/lib/acirb/icmpv6.rb +85 -0
  67. data/lib/acirb/ident.rb +693 -0
  68. data/lib/acirb/igmp.rb +69 -0
  69. data/lib/acirb/igmpsnoop.rb +293 -0
  70. data/lib/acirb/im.rb +117 -0
  71. data/lib/acirb/imginstall.rb +21 -0
  72. data/lib/acirb/infra.rb +3893 -0
  73. data/lib/acirb/ip.rb +389 -0
  74. data/lib/acirb/ipmcsnoop.rb +293 -0
  75. data/lib/acirb/ipv4.rb +133 -0
  76. data/lib/acirb/ipv6.rb +149 -0
  77. data/lib/acirb/isis.rb +1653 -0
  78. data/lib/acirb/isistlv.rb +133 -0
  79. data/lib/acirb/l1.rb +741 -0
  80. data/lib/acirb/l1cap.rb +37 -0
  81. data/lib/acirb/l2.rb +2437 -0
  82. data/lib/acirb/l2cap.rb +37 -0
  83. data/lib/acirb/l2ext.rb +309 -0
  84. data/lib/acirb/l3.rb +613 -0
  85. data/lib/acirb/l3cap.rb +37 -0
  86. data/lib/acirb/l3ext.rb +949 -0
  87. data/lib/acirb/l3vm.rb +53 -0
  88. data/lib/acirb/l4.rb +53 -0
  89. data/lib/acirb/lacp.rb +293 -0
  90. data/lib/acirb/lbp.rb +37 -0
  91. data/lib/acirb/leqpt.rb +117 -0
  92. data/lib/acirb/lldp.rb +469 -0
  93. data/lib/acirb/lldptlv.rb +133 -0
  94. data/lib/acirb/lldptlvpol.rb +133 -0
  95. data/lib/acirb/maint.rb +549 -0
  96. data/lib/acirb/mcast.rb +53 -0
  97. data/lib/acirb/mcp.rb +245 -0
  98. data/lib/acirb/memory.rb +293 -0
  99. data/lib/acirb/mgmt.rb +805 -0
  100. data/lib/acirb/mldsnoop.rb +261 -0
  101. data/lib/acirb/mo.rb +53 -0
  102. data/lib/acirb/mock.rb +69 -0
  103. data/lib/acirb/mon.rb +645 -0
  104. data/lib/acirb/monitor.rb +149 -0
  105. data/lib/acirb/naming.rb +37 -0
  106. data/lib/acirb/nd.rb +405 -0
  107. data/lib/acirb/nw.rb +629 -0
  108. data/lib/acirb/nws.rb +117 -0
  109. data/lib/acirb/oam.rb +53 -0
  110. data/lib/acirb/observer.rb +69 -0
  111. data/lib/acirb/opflex.rb +2693 -0
  112. data/lib/acirb/os.rb +37 -0
  113. data/lib/acirb/ospf.rb +1317 -0
  114. data/lib/acirb/ospfv3.rb +501 -0
  115. data/lib/acirb/pc.rb +181 -0
  116. data/lib/acirb/pcons.rb +677 -0
  117. data/lib/acirb/phys.rb +37 -0
  118. data/lib/acirb/ping.rb +101 -0
  119. data/lib/acirb/pki.rb +245 -0
  120. data/lib/acirb/pol.rb +1413 -0
  121. data/lib/acirb/policer.rb +37 -0
  122. data/lib/acirb/pool.rb +101 -0
  123. data/lib/acirb/pres.rb +309 -0
  124. data/lib/acirb/proc.rb +2085 -0
  125. data/lib/acirb/psu.rb +69 -0
  126. data/lib/acirb/qos.rb +453 -0
  127. data/lib/acirb/qosm.rb +645 -0
  128. data/lib/acirb/qosp.rb +181 -0
  129. data/lib/acirb/rbqm.rb +149 -0
  130. data/lib/acirb/regress.rb +21 -0
  131. data/lib/acirb/reln.rb +421 -0
  132. data/lib/acirb/repl.rb +69 -0
  133. data/lib/acirb/res.rb +197 -0
  134. data/lib/acirb/rib.rb +149 -0
  135. data/lib/acirb/rmon.rb +165 -0
  136. data/lib/acirb/rpm.rb +21 -0
  137. data/lib/acirb/rtcom.rb +53 -0
  138. data/lib/acirb/rtctrl.rb +949 -0
  139. data/lib/acirb/rtextcom.rb +69 -0
  140. data/lib/acirb/rtflt.rb +53 -0
  141. data/lib/acirb/rtleak.rb +101 -0
  142. data/lib/acirb/rtmap.rb +517 -0
  143. data/lib/acirb/rtpfx.rb +85 -0
  144. data/lib/acirb/rtregcom.rb +69 -0
  145. data/lib/acirb/rtsum.rb +21 -0
  146. data/lib/acirb/rule.rb +69 -0
  147. data/lib/acirb/satm.rb +101 -0
  148. data/lib/acirb/snmp.rb +549 -0
  149. data/lib/acirb/span.rb +1349 -0
  150. data/lib/acirb/stats.rb +501 -0
  151. data/lib/acirb/statstore.rb +69 -0
  152. data/lib/acirb/stormctrl.rb +53 -0
  153. data/lib/acirb/stp.rb +453 -0
  154. data/lib/acirb/sts.rb +725 -0
  155. data/lib/acirb/svccore.rb +133 -0
  156. data/lib/acirb/svi.rb +53 -0
  157. data/lib/acirb/synthetic.rb +709 -0
  158. data/lib/acirb/sysdebug.rb +293 -0
  159. data/lib/acirb/sysfile.rb +69 -0
  160. data/lib/acirb/syshist.rb +69 -0
  161. data/lib/acirb/syslog.rb +229 -0
  162. data/lib/acirb/sysmgr.rb +69 -0
  163. data/lib/acirb/sysmgrp.rb +37 -0
  164. data/lib/acirb/tag.rb +197 -0
  165. data/lib/acirb/task.rb +53 -0
  166. data/lib/acirb/test.rb +53 -0
  167. data/lib/acirb/testinfralab.rb +133 -0
  168. data/lib/acirb/tlv.rb +165 -0
  169. data/lib/acirb/top.rb +261 -0
  170. data/lib/acirb/topoctrl.rb +149 -0
  171. data/lib/acirb/traceroute.rb +181 -0
  172. data/lib/acirb/traceroutep.rb +197 -0
  173. data/lib/acirb/trig.rb +485 -0
  174. data/lib/acirb/troubleshoot.rb +133 -0
  175. data/lib/acirb/tunnel.rb +181 -0
  176. data/lib/acirb/uribv4.rb +133 -0
  177. data/lib/acirb/uribv6.rb +101 -0
  178. data/lib/acirb/vlan.rb +85 -0
  179. data/lib/acirb/vlanmgr.rb +37 -0
  180. data/lib/acirb/vmm.rb +805 -0
  181. data/lib/acirb/vns.rb +6853 -0
  182. data/lib/acirb/vpc.rb +229 -0
  183. data/lib/acirb/vsvc.rb +69 -0
  184. data/lib/acirb/vtap.rb +37 -0
  185. data/lib/acirb/vxlan.rb +69 -0
  186. data/lib/acirb/vz.rb +2325 -0
  187. data/lib/acirb.rb +12 -0
  188. data/lib/autoloadmap.rb +6372 -0
  189. data/lib/events.rb +27 -0
  190. data/lib/loader.rb +85 -0
  191. data/lib/logging.rb +22 -0
  192. data/lib/lookup.rb +6377 -0
  193. data/lib/mo.rb +203 -0
  194. data/lib/naming.rb +124 -0
  195. data/lib/query.rb +69 -0
  196. data/lib/restclient.rb +198 -0
  197. data/lib/version.rb +3 -0
  198. metadata +301 -0
@@ -0,0 +1,69 @@
1
+ # auto-generated code
2
+ require 'mo'
3
+ module ACIrb
4
+ class SysmgrEntity < MO
5
+ @class_name = 'sysmgr.Entity'
6
+ @ruby_class = 'SysmgrEntity'
7
+ @prefix = 'sysmgr'
8
+ @prefixes = [['sysmgr', false]]
9
+ @rn_format = 'sysmgr'
10
+ @containers = ['TopSystem']
11
+ @props = ['adminSt', 'childAction', 'dn', 'modTs', 'name', 'operErr', 'operSt', 'rn', 'status']
12
+ @child_classes = ['SysmgrpCores', 'SysmgrSysSt']
13
+ @label = 'Entity'
14
+ @naming_props = []
15
+
16
+ def rn
17
+ 'sysmgr'
18
+ end
19
+ end
20
+ class SysmgrFwSt < MO
21
+ @class_name = 'sysmgr.FwSt'
22
+ @ruby_class = 'SysmgrFwSt'
23
+ @prefix = 'image-'
24
+ @prefixes = [['image-', true]]
25
+ @rn_format = 'image-%(type)s'
26
+ @containers = ['SysmgrSysSt']
27
+ @props = ['childAction', 'dn', 'modTs', 'mode', 'name', 'rn', 'status', 'type', 'ver']
28
+ @child_classes = []
29
+ @label = 'Firmware State'
30
+ @naming_props = ['type']
31
+
32
+ def rn
33
+ 'image-' << @attributes['type'] << ''
34
+ end
35
+ end
36
+ class SysmgrSupSt < MO
37
+ @class_name = 'sysmgr.SupSt'
38
+ @ruby_class = 'SysmgrSupSt'
39
+ @prefix = 'sup-'
40
+ @prefixes = [['sup-', true]]
41
+ @rn_format = 'sup-%(type)s'
42
+ @containers = ['SysmgrSysSt']
43
+ @props = ['childAction', 'dn', 'modTs', 'name', 'operSt', 'rdSt', 'rn', 'status', 'type']
44
+ @child_classes = []
45
+ @label = 'Supervisor State'
46
+ @naming_props = ['type']
47
+
48
+ def rn
49
+ 'sup-' << @attributes['type'] << ''
50
+ end
51
+ end
52
+ class SysmgrSysSt < MO
53
+ @class_name = 'sysmgr.SysSt'
54
+ @ruby_class = 'SysmgrSysSt'
55
+ @prefix = 'sys'
56
+ @prefixes = [['sys', false]]
57
+ @rn_format = 'sys'
58
+ @containers = ['SysmgrEntity']
59
+ @props = ['childAction', 'dn', 'modTs', 'name', 'rdMode', 'rn', 'status']
60
+ @child_classes = ['SysmgrSupSt', 'SysmgrFwSt']
61
+ @label = 'System State'
62
+ @naming_props = []
63
+
64
+ def rn
65
+ 'sys'
66
+ end
67
+ end
68
+
69
+ end
@@ -0,0 +1,37 @@
1
+ # auto-generated code
2
+ require 'mo'
3
+ module ACIrb
4
+ class SysmgrpCores < MO
5
+ @class_name = 'sysmgrp.Cores'
6
+ @ruby_class = 'SysmgrpCores'
7
+ @prefix = 'core-'
8
+ @prefixes = [['core-', true]]
9
+ @rn_format = 'core-%(dest)s'
10
+ @containers = ['SysmgrEntity']
11
+ @props = ['childAction', 'descr', 'dest', 'dn', 'lcOwn', 'modTs', 'name', 'ownerKey', 'ownerTag', 'rn', 'status']
12
+ @child_classes = ['FaultDelegate']
13
+ @label = 'Core File Policy'
14
+ @naming_props = ['dest']
15
+
16
+ def rn
17
+ 'core-' << @attributes['dest'] << ''
18
+ end
19
+ end
20
+ class SysmgrpDef < MO
21
+ @class_name = 'sysmgrp.Def'
22
+ @ruby_class = 'SysmgrpDef'
23
+ @prefix = ''
24
+ @prefixes = []
25
+ @rn_format = ''
26
+ @containers = []
27
+ @props = ['childAction', 'descr', 'dn', 'name', 'ownerKey', 'ownerTag', 'rn', 'status']
28
+ @child_classes = ['FaultDelegate']
29
+ @label = 'Definition'
30
+ @naming_props = []
31
+
32
+ def rn
33
+ ''
34
+ end
35
+ end
36
+
37
+ end
data/lib/acirb/tag.rb ADDED
@@ -0,0 +1,197 @@
1
+ # auto-generated code
2
+ require 'mo'
3
+ module ACIrb
4
+ class TagAInst < MO
5
+ @class_name = 'tag.AInst'
6
+ @ruby_class = 'TagAInst'
7
+ @prefix = ''
8
+ @prefixes = []
9
+ @rn_format = ''
10
+ @containers = ['FvAp', 'EqptBoard', 'VnsEPpInfo', 'MgmtInB', 'FabricPod', 'L3extInstP', 'MgmtInstPDef', 'DhcpPRelPg', 'MgmtOoB', 'FvAEPg', 'L2extInstP', 'EqptExtChFP', 'EqptExtChHP', 'FabricHeartbeat', 'InfraPEPg', 'FabricNode', 'EqptFabP', 'L3extOut', 'InfraCEPg', 'MgmtInstP', 'EqptFC', 'EqptLeafP', 'EqptExtChCard', 'EqptLC', 'EqptSupC', 'FvTenant', 'L2extOut', 'EqptSysC', 'FabricPathEp', 'FvCCg', 'EqptNic', 'DhcpCRelPg', 'DatetimeNtpq']
11
+ @props = ['childAction', 'dn', 'name', 'rn', 'status']
12
+ @child_classes = []
13
+ @label = 'None'
14
+ @naming_props = []
15
+
16
+ def rn
17
+ ''
18
+ end
19
+ end
20
+ class TagAliasDef < MO
21
+ @class_name = 'tag.AliasDef'
22
+ @ruby_class = 'TagAliasDef'
23
+ @prefix = 'alias-'
24
+ @prefixes = [['alias-', true]]
25
+ @rn_format = 'alias-%(name)s'
26
+ @containers = ['PolUni']
27
+ @props = ['childAction', 'dn', 'lcOwn', 'modTs', 'monPolDn', 'name', 'rn', 'status', 'uid']
28
+ @child_classes = ['FaultCounts', 'HealthInst', 'TagRef']
29
+ @label = 'Alias'
30
+ @naming_props = ['name']
31
+
32
+ def rn
33
+ 'alias-' << @attributes['name'] << ''
34
+ end
35
+ end
36
+ class TagAliasDelInst < MO
37
+ @class_name = 'tag.AliasDelInst'
38
+ @ruby_class = 'TagAliasDelInst'
39
+ @prefix = 'aliasdel-'
40
+ @prefixes = [['aliasdel-', true]]
41
+ @rn_format = 'aliasdel-%(name)s'
42
+ @containers = ['FvAp', 'EqptBoard', 'VnsEPpInfo', 'MgmtInB', 'FabricPod', 'L3extInstP', 'MgmtInstPDef', 'DhcpPRelPg', 'MgmtOoB', 'FvAEPg', 'L2extInstP', 'EqptExtChFP', 'EqptExtChHP', 'FabricHeartbeat', 'InfraPEPg', 'FabricNode', 'EqptFabP', 'L3extOut', 'InfraCEPg', 'MgmtInstP', 'EqptFC', 'EqptLeafP', 'EqptExtChCard', 'EqptLC', 'EqptSupC', 'FvTenant', 'L2extOut', 'EqptSysC', 'FabricPathEp', 'FvCCg', 'EqptNic', 'DhcpCRelPg', 'DatetimeNtpq']
43
+ @props = ['childAction', 'dn', 'lcOwn', 'modTs', 'monPolDn', 'name', 'rn', 'status']
44
+ @child_classes = ['FaultInst', 'FaultCounts', 'HealthInst']
45
+ @label = 'Deleted Alias'
46
+ @naming_props = ['name']
47
+
48
+ def rn
49
+ 'aliasdel-' << @attributes['name'] << ''
50
+ end
51
+ end
52
+ class TagAliasDelInstTask < MO
53
+ @class_name = 'tag.AliasDelInstTask'
54
+ @ruby_class = 'TagAliasDelInstTask'
55
+ @prefix = 'tagAliasDelInstTask-'
56
+ @prefixes = [['tagAliasDelInstTask-', true]]
57
+ @rn_format = 'tagAliasDelInstTask-%(id)s'
58
+ @containers = ['ActionTopomgrSubj', 'ActionObserverSubj', 'ActionVmmmgrSubj', 'ActionVleafelemSubj', 'ActionConfelemSubj', 'ActionEventmgrSubj', 'ActionOspaelemSubj', 'ActionVtapSubj', 'ActionOshSubj', 'ActionDhcpdSubj', 'ActionObserverelemSubj', 'ActionDbgrelemSubj', 'ActionScripthandlerSubj', 'ActionNxosmockSubj', 'ActionDbgrSubj', 'ActionAppliancedirectorSubj', 'ActionBootmgrSubj', 'ActionAeSubj', 'ActionPolicymgrSubj', 'ActionExtXMLApiSubj', 'ActionOpflexelemSubj', 'ActionPolicyelemSubj', 'ActionIdmgrSubj']
59
+ @props = ['childAction', 'data', 'descr', 'dn', 'endTs', 'fail', 'id', 'invErrCode', 'invErrDescr', 'invRslt', 'lcOwn', 'modTs', 'oDn', 'operSt', 'originMinority', 'rn', 'runId', 'startTs', 'status', 'try', 'ts']
60
+ @child_classes = []
61
+ @label = 'None'
62
+ @naming_props = ['id']
63
+
64
+ def rn
65
+ 'tagAliasDelInstTask-' << @attributes['id'] << ''
66
+ end
67
+ end
68
+ class TagAliasInst < MO
69
+ @class_name = 'tag.AliasInst'
70
+ @ruby_class = 'TagAliasInst'
71
+ @prefix = 'alias'
72
+ @prefixes = [['alias', false]]
73
+ @rn_format = 'alias'
74
+ @containers = ['FvAp', 'EqptBoard', 'VnsEPpInfo', 'MgmtInB', 'FabricPod', 'L3extInstP', 'MgmtInstPDef', 'DhcpPRelPg', 'MgmtOoB', 'FvAEPg', 'L2extInstP', 'EqptExtChFP', 'EqptExtChHP', 'FabricHeartbeat', 'InfraPEPg', 'FabricNode', 'EqptFabP', 'L3extOut', 'InfraCEPg', 'MgmtInstP', 'EqptFC', 'EqptLeafP', 'EqptExtChCard', 'EqptLC', 'EqptSupC', 'FvTenant', 'L2extOut', 'EqptSysC', 'FabricPathEp', 'FvCCg', 'EqptNic', 'DhcpCRelPg', 'DatetimeNtpq']
75
+ @props = ['childAction', 'dn', 'lcOwn', 'modTs', 'name', 'rn', 'status']
76
+ @child_classes = []
77
+ @label = 'Alias Tag'
78
+ @naming_props = []
79
+
80
+ def rn
81
+ 'alias'
82
+ end
83
+ end
84
+ class TagAliasInstTask < MO
85
+ @class_name = 'tag.AliasInstTask'
86
+ @ruby_class = 'TagAliasInstTask'
87
+ @prefix = 'tagAliasInstTask-'
88
+ @prefixes = [['tagAliasInstTask-', true]]
89
+ @rn_format = 'tagAliasInstTask-%(id)s'
90
+ @containers = ['ActionTopomgrSubj', 'ActionObserverSubj', 'ActionVmmmgrSubj', 'ActionVleafelemSubj', 'ActionConfelemSubj', 'ActionEventmgrSubj', 'ActionOspaelemSubj', 'ActionVtapSubj', 'ActionOshSubj', 'ActionDhcpdSubj', 'ActionObserverelemSubj', 'ActionDbgrelemSubj', 'ActionScripthandlerSubj', 'ActionNxosmockSubj', 'ActionDbgrSubj', 'ActionAppliancedirectorSubj', 'ActionBootmgrSubj', 'ActionAeSubj', 'ActionPolicymgrSubj', 'ActionExtXMLApiSubj', 'ActionOpflexelemSubj', 'ActionPolicyelemSubj', 'ActionIdmgrSubj']
91
+ @props = ['childAction', 'data', 'descr', 'dn', 'endTs', 'fail', 'id', 'invErrCode', 'invErrDescr', 'invRslt', 'lcOwn', 'modTs', 'oDn', 'operSt', 'originMinority', 'rn', 'runId', 'startTs', 'status', 'try', 'ts']
92
+ @child_classes = []
93
+ @label = 'None'
94
+ @naming_props = ['id']
95
+
96
+ def rn
97
+ 'tagAliasInstTask-' << @attributes['id'] << ''
98
+ end
99
+ end
100
+ class TagDef < MO
101
+ @class_name = 'tag.Def'
102
+ @ruby_class = 'TagDef'
103
+ @prefix = 'tag-'
104
+ @prefixes = [['tag-', true]]
105
+ @rn_format = 'tag-%(name)s'
106
+ @containers = ['PolUni']
107
+ @props = ['childAction', 'dn', 'lcOwn', 'modTs', 'monPolDn', 'name', 'rn', 'status', 'uid']
108
+ @child_classes = ['FaultCounts', 'HealthInst', 'TagRef']
109
+ @label = 'Tag Definition'
110
+ @naming_props = ['name']
111
+
112
+ def rn
113
+ 'tag-' << @attributes['name'] << ''
114
+ end
115
+ end
116
+ class TagInst < MO
117
+ @class_name = 'tag.Inst'
118
+ @ruby_class = 'TagInst'
119
+ @prefix = 'tag-'
120
+ @prefixes = [['tag-', true]]
121
+ @rn_format = 'tag-%(name)s'
122
+ @containers = ['FvAp', 'EqptBoard', 'VnsEPpInfo', 'MgmtInB', 'FabricPod', 'L3extInstP', 'MgmtInstPDef', 'DhcpPRelPg', 'MgmtOoB', 'FvAEPg', 'L2extInstP', 'EqptExtChFP', 'EqptExtChHP', 'FabricHeartbeat', 'InfraPEPg', 'FabricNode', 'EqptFabP', 'L3extOut', 'InfraCEPg', 'MgmtInstP', 'EqptFC', 'EqptLeafP', 'EqptExtChCard', 'EqptLC', 'EqptSupC', 'FvTenant', 'L2extOut', 'EqptSysC', 'FabricPathEp', 'FvCCg', 'EqptNic', 'DhcpCRelPg', 'DatetimeNtpq']
123
+ @props = ['childAction', 'dn', 'lcOwn', 'modTs', 'monPolDn', 'name', 'rn', 'status', 'uid']
124
+ @child_classes = ['FaultInst', 'FaultCounts', 'HealthInst']
125
+ @label = 'Tag Instance'
126
+ @naming_props = ['name']
127
+
128
+ def rn
129
+ 'tag-' << @attributes['name'] << ''
130
+ end
131
+ end
132
+ class TagInstTask < MO
133
+ @class_name = 'tag.InstTask'
134
+ @ruby_class = 'TagInstTask'
135
+ @prefix = 'tagInstTask-'
136
+ @prefixes = [['tagInstTask-', true]]
137
+ @rn_format = 'tagInstTask-%(id)s'
138
+ @containers = ['ActionTopomgrSubj', 'ActionObserverSubj', 'ActionVmmmgrSubj', 'ActionVleafelemSubj', 'ActionConfelemSubj', 'ActionEventmgrSubj', 'ActionOspaelemSubj', 'ActionVtapSubj', 'ActionOshSubj', 'ActionDhcpdSubj', 'ActionObserverelemSubj', 'ActionDbgrelemSubj', 'ActionScripthandlerSubj', 'ActionNxosmockSubj', 'ActionDbgrSubj', 'ActionAppliancedirectorSubj', 'ActionBootmgrSubj', 'ActionAeSubj', 'ActionPolicymgrSubj', 'ActionExtXMLApiSubj', 'ActionOpflexelemSubj', 'ActionPolicyelemSubj', 'ActionIdmgrSubj']
139
+ @props = ['childAction', 'data', 'descr', 'dn', 'endTs', 'fail', 'id', 'invErrCode', 'invErrDescr', 'invRslt', 'lcOwn', 'modTs', 'oDn', 'operSt', 'originMinority', 'rn', 'runId', 'startTs', 'status', 'try', 'ts']
140
+ @child_classes = []
141
+ @label = 'None'
142
+ @naming_props = ['id']
143
+
144
+ def rn
145
+ 'tagInstTask-' << @attributes['id'] << ''
146
+ end
147
+ end
148
+ class TagObj < MO
149
+ @class_name = 'tag.Obj'
150
+ @ruby_class = 'TagObj'
151
+ @prefix = ''
152
+ @prefixes = []
153
+ @rn_format = ''
154
+ @containers = []
155
+ @props = ['childAction', 'dn', 'name', 'rn', 'status']
156
+ @child_classes = []
157
+ @label = 'None'
158
+ @naming_props = []
159
+
160
+ def rn
161
+ ''
162
+ end
163
+ end
164
+ class TagRef < MO
165
+ @class_name = 'tag.Ref'
166
+ @ruby_class = 'TagRef'
167
+ @prefix = 'ref-'
168
+ @prefixes = [['ref-', true]]
169
+ @rn_format = 'ref-[%(oDn)s]'
170
+ @containers = ['TagAliasDef', 'TagDef']
171
+ @props = ['childAction', 'dn', 'lcOwn', 'modTs', 'monPolDn', 'oCl', 'oDn', 'rn', 'status', 'svc', 'uid']
172
+ @child_classes = ['FaultInst', 'FaultCounts', 'HealthInst']
173
+ @label = 'Tag Reference'
174
+ @naming_props = ['oDn']
175
+
176
+ def rn
177
+ 'ref-[' << @attributes['oDn'] << ']'
178
+ end
179
+ end
180
+ class TagRefTask < MO
181
+ @class_name = 'tag.RefTask'
182
+ @ruby_class = 'TagRefTask'
183
+ @prefix = 'tagRefTask-'
184
+ @prefixes = [['tagRefTask-', true]]
185
+ @rn_format = 'tagRefTask-%(id)s'
186
+ @containers = ['ActionTopomgrSubj', 'ActionObserverSubj', 'ActionVmmmgrSubj', 'ActionVleafelemSubj', 'ActionConfelemSubj', 'ActionEventmgrSubj', 'ActionOspaelemSubj', 'ActionVtapSubj', 'ActionOshSubj', 'ActionDhcpdSubj', 'ActionObserverelemSubj', 'ActionDbgrelemSubj', 'ActionScripthandlerSubj', 'ActionNxosmockSubj', 'ActionDbgrSubj', 'ActionAppliancedirectorSubj', 'ActionBootmgrSubj', 'ActionAeSubj', 'ActionPolicymgrSubj', 'ActionExtXMLApiSubj', 'ActionOpflexelemSubj', 'ActionPolicyelemSubj', 'ActionIdmgrSubj']
187
+ @props = ['childAction', 'data', 'descr', 'dn', 'endTs', 'fail', 'id', 'invErrCode', 'invErrDescr', 'invRslt', 'lcOwn', 'modTs', 'oDn', 'operSt', 'originMinority', 'rn', 'runId', 'startTs', 'status', 'try', 'ts']
188
+ @child_classes = []
189
+ @label = 'None'
190
+ @naming_props = ['id']
191
+
192
+ def rn
193
+ 'tagRefTask-' << @attributes['id'] << ''
194
+ end
195
+ end
196
+
197
+ end
data/lib/acirb/task.rb ADDED
@@ -0,0 +1,53 @@
1
+ # auto-generated code
2
+ require 'mo'
3
+ module ACIrb
4
+ class TaskExec < MO
5
+ @class_name = 'task.Exec'
6
+ @ruby_class = 'TaskExec'
7
+ @prefix = ''
8
+ @prefixes = []
9
+ @rn_format = ''
10
+ @containers = ['ActionLSubj']
11
+ @props = ['adminSt', 'childAction', 'descr', 'dn', 'freq', 'peerClassId', 'rSz', 'rTm', 'rn', 'startTs', 'status', 'type']
12
+ @child_classes = []
13
+ @label = 'None'
14
+ @naming_props = []
15
+
16
+ def rn
17
+ ''
18
+ end
19
+ end
20
+ class TaskInst < MO
21
+ @class_name = 'task.Inst'
22
+ @ruby_class = 'TaskInst'
23
+ @prefix = ''
24
+ @prefixes = []
25
+ @rn_format = ''
26
+ @containers = ['ActionTopomgrSubj', 'ActionObserverSubj', 'ActionVmmmgrSubj', 'ActionVleafelemSubj', 'ActionConfelemSubj', 'ActionEventmgrSubj', 'ActionOspaelemSubj', 'ActionVtapSubj', 'ActionOshSubj', 'ActionDhcpdSubj', 'ActionObserverelemSubj', 'ActionDbgrelemSubj', 'ActionScripthandlerSubj', 'ActionNxosmockSubj', 'ActionDbgrSubj', 'ActionAppliancedirectorSubj', 'ActionBootmgrSubj', 'ActionAeSubj', 'ActionPolicymgrSubj', 'ActionExtXMLApiSubj', 'ActionOpflexelemSubj', 'ActionPolicyelemSubj', 'ActionIdmgrSubj']
27
+ @props = ['childAction', 'data', 'descr', 'dn', 'endTs', 'fail', 'id', 'invErrCode', 'invErrDescr', 'invRslt', 'oDn', 'operSt', 'originMinority', 'rn', 'runId', 'startTs', 'status', 'try', 'ts']
28
+ @child_classes = []
29
+ @label = 'None'
30
+ @naming_props = []
31
+
32
+ def rn
33
+ ''
34
+ end
35
+ end
36
+ class TaskRslt < MO
37
+ @class_name = 'task.Rslt'
38
+ @ruby_class = 'TaskRslt'
39
+ @prefix = ''
40
+ @prefixes = []
41
+ @rn_format = ''
42
+ @containers = ['ActionLSubj']
43
+ @props = ['ack', 'childAction', 'descr', 'dn', 'endTs', 'operSt', 'peerClassId', 'qual', 'rSz', 'rTm', 'rn', 'startTs', 'status', 'type']
44
+ @child_classes = []
45
+ @label = 'None'
46
+ @naming_props = []
47
+
48
+ def rn
49
+ ''
50
+ end
51
+ end
52
+
53
+ end
data/lib/acirb/test.rb ADDED
@@ -0,0 +1,53 @@
1
+ # auto-generated code
2
+ require 'mo'
3
+ module ACIrb
4
+ class TestRslt < MO
5
+ @class_name = 'test.Rslt'
6
+ @ruby_class = 'TestRslt'
7
+ @prefix = ''
8
+ @prefixes = []
9
+ @rn_format = ''
10
+ @containers = []
11
+ @props = ['childAction', 'dn', 'operSt', 'operStqual', 'qual', 'rn', 'status', 'trig', 'ts']
12
+ @child_classes = []
13
+ @label = 'Result'
14
+ @naming_props = []
15
+
16
+ def rn
17
+ ''
18
+ end
19
+ end
20
+ class TestRule < MO
21
+ @class_name = 'test.Rule'
22
+ @ruby_class = 'TestRule'
23
+ @prefix = ''
24
+ @prefixes = []
25
+ @rn_format = ''
26
+ @containers = []
27
+ @props = ['childAction', 'descr', 'dn', 'freq', 'name', 'ownerKey', 'ownerTag', 'rn', 'status', 'trig']
28
+ @child_classes = ['FaultDelegate']
29
+ @label = 'Rule'
30
+ @naming_props = []
31
+
32
+ def rn
33
+ ''
34
+ end
35
+ end
36
+ class TestSubj < MO
37
+ @class_name = 'test.Subj'
38
+ @ruby_class = 'TestSubj'
39
+ @prefix = ''
40
+ @prefixes = []
41
+ @rn_format = ''
42
+ @containers = []
43
+ @props = ['childAction', 'dn', 'firstExecFailTs', 'lastExecFailQual', 'lastExecFailTs', 'lastExecPassTs', 'lastExecTs', 'nextExecTs', 'numExec', 'numExecConsFail', 'numExecFail', 'oDn', 'oPk', 'oSk', 'operSt', 'operStQual', 'rn', 'status']
44
+ @child_classes = []
45
+ @label = 'Subject'
46
+ @naming_props = []
47
+
48
+ def rn
49
+ ''
50
+ end
51
+ end
52
+
53
+ end
@@ -0,0 +1,133 @@
1
+ # auto-generated code
2
+ require 'mo'
3
+ module ACIrb
4
+ class TestinfralabBudget < MO
5
+ @class_name = 'testinfralab.Budget'
6
+ @ruby_class = 'TestinfralabBudget'
7
+ @prefix = 'budget'
8
+ @prefixes = [['budget', false]]
9
+ @rn_format = 'budget'
10
+ @containers = ['TestinfralabCont']
11
+ @props = ['childAction', 'dn', 'lcOwn', 'modTs', 'rn', 'skHigh', 'skLow', 'status', 'totAmt', 'uid']
12
+ @child_classes = []
13
+ @label = 'None'
14
+ @naming_props = []
15
+
16
+ def rn
17
+ 'budget'
18
+ end
19
+ end
20
+ class TestinfralabCont < MO
21
+ @class_name = 'testinfralab.Cont'
22
+ @ruby_class = 'TestinfralabCont'
23
+ @prefix = 'testInfraLab-'
24
+ @prefixes = [['testInfraLab-', true]]
25
+ @rn_format = 'testInfraLab-%(name)s'
26
+ @containers = ['SyntheticUniverse']
27
+ @props = ['childAction', 'dn', 'id', 'lcOwn', 'modTs', 'name', 'rn', 'status', 'uid']
28
+ @child_classes = ['FaultCounts', 'HealthInst', 'TestinfralabSnackP', 'TestinfralabFreebies', 'TestinfralabBudget', 'TestinfralabSnackC']
29
+ @label = 'None'
30
+ @naming_props = ['name']
31
+
32
+ def rn
33
+ 'testInfraLab-' << @attributes['name'] << ''
34
+ end
35
+ end
36
+ class TestinfralabFreebies < MO
37
+ @class_name = 'testinfralab.Freebies'
38
+ @ruby_class = 'TestinfralabFreebies'
39
+ @prefix = 'freebies-'
40
+ @prefixes = [['freebies-', true]]
41
+ @rn_format = 'freebies-%(category)s'
42
+ @containers = ['TestinfralabCont']
43
+ @props = ['category', 'childAction', 'dn', 'lcOwn', 'modTs', 'rn', 'skBdgt', 'status']
44
+ @child_classes = ['FaultInst', 'FaultCounts', 'HealthInst', 'TestinfralabRsSnacks']
45
+ @label = 'None'
46
+ @naming_props = ['category']
47
+
48
+ def rn
49
+ 'freebies-' << @attributes['category'] << ''
50
+ end
51
+ end
52
+ class TestinfralabFreebiesTask < MO
53
+ @class_name = 'testinfralab.FreebiesTask'
54
+ @ruby_class = 'TestinfralabFreebiesTask'
55
+ @prefix = 'testinfralabFreebiesTask-'
56
+ @prefixes = [['testinfralabFreebiesTask-', true]]
57
+ @rn_format = 'testinfralabFreebiesTask-%(id)s'
58
+ @containers = ['ActionTopomgrSubj', 'ActionObserverSubj', 'ActionVmmmgrSubj', 'ActionVleafelemSubj', 'ActionConfelemSubj', 'ActionEventmgrSubj', 'ActionOspaelemSubj', 'ActionVtapSubj', 'ActionOshSubj', 'ActionDhcpdSubj', 'ActionObserverelemSubj', 'ActionDbgrelemSubj', 'ActionScripthandlerSubj', 'ActionNxosmockSubj', 'ActionDbgrSubj', 'ActionAppliancedirectorSubj', 'ActionBootmgrSubj', 'ActionAeSubj', 'ActionPolicymgrSubj', 'ActionExtXMLApiSubj', 'ActionOpflexelemSubj', 'ActionPolicyelemSubj', 'ActionIdmgrSubj']
59
+ @props = ['childAction', 'data', 'descr', 'dn', 'endTs', 'fail', 'id', 'invErrCode', 'invErrDescr', 'invRslt', 'lcOwn', 'modTs', 'oDn', 'operSt', 'originMinority', 'rn', 'runId', 'startTs', 'status', 'try', 'ts']
60
+ @child_classes = []
61
+ @label = 'None'
62
+ @naming_props = ['id']
63
+
64
+ def rn
65
+ 'testinfralabFreebiesTask-' << @attributes['id'] << ''
66
+ end
67
+ end
68
+ class TestinfralabRsSnacks < MO
69
+ @class_name = 'testinfralab.RsSnacks'
70
+ @ruby_class = 'TestinfralabRsSnacks'
71
+ @prefix = 'rssnacks-'
72
+ @prefixes = [['rssnacks-', true]]
73
+ @rn_format = 'rssnacks-[%(tDn)s]'
74
+ @containers = ['TestinfralabFreebies']
75
+ @props = ['childAction', 'dn', 'forceResolve', 'lcOwn', 'modTs', 'rType', 'rn', 'state', 'stateQual', 'status', 'tCl', 'tDn', 'tType', 'uid']
76
+ @child_classes = ['FaultInst', 'FaultCounts', 'HealthInst']
77
+ @label = 'None'
78
+ @naming_props = ['tDn']
79
+
80
+ def rn
81
+ 'rssnacks-[' << @attributes['tDn'] << ']'
82
+ end
83
+ end
84
+ class TestinfralabRtSnacks < MO
85
+ @class_name = 'testinfralab.RtSnacks'
86
+ @ruby_class = 'TestinfralabRtSnacks'
87
+ @prefix = 'rtsnacks'
88
+ @prefixes = [['rtsnacks', false]]
89
+ @rn_format = 'rtsnacks'
90
+ @containers = ['TestinfralabSnackP']
91
+ @props = ['childAction', 'dn', 'lcOwn', 'modTs', 'rn', 'status', 'tCl', 'tDn']
92
+ @child_classes = []
93
+ @label = 'None'
94
+ @naming_props = []
95
+
96
+ def rn
97
+ 'rtsnacks'
98
+ end
99
+ end
100
+ class TestinfralabSnackC < MO
101
+ @class_name = 'testinfralab.SnackC'
102
+ @ruby_class = 'TestinfralabSnackC'
103
+ @prefix = 'snackC-'
104
+ @prefixes = [['snackC-', true]]
105
+ @rn_format = 'snackC-%(sType)s'
106
+ @containers = ['TestinfralabCont']
107
+ @props = ['childAction', 'dn', 'lcOwn', 'modTs', 'rn', 'sType', 'status', 'wklyBdgt']
108
+ @child_classes = []
109
+ @label = 'None'
110
+ @naming_props = ['sType']
111
+
112
+ def rn
113
+ 'snackC-' << @attributes['sType'] << ''
114
+ end
115
+ end
116
+ class TestinfralabSnackP < MO
117
+ @class_name = 'testinfralab.SnackP'
118
+ @ruby_class = 'TestinfralabSnackP'
119
+ @prefix = 'snackp-'
120
+ @prefixes = [['snackp-', true]]
121
+ @rn_format = 'snackp-%(name)s'
122
+ @containers = ['TestinfralabCont']
123
+ @props = ['bdgt', 'category', 'childAction', 'dn', 'id', 'lcOwn', 'modTs', 'name', 'rn', 'status', 'uid']
124
+ @child_classes = ['TestinfralabRtSnacks']
125
+ @label = 'None'
126
+ @naming_props = ['name']
127
+
128
+ def rn
129
+ 'snackp-' << @attributes['name'] << ''
130
+ end
131
+ end
132
+
133
+ end