Skip to content

Commit

Permalink
Added Support for Checkpoint VSX
Browse files Browse the repository at this point in the history
  • Loading branch information
SaschaSchwarzK committed Jan 13, 2024
1 parent 553550f commit 2a6c081
Show file tree
Hide file tree
Showing 12 changed files with 375 additions and 4 deletions.
11 changes: 10 additions & 1 deletion ntc_templates/templates/checkpoint_gaia_show_asset_all.textfsm
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
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Value MAC_ADDRESS (.*)
Value TYPE (\S+)
Value LINK_STATE (.*)
Value MTU (\d+)
Value INSTANCE (\d+)
Value AUTONEG (.*)
Value SPEED (.*)
Value COMMENT (\S.*)
Expand All @@ -19,6 +20,7 @@ Start
^\s+mac-addr\s${MAC_ADDRESS}
^\s+type\s${TYPE}
^\s+link-state\s${LINK_STATE}
^\s+instance\s${INSTANCE}
^\s+mtu\s${MTU}
^\s+auto-negotiation\s${AUTONEG}
^\s+speed\s${SPEED}
Expand All @@ -27,5 +29,4 @@ Start
^\s+ipv4-address\s${IPV4_ADDRESS}\s*$$
^\s+ipv6-address\s${IPV6_ADDRESS}\s*$$
^\s+ipv6-local-link-address\s${IPV6_LL_ADDRESS}/${IPV6_LL_MASK}
^Statistics: -> Record

^Statistics: -> Record
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
1 change: 1 addition & 0 deletions ntc_templates/templates/index
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ checkpoint_gaia_show_arp_dynamic_all.textfsm, .*, checkpoint_gaia, show arp dyna
checkpoint_gaia_show_interfaces_all.textfsm, .*, checkpoint_gaia, show interfaces all
checkpoint_gaia_show_ntp_servers.textfsm, .*, checkpoint_gaia, show ntp servers
checkpoint_gaia_show_version_all.textfsm, .*, checkpoint_gaia, show version all
checkpoint_gaia_show_virtual-system_all.textfsm, .*, checkpoint_gaia, show virtual-system all
checkpoint_gaia_show_domainname.textfsm, .*, checkpoint_gaia, show domainname
checkpoint_gaia_show_ipv6_route.textfsm, .*, checkpoint_gaia, show ipv6 route
checkpoint_gaia_show_asset_all.textfsm, .*, checkpoint_gaia, show asset all
Expand Down
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"
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
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"
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
parsed_sample:
- autoneg: "on"
comment: ""
instance: ""
interface: "Mgmt"
ipv4_address: "192.168.1.1/24"
ipv6_address: ""
Expand All @@ -15,6 +16,7 @@ parsed_sample:
type: "ethernet"
- autoneg: "on"
comment: ""
instance: ""
interface: "eth1-01"
ipv4_address: ""
ipv6_address: ""
Expand All @@ -28,6 +30,7 @@ parsed_sample:
type: "ethernet"
- autoneg: "on (eth1-01)"
comment: "This-is-a-comment"
instance: ""
interface: "eth1-01.264"
ipv4_address: "10.10.10.0/29"
ipv6_address: ""
Expand Down
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
Loading

0 comments on commit 2a6c081

Please sign in to comment.