puppet_x_eos_eapi 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/Gemfile +24 -0
- data/LICENSE.txt +202 -0
- data/README.md +87 -0
- data/Rakefile +1 -0
- data/lib/puppet_x/eos/autoload.rb +57 -0
- data/lib/puppet_x/eos/eapi.rb +259 -0
- data/lib/puppet_x/eos/module_base.rb +37 -0
- data/lib/puppet_x/eos/modules/daemon.rb +109 -0
- data/lib/puppet_x/eos/modules/extension.rb +167 -0
- data/lib/puppet_x/eos/modules/interface.rb +180 -0
- data/lib/puppet_x/eos/modules/ipinterface.rb +133 -0
- data/lib/puppet_x/eos/modules/mlag.rb +268 -0
- data/lib/puppet_x/eos/modules/ntp.rb +129 -0
- data/lib/puppet_x/eos/modules/ospf.rb +129 -0
- data/lib/puppet_x/eos/modules/portchannel.rb +277 -0
- data/lib/puppet_x/eos/modules/radius.rb +367 -0
- data/lib/puppet_x/eos/modules/snmp.rb +177 -0
- data/lib/puppet_x/eos/modules/switchport.rb +255 -0
- data/lib/puppet_x/eos/modules/system.rb +138 -0
- data/lib/puppet_x/eos/modules/tacacs.rb +302 -0
- data/lib/puppet_x/eos/modules/vlan.rb +179 -0
- data/lib/puppet_x/eos/modules/vxlan.rb +132 -0
- data/lib/puppet_x/eos/provider.rb +71 -0
- data/lib/puppet_x/eos/version.rb +41 -0
- data/lib/puppet_x/net_dev/eos_api.rb +1011 -0
- data/lib/puppet_x/net_dev/eos_api/common_methods.rb +27 -0
- data/lib/puppet_x/net_dev/eos_api/snmp_methods.rb +647 -0
- data/lib/puppet_x/net_dev/eos_api/version.rb +8 -0
- data/lib/puppet_x_eos_eapi.rb +4 -0
- data/puppet_x_eos_eapi.gemspec +31 -0
- data/spec/fixtures/fixture_all_portchannel_modes.json +8 -0
- data/spec/fixtures/fixture_all_portchannels_detailed.json +15 -0
- data/spec/fixtures/fixture_create_vlan_error.json +17 -0
- data/spec/fixtures/fixture_create_vlan_success.json +12 -0
- data/spec/fixtures/fixture_eapi_conf.yaml +4 -0
- data/spec/fixtures/fixture_enable_configure_vlan_3111_name_foo.json +14 -0
- data/spec/fixtures/fixture_enable_configure_vlan_foo_name_bar.json +19 -0
- data/spec/fixtures/fixture_get_snmp_communities_non_existent_acl.yaml +2 -0
- data/spec/fixtures/fixture_get_snmp_location_westeros.json +5 -0
- data/spec/fixtures/fixture_portchannel_min_links_1.json +8 -0
- data/spec/fixtures/fixture_portchannel_min_links_2.json +8 -0
- data/spec/fixtures/fixture_running_config.yaml +1 -0
- data/spec/fixtures/fixture_running_configuration_radius_configured.yaml +30 -0
- data/spec/fixtures/fixture_running_configuration_radius_default.yaml +29 -0
- data/spec/fixtures/fixture_running_configuration_radius_server_groups.yaml +38 -0
- data/spec/fixtures/fixture_running_configuration_radius_servers.yaml +34 -0
- data/spec/fixtures/fixture_running_configuration_tacacs_configured.yaml +38 -0
- data/spec/fixtures/fixture_running_configuration_tacacs_default.yaml +38 -0
- data/spec/fixtures/fixture_running_configuration_tacacs_groups.yaml +1 -0
- data/spec/fixtures/fixture_running_configuration_tacacs_groups_3.yaml +43 -0
- data/spec/fixtures/fixture_running_configuration_tacacs_servers.yaml +41 -0
- data/spec/fixtures/fixture_s4_show_etherchannel_detailed.json +9 -0
- data/spec/fixtures/fixture_show_flowcontrol_et1.json +5 -0
- data/spec/fixtures/fixture_show_interfaces.json +297 -0
- data/spec/fixtures/fixture_show_interfaces_switchport_format_text.json +9 -0
- data/spec/fixtures/fixture_show_port_channel_summary_2_lags.json +9 -0
- data/spec/fixtures/fixture_show_port_channel_summary_static.json +9 -0
- data/spec/fixtures/fixture_show_snmp_community.yaml +2 -0
- data/spec/fixtures/fixture_show_snmp_contact_empty.json +5 -0
- data/spec/fixtures/fixture_show_snmp_contact_name.json +5 -0
- data/spec/fixtures/fixture_show_snmp_disabled.json +5 -0
- data/spec/fixtures/fixture_show_snmp_enabled.json +5 -0
- data/spec/fixtures/fixture_show_snmp_host.yaml +2 -0
- data/spec/fixtures/fixture_show_snmp_host_duplicates.yaml +2 -0
- data/spec/fixtures/fixture_show_snmp_host_more_duplicates.yaml +2 -0
- data/spec/fixtures/fixture_show_snmp_location_empty.json +5 -0
- data/spec/fixtures/fixture_show_snmp_trap.yaml +2 -0
- data/spec/fixtures/fixture_show_snmp_user.yaml +2 -0
- data/spec/fixtures/fixture_show_snmp_user_raw_text.yaml +1 -0
- data/spec/fixtures/fixture_show_vlan.json +37 -0
- data/spec/fixtures/fixture_show_vlan_3110.json +18 -0
- data/spec/fixtures/fixture_show_vlan_4000.json +18 -0
- data/spec/fixtures/fixture_snmp_host_opts.yaml +11 -0
- data/spec/spec_helper.rb +21 -0
- data/spec/support/fixtures.rb +104 -0
- data/spec/unit/puppet_x/eos/eapi_spec.rb +182 -0
- data/spec/unit/puppet_x/eos/module_base_spec.rb +26 -0
- data/spec/unit/puppet_x/eos/modules/daemon_spec.rb +110 -0
- data/spec/unit/puppet_x/eos/modules/extension_spec.rb +197 -0
- data/spec/unit/puppet_x/eos/modules/fixtures/daemon_getall.json +3 -0
- data/spec/unit/puppet_x/eos/modules/fixtures/extension_getall.json +28 -0
- data/spec/unit/puppet_x/eos/modules/fixtures/hostname.json +6 -0
- data/spec/unit/puppet_x/eos/modules/fixtures/interface_getall.json +509 -0
- data/spec/unit/puppet_x/eos/modules/fixtures/ipinterface_getall.json +56 -0
- data/spec/unit/puppet_x/eos/modules/fixtures/mlag_get.json +21 -0
- data/spec/unit/puppet_x/eos/modules/fixtures/mlag_get_interfaces.json +18 -0
- data/spec/unit/puppet_x/eos/modules/fixtures/ntp_get.json +5 -0
- data/spec/unit/puppet_x/eos/modules/fixtures/ospf_instance_getall.json +58 -0
- data/spec/unit/puppet_x/eos/modules/fixtures/portchannel_get.json +54 -0
- data/spec/unit/puppet_x/eos/modules/fixtures/portchannel_getlacpmode.json +5 -0
- data/spec/unit/puppet_x/eos/modules/fixtures/portchannel_getmembers.json +5 -0
- data/spec/unit/puppet_x/eos/modules/fixtures/portchannel_po1.json +7 -0
- data/spec/unit/puppet_x/eos/modules/fixtures/snmp_get.json +14 -0
- data/spec/unit/puppet_x/eos/modules/fixtures/switchport_get.json +5 -0
- data/spec/unit/puppet_x/eos/modules/fixtures/switchport_get_et1.json +7 -0
- data/spec/unit/puppet_x/eos/modules/fixtures/switchport_getall_interfaces.json +230 -0
- data/spec/unit/puppet_x/eos/modules/fixtures/system_domain_list.json +5 -0
- data/spec/unit/puppet_x/eos/modules/fixtures/system_domain_name.json +5 -0
- data/spec/unit/puppet_x/eos/modules/fixtures/system_hostname.json +6 -0
- data/spec/unit/puppet_x/eos/modules/fixtures/system_name_servers.json +5 -0
- data/spec/unit/puppet_x/eos/modules/fixtures/vlan_getall.json +123 -0
- data/spec/unit/puppet_x/eos/modules/fixtures/vxlan_get.json +24 -0
- data/spec/unit/puppet_x/eos/modules/interface_spec.rb +281 -0
- data/spec/unit/puppet_x/eos/modules/ipinterface_spec.rb +143 -0
- data/spec/unit/puppet_x/eos/modules/mlag_spec.rb +349 -0
- data/spec/unit/puppet_x/eos/modules/ntp_spec.rb +136 -0
- data/spec/unit/puppet_x/eos/modules/ospf_spec.rb +143 -0
- data/spec/unit/puppet_x/eos/modules/portchannel_spec.rb +357 -0
- data/spec/unit/puppet_x/eos/modules/radius_spec.rb +509 -0
- data/spec/unit/puppet_x/eos/modules/snmp_spec.rb +202 -0
- data/spec/unit/puppet_x/eos/modules/switchport_get_et1.json +7 -0
- data/spec/unit/puppet_x/eos/modules/switchport_spec.rb +307 -0
- data/spec/unit/puppet_x/eos/modules/system_spec.rb +170 -0
- data/spec/unit/puppet_x/eos/modules/tacacs_spec.rb +448 -0
- data/spec/unit/puppet_x/eos/modules/vlan_spec.rb +244 -0
- data/spec/unit/puppet_x/eos/modules/vxlan_spec.rb +189 -0
- data/spec/unit/puppet_x/eos/provider_spec.rb +35 -0
- data/spec/unit/puppet_x/net_dev/eos_api/common_methods_spec.rb +34 -0
- data/spec/unit/puppet_x/net_dev/eos_api/snmp_methods_spec.rb +842 -0
- data/spec/unit/puppet_x/net_dev/eos_api_spec.rb +1000 -0
- metadata +369 -0
@@ -0,0 +1,56 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"interfaces": {
|
4
|
+
"Management1": {
|
5
|
+
"interfaceAddress": {
|
6
|
+
"secondaryIpsOrderedList": [],
|
7
|
+
"broadcastAddress": "255.255.255.255",
|
8
|
+
"secondaryIps": {},
|
9
|
+
"primaryIp": {
|
10
|
+
"maskLen": 24,
|
11
|
+
"address": "192.168.1.16"
|
12
|
+
},
|
13
|
+
"virtualIp": {
|
14
|
+
"maskLen": 0,
|
15
|
+
"address": "0.0.0.0"
|
16
|
+
}
|
17
|
+
},
|
18
|
+
"name": "Management1",
|
19
|
+
"urpf": "disable",
|
20
|
+
"interfaceStatus": "connected",
|
21
|
+
"enabled": true,
|
22
|
+
"mtu": 1500,
|
23
|
+
"vrf": "default",
|
24
|
+
"localProxyArp": false,
|
25
|
+
"proxyArp": false,
|
26
|
+
"lineProtocolStatus": "up",
|
27
|
+
"description": ""
|
28
|
+
},
|
29
|
+
"Ethernet1": {
|
30
|
+
"interfaceAddress": {
|
31
|
+
"secondaryIpsOrderedList": [],
|
32
|
+
"broadcastAddress": "255.255.255.255",
|
33
|
+
"secondaryIps": {},
|
34
|
+
"primaryIp": {
|
35
|
+
"maskLen": 24,
|
36
|
+
"address": "172.16.10.1"
|
37
|
+
},
|
38
|
+
"virtualIp": {
|
39
|
+
"maskLen": 0,
|
40
|
+
"address": "0.0.0.0"
|
41
|
+
}
|
42
|
+
},
|
43
|
+
"name": "Ethernet1",
|
44
|
+
"urpf": "disable",
|
45
|
+
"interfaceStatus": "connected",
|
46
|
+
"enabled": true,
|
47
|
+
"mtu": 1500,
|
48
|
+
"vrf": "default",
|
49
|
+
"localProxyArp": false,
|
50
|
+
"proxyArp": false,
|
51
|
+
"lineProtocolStatus": "up",
|
52
|
+
"description": ""
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
]
|
@@ -0,0 +1,21 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"localInterface": "Vlan4094",
|
4
|
+
"domainId": "foo",
|
5
|
+
"peerLink": "Ethernet7",
|
6
|
+
"localIntfStatus": "lowerLayerDown",
|
7
|
+
"peerAddress": "11.11.11.1",
|
8
|
+
"portsErrdisabled": false,
|
9
|
+
"state": "disabled",
|
10
|
+
"reloadDelay": 300,
|
11
|
+
"reloadDelayNonMlag": 300,
|
12
|
+
"peerLinkStatus": "up",
|
13
|
+
"mlagPorts": {
|
14
|
+
"Disabled": 0,
|
15
|
+
"Active-partial": 0,
|
16
|
+
"Inactive": 0,
|
17
|
+
"Configured": 0,
|
18
|
+
"Active-full": 0
|
19
|
+
}
|
20
|
+
}
|
21
|
+
]
|
@@ -0,0 +1,18 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"interfaces": {
|
4
|
+
"1": {
|
5
|
+
"localInterface": "Port-Channel1",
|
6
|
+
"status": "n/a",
|
7
|
+
"peerInterfaceStatus": "unknown",
|
8
|
+
"localInterfaceStatus": "unknown"
|
9
|
+
},
|
10
|
+
"2": {
|
11
|
+
"localInterface": "Port-Channel2",
|
12
|
+
"status": "n/a",
|
13
|
+
"peerInterfaceStatus": "unknown",
|
14
|
+
"localInterfaceStatus": "unknown"
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
]
|
@@ -0,0 +1,58 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"vrfs": {
|
4
|
+
"default": {
|
5
|
+
"instList": {
|
6
|
+
"1": {
|
7
|
+
"asbr": false,
|
8
|
+
"lsaInformation": {
|
9
|
+
"numLsa": 0,
|
10
|
+
"lsaStartInterval": 1000,
|
11
|
+
"lsaMaxWaitInterval": 5000,
|
12
|
+
"lsaHoldInterval": 5000,
|
13
|
+
"lsaArrivalInterval": 1000
|
14
|
+
},
|
15
|
+
"numAreas": 0,
|
16
|
+
"externalLsaInformation": {
|
17
|
+
"asExternalCksum": 0,
|
18
|
+
"treeSize": 0
|
19
|
+
},
|
20
|
+
"instanceId": 1,
|
21
|
+
"ecmpMaximumNexthops": 16,
|
22
|
+
"numStubAreas": 0,
|
23
|
+
"adjacencyExchangeStartThreshold": 20,
|
24
|
+
"routerId": "1.1.1.1",
|
25
|
+
"abr": false,
|
26
|
+
"numNormalAreas": 0,
|
27
|
+
"maxLsaInformation": {
|
28
|
+
"maxLsaCurrentIgnoreCount": 0,
|
29
|
+
"maxLsaThreshold": 75,
|
30
|
+
"maxLsaIgnoring": false,
|
31
|
+
"maxLsaAllowedIgnoreCount": 5,
|
32
|
+
"maxLsa": 12000,
|
33
|
+
"maxLsaResetTime": 5,
|
34
|
+
"maxLsaIgnoreTime": 5
|
35
|
+
},
|
36
|
+
"spfInformation": {
|
37
|
+
"spfStartInterval": 0,
|
38
|
+
"spfMaxWaitInterval": 5000,
|
39
|
+
"spfCurrHoldInterval": 5000,
|
40
|
+
"spfHoldInterval": 5000,
|
41
|
+
"spfInterval": 5000,
|
42
|
+
"lastSpf": 19086,
|
43
|
+
"nextSpf": 0
|
44
|
+
},
|
45
|
+
"vrf": "default",
|
46
|
+
"numNssaAreas": 0,
|
47
|
+
"opaqueLsaInformation": {
|
48
|
+
"opaqueTreeSize": 0,
|
49
|
+
"opaque": true,
|
50
|
+
"opaqueCksum": 0
|
51
|
+
},
|
52
|
+
"areaList": {}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
]
|
@@ -0,0 +1,54 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"interfaces": {
|
4
|
+
"Port-Channel1": {
|
5
|
+
"lastStatusChangeTimestamp": 1414437956.54,
|
6
|
+
"name": "Port-Channel1",
|
7
|
+
"interfaceStatus": "connected",
|
8
|
+
"memberInterfaces": {
|
9
|
+
"Ethernet2": {
|
10
|
+
"duplex": "duplexFull",
|
11
|
+
"bandwidth": 10000000000
|
12
|
+
},
|
13
|
+
"Ethernet1": {
|
14
|
+
"duplex": "duplexFull",
|
15
|
+
"bandwidth": 10000000000
|
16
|
+
}
|
17
|
+
},
|
18
|
+
"fallbackEnabled": false,
|
19
|
+
"mtu": 9214,
|
20
|
+
"hardware": "portChannel",
|
21
|
+
"bandwidth": 20000000000,
|
22
|
+
"forwardingModel": "bridged",
|
23
|
+
"lineProtocolStatus": "up",
|
24
|
+
"interfaceCounters": {
|
25
|
+
"outBroadcastPkts": 0,
|
26
|
+
"linkStatusChanges": 2,
|
27
|
+
"totalOutErrors": 0,
|
28
|
+
"inMulticastPkts": 20,
|
29
|
+
"counterRefreshTime": 1414445484.92,
|
30
|
+
"inBroadcastPkts": 32,
|
31
|
+
"outOctets": 550848,
|
32
|
+
"outDiscards": 0,
|
33
|
+
"inOctets": 10218,
|
34
|
+
"inUcastPkts": 0,
|
35
|
+
"outUcastPkts": 0,
|
36
|
+
"outMulticastPkts": 4208,
|
37
|
+
"totalInErrors": 0,
|
38
|
+
"inDiscards": 0
|
39
|
+
},
|
40
|
+
"fallbackEnabledType": "fallbackNone",
|
41
|
+
"interfaceStatistics": {
|
42
|
+
"inBitsRate": 22.574270092,
|
43
|
+
"outBitsRate": 582.010233821,
|
44
|
+
"inPktsRate": 0.0156000789598,
|
45
|
+
"updateInterval": 300,
|
46
|
+
"outPktsRate": 0.55693078184
|
47
|
+
},
|
48
|
+
"interfaceAddress": [],
|
49
|
+
"physicalAddress": "00:50:56:3f:0c:0b",
|
50
|
+
"description": ""
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
]
|
@@ -0,0 +1,5 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"output": "Name: Et1\nSwitchport: Enabled\nAdministrative Mode: static access\nOperational Mode: static access\nMAC Address Learning: enabled\nAccess Mode VLAN: 1 (default)\nTrunking Native Mode VLAN: 1 (default)\nAdministrative Native VLAN tagging: disabled\nAdministrative private VLAN mapping: ALL\nTrunking VLANs Enabled: ALL\nTrunk Groups: \n\n"
|
4
|
+
}
|
5
|
+
]
|
@@ -0,0 +1,230 @@
|
|
1
|
+
[{
|
2
|
+
"interfaces": {
|
3
|
+
"Management1": {
|
4
|
+
"lastStatusChangeTimestamp": 1413835446.51,
|
5
|
+
"name": "Management1",
|
6
|
+
"duplex": "duplexFull",
|
7
|
+
"autoNegotiate": "success",
|
8
|
+
"burnedInAddress": "00:1c:73:2a:00:01",
|
9
|
+
"mtu": 1500,
|
10
|
+
"hardware": "ethernet",
|
11
|
+
"interfaceStatus": "connected",
|
12
|
+
"bandwidth": 1000000000,
|
13
|
+
"forwardingModel": "routed",
|
14
|
+
"lineProtocolStatus": "up",
|
15
|
+
"interfaceCounters": {
|
16
|
+
"outBroadcastPkts": 0,
|
17
|
+
"linkStatusChanges": 3,
|
18
|
+
"totalOutErrors": 0,
|
19
|
+
"inMulticastPkts": 0,
|
20
|
+
"counterRefreshTime": 1414178978.69,
|
21
|
+
"inBroadcastPkts": 0,
|
22
|
+
"outputErrorsDetail": {
|
23
|
+
"deferredTransmissions": 0,
|
24
|
+
"txPause": 0,
|
25
|
+
"collisions": 0,
|
26
|
+
"lateCollisions": 0
|
27
|
+
},
|
28
|
+
"outOctets": 26695361,
|
29
|
+
"outDiscards": 0,
|
30
|
+
"inOctets": 83207596,
|
31
|
+
"inUcastPkts": 0,
|
32
|
+
"inputErrorsDetail": {
|
33
|
+
"runtFrames": 0,
|
34
|
+
"rxPause": 0,
|
35
|
+
"fcsErrors": 0,
|
36
|
+
"alignmentErrors": 0,
|
37
|
+
"giantFrames": 0,
|
38
|
+
"symbolErrors": 0
|
39
|
+
},
|
40
|
+
"outUcastPkts": 111834,
|
41
|
+
"outMulticastPkts": 0,
|
42
|
+
"totalInErrors": 0,
|
43
|
+
"inDiscards": 0
|
44
|
+
},
|
45
|
+
"interfaceStatistics": {
|
46
|
+
"inBitsRate": 2283.18240999,
|
47
|
+
"outBitsRate": 843.217442658,
|
48
|
+
"inPktsRate": 0,
|
49
|
+
"updateInterval": 300,
|
50
|
+
"outPktsRate": 0.591540709535
|
51
|
+
},
|
52
|
+
"interfaceAddress": [
|
53
|
+
{
|
54
|
+
"secondaryIpsOrderedList": [],
|
55
|
+
"broadcastAddress": "255.255.255.255",
|
56
|
+
"secondaryIps": {},
|
57
|
+
"primaryIp": {
|
58
|
+
"maskLen": 24,
|
59
|
+
"address": "192.168.1.16"
|
60
|
+
},
|
61
|
+
"virtualIp": {
|
62
|
+
"maskLen": 0,
|
63
|
+
"address": "0.0.0.0"
|
64
|
+
}
|
65
|
+
}
|
66
|
+
],
|
67
|
+
"physicalAddress": "00:1c:73:2a:00:01",
|
68
|
+
"description": ""
|
69
|
+
},
|
70
|
+
"Ethernet2": {
|
71
|
+
"lastStatusChangeTimestamp": 1413835446.79,
|
72
|
+
"name": "Ethernet2",
|
73
|
+
"duplex": "duplexFull",
|
74
|
+
"autoNegotiate": "unknown",
|
75
|
+
"burnedInAddress": "00:50:56:3f:db:ec",
|
76
|
+
"mtu": 9214,
|
77
|
+
"hardware": "ethernet",
|
78
|
+
"interfaceStatus": "connected",
|
79
|
+
"bandwidth": 10000000000,
|
80
|
+
"forwardingModel": "routed",
|
81
|
+
"lineProtocolStatus": "up",
|
82
|
+
"interfaceCounters": {
|
83
|
+
"outBroadcastPkts": 301,
|
84
|
+
"linkStatusChanges": 1,
|
85
|
+
"totalOutErrors": 0,
|
86
|
+
"inMulticastPkts": 1332,
|
87
|
+
"counterRefreshTime": 1414178978.65,
|
88
|
+
"inBroadcastPkts": 301,
|
89
|
+
"outputErrorsDetail": {
|
90
|
+
"deferredTransmissions": 0,
|
91
|
+
"txPause": 0,
|
92
|
+
"collisions": 0,
|
93
|
+
"lateCollisions": 0
|
94
|
+
},
|
95
|
+
"outOctets": 23185631,
|
96
|
+
"outDiscards": 0,
|
97
|
+
"inOctets": 262010,
|
98
|
+
"inUcastPkts": 0,
|
99
|
+
"inputErrorsDetail": {
|
100
|
+
"runtFrames": 0,
|
101
|
+
"rxPause": 0,
|
102
|
+
"fcsErrors": 0,
|
103
|
+
"alignmentErrors": 0,
|
104
|
+
"giantFrames": 0,
|
105
|
+
"symbolErrors": 0
|
106
|
+
},
|
107
|
+
"outUcastPkts": 0,
|
108
|
+
"outMulticastPkts": 181558,
|
109
|
+
"totalInErrors": 0,
|
110
|
+
"inDiscards": 0
|
111
|
+
},
|
112
|
+
"interfaceStatistics": {
|
113
|
+
"inBitsRate": 0,
|
114
|
+
"outBitsRate": 0,
|
115
|
+
"inPktsRate": 0,
|
116
|
+
"updateInterval": 300,
|
117
|
+
"outPktsRate": 0
|
118
|
+
},
|
119
|
+
"interfaceAddress": [],
|
120
|
+
"physicalAddress": "00:50:56:3f:db:ec",
|
121
|
+
"description": ""
|
122
|
+
},
|
123
|
+
"Ethernet3": {
|
124
|
+
"lastStatusChangeTimestamp": 1413835446.79,
|
125
|
+
"name": "Ethernet3",
|
126
|
+
"duplex": "duplexFull",
|
127
|
+
"autoNegotiate": "unknown",
|
128
|
+
"burnedInAddress": "00:50:56:27:98:44",
|
129
|
+
"mtu": 9214,
|
130
|
+
"hardware": "ethernet",
|
131
|
+
"interfaceStatus": "connected",
|
132
|
+
"bandwidth": 10000000000,
|
133
|
+
"forwardingModel": "routed",
|
134
|
+
"lineProtocolStatus": "up",
|
135
|
+
"interfaceCounters": {
|
136
|
+
"outBroadcastPkts": 602,
|
137
|
+
"linkStatusChanges": 1,
|
138
|
+
"totalOutErrors": 0,
|
139
|
+
"inMulticastPkts": 0,
|
140
|
+
"counterRefreshTime": 1414178978.66,
|
141
|
+
"inBroadcastPkts": 0,
|
142
|
+
"outputErrorsDetail": {
|
143
|
+
"deferredTransmissions": 0,
|
144
|
+
"txPause": 0,
|
145
|
+
"collisions": 0,
|
146
|
+
"lateCollisions": 0
|
147
|
+
},
|
148
|
+
"outOctets": 23450434,
|
149
|
+
"outDiscards": 0,
|
150
|
+
"inOctets": 0,
|
151
|
+
"inUcastPkts": 0,
|
152
|
+
"inputErrorsDetail": {
|
153
|
+
"runtFrames": 0,
|
154
|
+
"rxPause": 0,
|
155
|
+
"fcsErrors": 0,
|
156
|
+
"alignmentErrors": 0,
|
157
|
+
"giantFrames": 0,
|
158
|
+
"symbolErrors": 0
|
159
|
+
},
|
160
|
+
"outUcastPkts": 0,
|
161
|
+
"outMulticastPkts": 182911,
|
162
|
+
"totalInErrors": 0,
|
163
|
+
"inDiscards": 0
|
164
|
+
},
|
165
|
+
"interfaceStatistics": {
|
166
|
+
"inBitsRate": 0,
|
167
|
+
"outBitsRate": 0,
|
168
|
+
"inPktsRate": 0,
|
169
|
+
"updateInterval": 300,
|
170
|
+
"outPktsRate": 0
|
171
|
+
},
|
172
|
+
"interfaceAddress": [],
|
173
|
+
"physicalAddress": "00:50:56:27:98:44",
|
174
|
+
"description": ""
|
175
|
+
},
|
176
|
+
"Ethernet1": {
|
177
|
+
"lastStatusChangeTimestamp": 1413835446.78,
|
178
|
+
"name": "Ethernet1",
|
179
|
+
"duplex": "duplexFull",
|
180
|
+
"autoNegotiate": "unknown",
|
181
|
+
"burnedInAddress": "00:50:56:3f:0c:0b",
|
182
|
+
"mtu": 9214,
|
183
|
+
"hardware": "ethernet",
|
184
|
+
"interfaceStatus": "connected",
|
185
|
+
"bandwidth": 10000000000,
|
186
|
+
"forwardingModel": "bridged",
|
187
|
+
"lineProtocolStatus": "up",
|
188
|
+
"interfaceCounters": {
|
189
|
+
"outBroadcastPkts": 301,
|
190
|
+
"linkStatusChanges": 1,
|
191
|
+
"totalOutErrors": 0,
|
192
|
+
"inMulticastPkts": 1324,
|
193
|
+
"counterRefreshTime": 1414178978.65,
|
194
|
+
"inBroadcastPkts": 301,
|
195
|
+
"outputErrorsDetail": {
|
196
|
+
"deferredTransmissions": 0,
|
197
|
+
"txPause": 0,
|
198
|
+
"collisions": 0,
|
199
|
+
"lateCollisions": 0
|
200
|
+
},
|
201
|
+
"outOctets": 23187155,
|
202
|
+
"outDiscards": 0,
|
203
|
+
"inOctets": 260609,
|
204
|
+
"inUcastPkts": 0,
|
205
|
+
"inputErrorsDetail": {
|
206
|
+
"runtFrames": 0,
|
207
|
+
"rxPause": 0,
|
208
|
+
"fcsErrors": 0,
|
209
|
+
"alignmentErrors": 0,
|
210
|
+
"giantFrames": 0,
|
211
|
+
"symbolErrors": 0
|
212
|
+
},
|
213
|
+
"outUcastPkts": 0,
|
214
|
+
"outMulticastPkts": 181567,
|
215
|
+
"totalInErrors": 0,
|
216
|
+
"inDiscards": 0
|
217
|
+
},
|
218
|
+
"interfaceStatistics": {
|
219
|
+
"inBitsRate": 0,
|
220
|
+
"outBitsRate": 0,
|
221
|
+
"inPktsRate": 0,
|
222
|
+
"updateInterval": 300,
|
223
|
+
"outPktsRate": 0
|
224
|
+
},
|
225
|
+
"interfaceAddress": [],
|
226
|
+
"physicalAddress": "00:50:56:3f:0c:0b",
|
227
|
+
"description": ""
|
228
|
+
}
|
229
|
+
}
|
230
|
+
}]
|