scapy.contrib.isis
IS-IS Scapy Extension
- copyright:
2014-2016 BENOCS GmbH, Berlin (Germany)
- author:
Marcel Patzlaff, mpatzlaff@benocs.com Michal Kaliszan, mkaliszan@benocs.com
- copyright:
2020 Metaswitch, London (UK)
- author:
Tom Zhu, tom.zhu@metaswitch.com
- license:
GPLv2
This module is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This module is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
- description:
This module provides Scapy layers for the Intermediate System to Intermediate System routing protocol as defined in RFC 1195.
Currently it (partially) supports the packaging/encoding requirements of the following RFCs: * RFC 1195 (only the TCP/IP related part) * RFC 3358 (optional checksums) * RFC 5301 (dynamic hostname extension) * RFC 5302 (domain-wide prefix distribution) * RFC 5303 (three-way handshake) * RFC 5304 (cryptographic authentication) * RFC 5308 (routing IPv6 with IS-IS) * RFC 8667 (IS-IS extensions for segment routing)
- TODO:
packet relations (requests, responses)
support for recent RFCs: * RFC 5305 (traffic engineering) * RFC 5307 (support for G-MPLS) * RFC 5310 (generic cryptographic authentication) * RFC 5316 (inter-AS MPLS and G-MPLS TE)
- class scapy.contrib.isis.ISIS_32bitAdministrativeTagSubTlv(*args: Any, **kargs: Any)[source]
Bases:
ISIS_GenericSubTlv
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | TAGS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_32bitAdministrativeTagSubTlv
ISIS_32bitAdministrativeTagSubTlv fields type
1
len
None
tags
[]
- class scapy.contrib.isis.ISIS_64bitAdministrativeTagSubTlv(*args: Any, **kargs: Any)[source]
Bases:
ISIS_GenericSubTlv
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | TAGS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_64bitAdministrativeTagSubTlv
ISIS_64bitAdministrativeTagSubTlv fields type
2
len
None
tags
[]
- class scapy.contrib.isis.ISIS_AdministrativeGroupSubTlv(*args: Any, **kargs: Any)[source]
Bases:
ISIS_GenericSubTlv
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CODE | LEN | ADMINGROUP | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_AdministrativeGroupSubTlv
ISIS_AdministrativeGroupSubTlv fields code
3
len
None
admingroup
'0.0.0.1'
- class scapy.contrib.isis.ISIS_AreaEntry(*args: Any, **kargs: Any)[source]
Bases:
Packet
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | AREALEN | AREAID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_AreaEntry
ISIS_AreaEntry fields arealen
None
areaid
'49'
- class scapy.contrib.isis.ISIS_AreaIdField(name, default, length_from)[source]
Bases:
Field
- length_from
- class scapy.contrib.isis.ISIS_AreaTlv(*args: Any, **kargs: Any)[source]
Bases:
ISIS_GenericTlv
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | AREAS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_AreaTlv
ISIS_AreaTlv fields type
1
len
None
areas
[]
- class scapy.contrib.isis.ISIS_AuthenticationTlv(*args: Any, **kargs: Any)[source]
Bases:
ISIS_GenericTlv
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | AUTHTYPE | PASSWORD | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+ Fig. ISIS_AuthenticationTlv
ISIS_AuthenticationTlv fields type
10
len
None
authtype
1
password
b''
- class scapy.contrib.isis.ISIS_BufferSizeTlv(*args: Any, **kargs: Any)[source]
Bases:
ISIS_GenericTlv
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | LSPBUFFERSIZE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_BufferSizeTlv
ISIS_BufferSizeTlv fields type
14
len
2
lspbuffersize
1497
- class scapy.contrib.isis.ISIS_ChecksumTlv(*args: Any, **kargs: Any)[source]
Bases:
ISIS_GenericTlv
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | CHECKSUM | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_ChecksumTlv
ISIS_ChecksumTlv fields type
12
len
2
checksum
None
- class scapy.contrib.isis.ISIS_CircuitTypeField(name='circuittype', default=2, size=8, names=None)[source]
Bases:
FlagsField
- class scapy.contrib.isis.ISIS_CommonHdr(*args: Any, **kargs: Any)[source]
Bases:
Packet
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | NLPID | HDRLEN | VERSION | IDLEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PDUTYPE | PDUVERSION | HDRRESERVED | MAXAREAADDR | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_CommonHdr
ISIS_CommonHdr fields nlpid
131
hdrlen
None
version
1
idlen
0
pdutype
None
pduversion
1
hdrreserved
0
maxareaaddr
0
- payload_guess
Possible sublayers:
ISIS_L1_CSNP
,ISIS_L1_LAN_Hello
,ISIS_L1_LSP
,ISIS_L1_PSNP
,ISIS_L2_CSNP
,ISIS_L2_LAN_Hello
,ISIS_L2_LSP
,ISIS_L2_PSNP
,ISIS_P2P_Hello
- class scapy.contrib.isis.ISIS_DynamicHostnameTlv(*args: Any, **kargs: Any)[source]
Bases:
ISIS_GenericTlv
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | HOSTNAME | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_DynamicHostnameTlv
ISIS_DynamicHostnameTlv fields type
137
len
None
hostname
b''
- class scapy.contrib.isis.ISIS_ExtendedIpPrefix(*args: Any, **kargs: Any)[source]
Bases:
Packet
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | METRIC | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |U|S| PFXLEN | PFX | +-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | SUBTLVSLEN | SUBTLVS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_ExtendedIpPrefix
ISIS_ExtendedIpPrefix fields metric
1
updown
BitField
(1 bit)0
subtlvindicator
BitField
(1 bit)0
pfxlen
BitFieldLenField
(6 bits)None
pfx
('0.0.0.0', 1)
subtlvslen
FieldLenField
(Cond)None
subtlvs
PacketListField
(Cond)[]
- class scapy.contrib.isis.ISIS_ExtendedIpReachabilityTlv(*args: Any, **kargs: Any)[source]
Bases:
ISIS_GenericTlv
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | PFXS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_ExtendedIpReachabilityTlv
ISIS_ExtendedIpReachabilityTlv fields type
135
len
None
pfxs
[]
- class scapy.contrib.isis.ISIS_ExtendedIsNeighbourEntry(*args: Any, **kargs: Any)[source]
Bases:
Packet
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | NEIGHBOURID | + +-+-+-+-+-+-+-+-+ | | METRIC | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | SUBTLVSLEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SUBTLVS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_ExtendedIsNeighbourEntry
ISIS_ExtendedIsNeighbourEntry fields neighbourid
'0102.0304.0506.07'
metric
1
subtlvslen
None
subtlvs
[]
- class scapy.contrib.isis.ISIS_ExtendedIsReachabilityTlv(*args: Any, **kargs: Any)[source]
Bases:
ISIS_GenericTlv
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | NEIGHBOURS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_ExtendedIsReachabilityTlv
ISIS_ExtendedIsReachabilityTlv fields type
22
len
None
neighbours
[]
- class scapy.contrib.isis.ISIS_ExternalIpReachabilityTlv(*args: Any, **kargs: Any)[source]
Bases:
ISIS_GenericTlv
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | ENTRIES | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_ExternalIpReachabilityTlv
ISIS_ExternalIpReachabilityTlv fields type
130
len
None
entries
[]
- class scapy.contrib.isis.ISIS_GenericSubTlv(*args: Any, **kargs: Any)[source]
Bases:
_ISIS_GenericTlv_Base
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | VAL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_GenericSubTlv
ISIS_GenericSubTlv fields type
0
len
None
val
b''
- class scapy.contrib.isis.ISIS_GenericTlv(*args: Any, **kargs: Any)[source]
Bases:
_ISIS_GenericTlv_Base
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | VAL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_GenericTlv
ISIS_GenericTlv fields type
0
len
None
val
b''
- class scapy.contrib.isis.ISIS_IPv4InterfaceAddressSubTlv(*args: Any, **kargs: Any)[source]
Bases:
ISIS_GenericSubTlv
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | ADDRESS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_IPv4InterfaceAddressSubTlv
ISIS_IPv4InterfaceAddressSubTlv fields type
6
len
None
address
'0.0.0.0'
- class scapy.contrib.isis.ISIS_IPv4NeighborAddressSubTlv(*args: Any, **kargs: Any)[source]
Bases:
ISIS_GenericSubTlv
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | ADDRESS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_IPv4NeighborAddressSubTlv
ISIS_IPv4NeighborAddressSubTlv fields type
8
len
None
address
'0.0.0.0'
- class scapy.contrib.isis.ISIS_IPv6InterfaceAddressSubTlv(*args: Any, **kargs: Any)[source]
Bases:
ISIS_GenericSubTlv
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | ADDRESS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | | + + | | + + | | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_IPv6InterfaceAddressSubTlv
ISIS_IPv6InterfaceAddressSubTlv fields type
12
len
None
address
'::'
- class scapy.contrib.isis.ISIS_IPv6NeighborAddressSubTlv(*args: Any, **kargs: Any)[source]
Bases:
ISIS_GenericSubTlv
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | ADDRESS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | | + + | | + + | | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_IPv6NeighborAddressSubTlv
ISIS_IPv6NeighborAddressSubTlv fields type
13
len
None
address
'::'
- class scapy.contrib.isis.ISIS_InternalIpReachabilityTlv(*args: Any, **kargs: Any)[source]
Bases:
ISIS_GenericTlv
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | ENTRIES | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_InternalIpReachabilityTlv
ISIS_InternalIpReachabilityTlv fields type
128
len
None
entries
[]
- class scapy.contrib.isis.ISIS_IpInterfaceAddressTlv(*args: Any, **kargs: Any)[source]
Bases:
ISIS_GenericTlv
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | ADDRESSES | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_IpInterfaceAddressTlv
ISIS_IpInterfaceAddressTlv fields type
132
len
None
addresses
[]
- class scapy.contrib.isis.ISIS_IpReachabilityEntry(*args: Any, **kargs: Any)[source]
Bases:
Packet
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | DEFMETRIC | DELMETRIC | EXPMETRIC | ERRMETRIC | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | IPADDRESS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SUBNETMASK | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_IpReachabilityEntry
ISIS_IpReachabilityEntry fields defmetric
1
delmetric
128
expmetric
128
errmetric
128
ipaddress
'0.0.0.0'
subnetmask
'255.255.255.255'
- class scapy.contrib.isis.ISIS_Ipv6InterfaceAddressTlv(*args: Any, **kargs: Any)[source]
Bases:
ISIS_GenericTlv
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | ADDRESSES | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_Ipv6InterfaceAddressTlv
ISIS_Ipv6InterfaceAddressTlv fields type
232
len
None
addresses
[]
- class scapy.contrib.isis.ISIS_Ipv6Prefix(*args: Any, **kargs: Any)[source]
Bases:
Packet
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | METRIC | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |U|E|S| RESERVED| PFXLEN | PFX | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | | + + | | + + | | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | SUBTLVSLEN | SUBTLVS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+ Fig. ISIS_Ipv6Prefix
ISIS_Ipv6Prefix fields metric
1
updown
BitField
(1 bit)0
external
BitField
(1 bit)0
subtlvindicator
BitField
(1 bit)0
reserved
BitField
(5 bits)0
pfxlen
None
pfx
('::', 1)
subtlvslen
FieldLenField
(Cond)None
subtlvs
PacketListField
(Cond)[]
- class scapy.contrib.isis.ISIS_Ipv6ReachabilityTlv(*args: Any, **kargs: Any)[source]
Bases:
ISIS_GenericTlv
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | PFXS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_Ipv6ReachabilityTlv
ISIS_Ipv6ReachabilityTlv fields type
236
len
None
pfxs
[]
- class scapy.contrib.isis.ISIS_IsNeighbourTlv(*args: Any, **kargs: Any)[source]
Bases:
ISIS_GenericTlv
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | NEIGHBOURS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_IsNeighbourTlv
ISIS_IsNeighbourTlv fields type
6
len
None
neighbours
[]
- class scapy.contrib.isis.ISIS_IsReachabilityEntry(*args: Any, **kargs: Any)[source]
Bases:
Packet
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | DEFMETRIC | DELMETRIC | EXPMETRIC | ERRMETRIC | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | NEIGHBOURID | + +-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_IsReachabilityEntry
ISIS_IsReachabilityEntry fields defmetric
1
delmetric
128
expmetric
128
errmetric
128
neighbourid
'0102.0304.0506.07'
- class scapy.contrib.isis.ISIS_IsReachabilityTlv(*args: Any, **kargs: Any)[source]
Bases:
ISIS_GenericTlv
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | VIRTUAL | NEIGHBOURS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+ Fig. ISIS_IsReachabilityTlv
ISIS_IsReachabilityTlv fields type
2
len
None
virtual
0
neighbours
[]
- class scapy.contrib.isis.ISIS_L1_CSNP(*args: Any, **kargs: Any)[source]
Bases:
_ISIS_CSNP_Base
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PDULENGTH | SOURCEID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | STARTLSPID | +-+-+-+-+-+-+-+-+ + | | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | ENDLSPID | +-+-+-+-+-+-+-+-+ + | | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | TLVS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_L1_CSNP
ISIS_L1_CSNP fields pdulength
_ISIS_PduLengthField
None
sourceid
'0102.0304.0506.00'
startlspid
'0000.0000.0000.00-00'
endlspid
'FFFF.FFFF.FFFF.FF-FF'
tlvs
_ISIS_TlvListField
[]
- class scapy.contrib.isis.ISIS_L1_LAN_Hello(*args: Any, **kargs: Any)[source]
Bases:
_ISIS_LAN_HelloBase
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CIRCUITTYPE | SOURCEID | +-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+ | | HOLDINGTIME | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | PDULENGTH | PRIORITY | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LANID | + +-+-+-+-+-+-+-+-+ | | TLVS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+ Fig. ISIS_L1_LAN_Hello
ISIS_L1_LAN_Hello fields circuittype
<Flag 2 (L2)>
sourceid
'0102.0304.0506'
holdingtime
30
pdulength
_ISIS_PduLengthField
None
priority
1
lanid
'0000.0000.0000.00'
tlvs
_ISIS_TlvListField
[]
- class scapy.contrib.isis.ISIS_L1_LSP(*args: Any, **kargs: Any)[source]
Bases:
_ISIS_LSP_Base
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PDULENGTH | LIFETIME | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LSPID | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SEQNUM | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CHECKSUM | TYPEBLOCK | TLVS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+ Fig. ISIS_L1_LSP
ISIS_L1_LSP fields pdulength
_ISIS_PduLengthField
None
lifetime
1199
lspid
'0102.0304.0506.00-00'
seqnum
1
checksum
None
typeblock
<Flag 3 (L1+L2)>
tlvs
_ISIS_TlvListField
[]
- class scapy.contrib.isis.ISIS_L1_PSNP(*args: Any, **kargs: Any)[source]
Bases:
_ISIS_PSNP_Base
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PDULENGTH | SOURCEID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | TLVS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_L1_PSNP
ISIS_L1_PSNP fields pdulength
_ISIS_PduLengthField
None
sourceid
'0102.0304.0506.00'
tlvs
_ISIS_TlvListField
[]
- class scapy.contrib.isis.ISIS_L2_CSNP(*args: Any, **kargs: Any)[source]
Bases:
_ISIS_CSNP_Base
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PDULENGTH | SOURCEID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | STARTLSPID | +-+-+-+-+-+-+-+-+ + | | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | ENDLSPID | +-+-+-+-+-+-+-+-+ + | | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | TLVS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_L2_CSNP
ISIS_L2_CSNP fields pdulength
_ISIS_PduLengthField
None
sourceid
'0102.0304.0506.00'
startlspid
'0000.0000.0000.00-00'
endlspid
'FFFF.FFFF.FFFF.FF-FF'
tlvs
_ISIS_TlvListField
[]
- class scapy.contrib.isis.ISIS_L2_LAN_Hello(*args: Any, **kargs: Any)[source]
Bases:
_ISIS_LAN_HelloBase
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CIRCUITTYPE | SOURCEID | +-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+ | | HOLDINGTIME | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | PDULENGTH | PRIORITY | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LANID | + +-+-+-+-+-+-+-+-+ | | TLVS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+ Fig. ISIS_L2_LAN_Hello
ISIS_L2_LAN_Hello fields circuittype
<Flag 2 (L2)>
sourceid
'0102.0304.0506'
holdingtime
30
pdulength
_ISIS_PduLengthField
None
priority
1
lanid
'0000.0000.0000.00'
tlvs
_ISIS_TlvListField
[]
- class scapy.contrib.isis.ISIS_L2_LSP(*args: Any, **kargs: Any)[source]
Bases:
_ISIS_LSP_Base
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PDULENGTH | LIFETIME | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LSPID | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SEQNUM | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CHECKSUM | TYPEBLOCK | TLVS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+ Fig. ISIS_L2_LSP
ISIS_L2_LSP fields pdulength
_ISIS_PduLengthField
None
lifetime
1199
lspid
'0102.0304.0506.00-00'
seqnum
1
checksum
None
typeblock
<Flag 3 (L1+L2)>
tlvs
_ISIS_TlvListField
[]
- class scapy.contrib.isis.ISIS_L2_PSNP(*args: Any, **kargs: Any)[source]
Bases:
_ISIS_PSNP_Base
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PDULENGTH | SOURCEID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | TLVS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_L2_PSNP
ISIS_L2_PSNP fields pdulength
_ISIS_PduLengthField
None
sourceid
'0102.0304.0506.00'
tlvs
_ISIS_TlvListField
[]
- class scapy.contrib.isis.ISIS_LinkLocalRemoteIdentifiersSubTlv(*args: Any, **kargs: Any)[source]
Bases:
ISIS_GenericSubTlv
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | LOCALID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | REMOTEID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_LinkLocalRemoteIdentifiersSubTlv
ISIS_LinkLocalRemoteIdentifiersSubTlv fields type
4
len
8
localid
'0'
remoteid
'0'
- class scapy.contrib.isis.ISIS_LspEntry(*args: Any, **kargs: Any)[source]
Bases:
Packet
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LIFETIME | LSPID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | SEQNUM | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | CHECKSUM | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_LspEntry
ISIS_LspEntry fields lifetime
1200
lspid
'0102.0304.0506.07-08'
seqnum
1
checksum
None
- class scapy.contrib.isis.ISIS_LspEntryTlv(*args: Any, **kargs: Any)[source]
Bases:
ISIS_GenericTlv
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | ENTRIES | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_LspEntryTlv
ISIS_LspEntryTlv fields type
9
len
None
entries
[]
- class scapy.contrib.isis.ISIS_MaximumLinkBandwidthSubTlv(*args: Any, **kargs: Any)[source]
Bases:
ISIS_GenericSubTlv
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | MAXBW | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_MaximumLinkBandwidthSubTlv
ISIS_MaximumLinkBandwidthSubTlv fields type
9
len
None
maxbw
1000
- class scapy.contrib.isis.ISIS_MaximumReservableLinkBandwidthSubTlv(*args: Any, **kargs: Any)[source]
Bases:
ISIS_GenericSubTlv
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | MAXRSVBW | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_MaximumReservableLinkBandwidthSubTlv
ISIS_MaximumReservableLinkBandwidthSubTlv fields type
10
len
None
maxrsvbw
1000
- class scapy.contrib.isis.ISIS_P2PAdjacencyStateTlv(*args: Any, **kargs: Any)[source]
Bases:
ISIS_GenericTlv
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | STATE |EXTLOCALCIRCUIT| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+ | |NEIGHBOURSYSTEM| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | NEIGHBOUREXTLOCALCIRCUITID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+ Fig. ISIS_P2PAdjacencyStateTlv
ISIS_P2PAdjacencyStateTlv fields type
240
len
_AdjacencyStateTlvLenField
None
state
2
extlocalcircuitid
IntField
(Cond)None
neighboursystemid
ISIS_SystemIdField
(Cond)None
neighbourextlocalcircuitid
IntField
(Cond)None
- class scapy.contrib.isis.ISIS_P2P_Hello(*args: Any, **kargs: Any)[source]
Bases:
_ISIS_PduBase
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CIRCUITTYPE | SOURCEID | +-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+ | | HOLDINGTIME | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | PDULENGTH | LOCALCIRCUITID| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TLVS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_P2P_Hello
ISIS_P2P_Hello fields circuittype
<Flag 2 (L2)>
sourceid
'0102.0304.0506'
holdingtime
30
pdulength
_ISIS_PduLengthField
None
localcircuitid
0
tlvs
_ISIS_TlvListField
[]
- class scapy.contrib.isis.ISIS_PaddingTlv(*args: Any, **kargs: Any)[source]
Bases:
ISIS_GenericTlv
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | PADDING | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_PaddingTlv
ISIS_PaddingTlv fields type
8
len
None
padding
b''
- class scapy.contrib.isis.ISIS_PrefixSegmentIdentifierSubTlv(*args: Any, **kargs: Any)[source]
Bases:
ISIS_GenericSubTlv
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | FLAGS | ALGORITHM | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | IDX | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_PrefixSegmentIdentifierSubTlv
ISIS_PrefixSegmentIdentifierSubTlv fields type
3
len
5
flags
<Flag 0 ()>
algorithm
0
sid
ThreeBytesField
(Cond)0
idx
IntField
(Cond)0
- class scapy.contrib.isis.ISIS_ProtocolsSupportedTlv(*args: Any, **kargs: Any)[source]
Bases:
ISIS_GenericTlv
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | NLPIDS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_ProtocolsSupportedTlv
ISIS_ProtocolsSupportedTlv fields type
129
len
None
nlpids
[]
- class scapy.contrib.isis.ISIS_RouterCapabilityTlv(*args: Any, **kargs: Any)[source]
Bases:
ISIS_GenericTlv
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | ROUTERID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | FLAGS | SUBTLVS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+ Fig. ISIS_RouterCapabilityTlv
ISIS_RouterCapabilityTlv fields type
242
len
None
routerid
'0.0.0.0'
flags
<Flag 0 ()>
subtlvs
[]
- class scapy.contrib.isis.ISIS_SIDLabelSubTLV(*args: Any, **kargs: Any)[source]
Bases:
ISIS_GenericSubTlv
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | SID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | IDX | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_SIDLabelSubTLV
ISIS_SIDLabelSubTLV fields type
1
len
3
sid
ThreeBytesField
(Cond)0
idx
IntField
(Cond)0
- class scapy.contrib.isis.ISIS_SRAlgorithmSubTLV(*args: Any, **kargs: Any)[source]
Bases:
ISIS_GenericSubTlv
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | ALGORITHMS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_SRAlgorithmSubTLV
ISIS_SRAlgorithmSubTLV fields type
19
len
None
algorithms
[0]
- class scapy.contrib.isis.ISIS_SRCapabilitiesSubTLV(*args: Any, **kargs: Any)[source]
Bases:
ISIS_GenericSubTlv
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | FLAGS | SRGB RANGES | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+ Fig. ISIS_SRCapabilitiesSubTLV
ISIS_SRCapabilitiesSubTLV fields type
2
len
None
flags
<Flag 0 ()>
srgb_ranges
[]
- class scapy.contrib.isis.ISIS_SRGBDescriptorEntry(*args: Any, **kargs: Any)[source]
Bases:
Packet
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RANGE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SID LABEL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_SRGBDescriptorEntry
ISIS_SRGBDescriptorEntry fields range
0
sid_label
None
- class scapy.contrib.isis.ISIS_TEDefaultMetricSubTlv(*args: Any, **kargs: Any)[source]
Bases:
ISIS_GenericSubTlv
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | TEMETRIC | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_TEDefaultMetricSubTlv
ISIS_TEDefaultMetricSubTlv fields type
18
len
None
temetric
1000
- class scapy.contrib.isis.ISIS_TERouterIDTlv(*args: Any, **kargs: Any)[source]
Bases:
ISIS_GenericTlv
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | ROUTERID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_TERouterIDTlv
ISIS_TERouterIDTlv fields type
134
len
None
routerid
'0.0.0.0'
- class scapy.contrib.isis.ISIS_UnreservedBandwidthSubTlv(*args: Any, **kargs: Any)[source]
Bases:
ISIS_GenericSubTlv
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | UNRSVBW | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ISIS_UnreservedBandwidthSubTlv
ISIS_UnreservedBandwidthSubTlv fields type
11
len
None
unrsvbw
[1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000]