-
Notifications
You must be signed in to change notification settings - Fork 745
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
553550f
commit 2a6c081
Showing
12 changed files
with
375 additions
and
4 deletions.
There are no files selected for viewing
11 changes: 10 additions & 1 deletion
11
ntc_templates/templates/checkpoint_gaia_show_asset_all.textfsm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,17 @@ | ||
Value PLATFORM (\S+) | ||
Value MODEL (.*) | ||
Value SERIAL (.*) | ||
|
||
Value SLOT (\d) | ||
Value DESCR (.*) | ||
Value LOM_STATUS (\S+) | ||
Value LOM_REV (\S+) | ||
|
||
|
||
Start | ||
^Platform:\s${PLATFORM} | ||
^Model:\s${MODEL} | ||
^Serial Number:\s${SERIAL} -> Record | ||
^LOM\sStatus:\s${LOM_STATUS} | ||
^LOM\sFirmware\sRevision:\s${LOM_REV} -> Record | ||
^Line\scard\s${SLOT}\smodel:\s${MODEL} | ||
^Line\scard\s${SLOT}\stype:\s${DESCR} -> Record |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
ntc_templates/templates/checkpoint_gaia_show_virtual-system_all.textfsm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Value INSTANCE_ID (\d+) | ||
Value INSTANCE_NAME ([a-zA-Z0-9_-]+) | ||
|
||
|
||
Start | ||
^${INSTANCE_ID}\s+${INSTANCE_NAME} -> Record |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 12 additions & 1 deletion
13
tests/checkpoint_gaia/show_asset_all/checkpoint_gaia_show_asset_all.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,16 @@ | ||
--- | ||
parsed_sample: | ||
- platform: "T-180-00" | ||
- descr: "" | ||
lom_rev: "" | ||
lom_status: "" | ||
model: "Check Point 4800" | ||
platform: "T-180-00" | ||
serial: "0000000000" | ||
slot: "" | ||
- descr: "8 port0 1GbE Copper" | ||
lom_rev: "" | ||
lom_status: "" | ||
model: "AAA-00000-111" | ||
platform: "" | ||
serial: "" | ||
slot: "1" |
31 changes: 31 additions & 0 deletions
31
tests/checkpoint_gaia/show_asset_all/checkpoint_gaia_show_asset_all_update_1.raw
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
Platform: PH-20-00 | ||
Model: Check Point 15400 | ||
Serial Number: LR000000000000 | ||
CPU Model: Intel(R) Xeon(R) CPU E5-2630 v3 | ||
CPU Frequency: 2399.860 Mhz | ||
Number of Cores: 16 | ||
CPU Hyperthreading: Enabled | ||
Number of disks: 2 | ||
Disk 1 Model: ST1000NM0033-9ZM173 | ||
Disk 1 Capacity: 1.00 TB | ||
Disk 2 Model: ST1000NM0033-9ZM173 | ||
Disk 2 Capacity: 1.00 TB | ||
Total Disks size: 2.00 TB | ||
Total Memory: 24576 MB | ||
Memory Slot 1 Size: 8192 MB | ||
Memory Slot 2 Size: 8192 MB | ||
Memory Slot 3 Size: 8192 MB | ||
Power supply 1 name: Power Supply #1 | ||
Power supply 1 status: Up | ||
Power supply 2 name: Power Supply #2 | ||
Power supply 2 status: Up | ||
LOM Status: Installed | ||
LOM Firmware Revision: 3.43 | ||
Number of line cards: 3 | ||
Line card 1 model: CPAC-4-10F-B | ||
Line card 1 type: 4 ports 10GbE SFP+ Rev 2.0 | ||
Line card 2 model: CPAC-8-1C-B | ||
Line card 2 type: 8 ports 1GbE RJ45 Rev 1.0 | ||
Line card 3 model: CPAC-2-10F-B | ||
Line card 3 type: 2 ports 1/10GbE SFP+ Rev 2.0 | ||
AC Present: No |
37 changes: 37 additions & 0 deletions
37
tests/checkpoint_gaia/show_asset_all/checkpoint_gaia_show_asset_all_update_1.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
parsed_sample: | ||
- descr: "" | ||
lom_rev: "" | ||
lom_status: "" | ||
model: "Check Point 15400" | ||
platform: "PH-20-00" | ||
serial: "LR000000000000" | ||
slot: "" | ||
- descr: "" | ||
lom_rev: "3.43" | ||
lom_status: "Installed" | ||
model: "" | ||
platform: "" | ||
serial: "" | ||
slot: "" | ||
- descr: "4 ports 10GbE SFP+ Rev 2.0" | ||
lom_rev: "" | ||
lom_status: "" | ||
model: "CPAC-4-10F-B" | ||
platform: "" | ||
serial: "" | ||
slot: "1" | ||
- descr: "8 ports 1GbE RJ45 Rev 1.0" | ||
lom_rev: "" | ||
lom_status: "" | ||
model: "CPAC-8-1C-B" | ||
platform: "" | ||
serial: "" | ||
slot: "2" | ||
- descr: "2 ports 1/10GbE SFP+ Rev 2.0" | ||
lom_rev: "" | ||
lom_status: "" | ||
model: "CPAC-2-10F-B" | ||
platform: "" | ||
serial: "" | ||
slot: "3" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
159 changes: 159 additions & 0 deletions
159
tests/checkpoint_gaia/show_interfaces_all/checkpoint_gaia_show_interfaces_all_update_1.raw
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,159 @@ | ||
Interface Mgmt | ||
state on | ||
mac-addr 00:1c:7f:43:08:28 | ||
type ethernet | ||
link-state link up | ||
instance 0 | ||
mtu 1500 | ||
auto-negotiation on | ||
speed 1000M | ||
ipv6-autoconfig Not configured | ||
monitor-mode Not configured | ||
duplex full | ||
link-speed 1000M/full | ||
comments | ||
ipv4-address 2.2.2.2/29 | ||
ipv6-address Not Configured | ||
ipv6-local-link-address Not Configured | ||
|
||
Statistics: | ||
TX bytes:65587685757 packets:135150363 errors:0 dropped:0 overruns:0 carrier:0 | ||
RX bytes:8575369842 packets:80348499 errors:0 dropped:0 overruns:0 frame:0 | ||
|
||
|
||
Interface Sync | ||
state on | ||
mac-addr 00:1c:7f:43:08:29 | ||
type ethernet | ||
link-state link up | ||
instance 0 | ||
mtu 1500 | ||
auto-negotiation Not configured | ||
speed 1000M | ||
ipv6-autoconfig Not configured | ||
monitor-mode Not configured | ||
duplex full | ||
link-speed Not configured | ||
comments | ||
ipv4-address 192.168.0.1/30 | ||
ipv6-address Not Configured | ||
ipv6-local-link-address Not Configured | ||
|
||
Statistics: | ||
TX bytes:259664923573 packets:2251872598 errors:0 dropped:0 overruns:0 carrier:0 | ||
RX bytes:259266301613 packets:2251102479 errors:0 dropped:0 overruns:0 frame:0 | ||
|
||
|
||
Interface bond18 | ||
state on | ||
mac-addr 00:1c:7f:64:10:9e | ||
type bond | ||
link-state not available | ||
instance 0 | ||
mtu 1500 | ||
auto-negotiation Not configured | ||
speed N/A | ||
ipv6-autoconfig Not configured | ||
monitor-mode Not configured | ||
duplex N/A | ||
link-speed Not configured | ||
comments | ||
ipv4-address Not Configured | ||
ipv6-address Not Configured | ||
ipv6-local-link-address Not Configured | ||
|
||
Statistics: | ||
TX bytes:488671526784 packets:6484144830 errors:0 dropped:0 overruns:0 carrier:0 | ||
RX bytes:30726434732106 packets:22116800051 errors:0 dropped:0 overruns:0 frame:0 | ||
|
||
|
||
Interface bond18.51 | ||
state on | ||
mac-addr 00:1c:7f:64:10:9e | ||
type vlan | ||
link-state not available | ||
instance 2 | ||
mtu 1500 | ||
auto-negotiation Not configured | ||
speed N/A (bond18) | ||
ipv6-autoconfig Not configured | ||
monitor-mode Not configured | ||
duplex N/A (bond18) | ||
link-speed Not configured | ||
comments | ||
ipv4-address 1.1.1.1/27 | ||
ipv6-address Not Configured | ||
ipv6-local-link-address Not Configured | ||
|
||
Statistics: | ||
TX bytes:4378789096 packets:35892004 errors:0 dropped:0 overruns:0 carrier:0 | ||
RX bytes:3878961582 packets:35887605 errors:0 dropped:0 overruns:0 frame:0 | ||
|
||
|
||
Interface eth1-01 | ||
state on | ||
mac-addr 00:1c:7f:64:10:9e | ||
type ethernet | ||
link-state link up | ||
instance 0 | ||
mtu 1500 | ||
auto-negotiation Not configured | ||
speed 10G | ||
ipv6-autoconfig Not configured | ||
monitor-mode Not configured | ||
duplex full | ||
link-speed Not configured | ||
comments | ||
ipv4-address Not Configured | ||
ipv6-address Not Configured | ||
ipv6-local-link-address Not Configured | ||
|
||
Statistics: | ||
TX bytes:250113820171 packets:3347079150 errors:0 dropped:0 overruns:0 carrier:0 | ||
RX bytes:15432889269477 packets:11081410222 errors:0 dropped:0 overruns:0 frame:0 | ||
|
||
|
||
Interface lo | ||
state on | ||
mac-addr Not configured | ||
type loopback | ||
link-state not available | ||
instance 0 | ||
mtu 65536 | ||
auto-negotiation Not configured | ||
speed N/A | ||
ipv6-autoconfig Not configured | ||
monitor-mode Not configured | ||
duplex N/A | ||
link-speed Not configured | ||
comments | ||
ipv4-address 127.0.0.1/8 | ||
ipv6-address Not Configured | ||
ipv6-local-link-address Not Configured | ||
|
||
Statistics: | ||
TX bytes:16669231829 packets:78838857 errors:0 dropped:0 overruns:0 carrier:0 | ||
RX bytes:16669231829 packets:78838857 errors:0 dropped:0 overruns:0 frame:0 | ||
|
||
|
||
Interface wrp128 | ||
state on | ||
mac-addr 00:00:00:00:00:00 | ||
type wrp | ||
link-state not available | ||
instance 2 | ||
mtu 1500 | ||
auto-negotiation Not configured | ||
speed N/A | ||
ipv6-autoconfig Not configured | ||
monitor-mode Not configured | ||
duplex N/A | ||
link-speed Not configured | ||
comments | ||
ipv4-address 1.1.1.1/32 | ||
ipv6-address Not Configured | ||
ipv6-local-link-address Not Configured | ||
|
||
Statistics: | ||
TX bytes:9367255 packets:222957 errors:0 dropped:0 overruns:0 carrier:0 | ||
RX bytes:6242740 packets:222940 errors:0 dropped:0 overruns:0 frame:0 |
Oops, something went wrong.