scapy.contrib.isis
IS-IS Scapy Extension
- authors
Marcel Patzlaff, mpatzlaff@benocs.com Michal Kaliszan, mkaliszan@benocs.com Tom Zhu, tom.zhu@metaswitch.com
- 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:
scapy.contrib.isis.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_32bitAdministrativeTagSubTlvISIS_32bitAdministrativeTagSubTlv fields type
1len
Nonetags
[]
- class scapy.contrib.isis.ISIS_64bitAdministrativeTagSubTlv(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.isis.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_64bitAdministrativeTagSubTlvISIS_64bitAdministrativeTagSubTlv fields type
2len
Nonetags
[]
- class scapy.contrib.isis.ISIS_AdministrativeGroupSubTlv(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.isis.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_AdministrativeGroupSubTlvISIS_AdministrativeGroupSubTlv fields code
3len
Noneadmingroup
'0.0.0.1'
- class scapy.contrib.isis.ISIS_AreaEntry(*args: Any, **kargs: Any)[source]
Bases:
scapy.packet.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_AreaEntryISIS_AreaEntry fields arealen
Noneareaid
'49'
- class scapy.contrib.isis.ISIS_AreaIdField(name, default, length_from)[source]
Bases:
scapy.fields.Field- length_from
- class scapy.contrib.isis.ISIS_AreaTlv(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.isis.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_AreaTlvISIS_AreaTlv fields type
1len
Noneareas
[]
- class scapy.contrib.isis.ISIS_AuthenticationTlv(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.isis.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_AuthenticationTlvISIS_AuthenticationTlv fields type
10len
Noneauthtype
1password
b''
- class scapy.contrib.isis.ISIS_BufferSizeTlv(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.isis.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_BufferSizeTlvISIS_BufferSizeTlv fields type
14len
2lspbuffersize
1497
- class scapy.contrib.isis.ISIS_ChecksumTlv(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.isis.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_ChecksumTlvISIS_ChecksumTlv fields type
12len
2checksum
None
- class scapy.contrib.isis.ISIS_CircuitTypeField(name='circuittype', default=2, size=8, names=None)[source]
Bases:
scapy.fields.FlagsField
- class scapy.contrib.isis.ISIS_CommonHdr(*args: Any, **kargs: Any)[source]
Bases:
scapy.packet.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_CommonHdrISIS_CommonHdr fields nlpid
131hdrlen
Noneversion
1idlen
0pdutype
Nonepduversion
1hdrreserved
0maxareaaddr
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:
scapy.contrib.isis.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_DynamicHostnameTlvISIS_DynamicHostnameTlv fields type
137len
Nonehostname
b''
- class scapy.contrib.isis.ISIS_ExtendedIpPrefix(*args: Any, **kargs: Any)[source]
Bases:
scapy.packet.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_ExtendedIpPrefixISIS_ExtendedIpPrefix fields metric
1updown
BitField(1 bit)0subtlvindicator
BitField(1 bit)0pfxlen
BitFieldLenField(6 bits)Nonepfx
('0.0.0.0', 1)subtlvslen
FieldLenField(Cond)Nonesubtlvs
PacketListField(Cond)[]
- class scapy.contrib.isis.ISIS_ExtendedIpReachabilityTlv(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.isis.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_ExtendedIpReachabilityTlvISIS_ExtendedIpReachabilityTlv fields type
135len
Nonepfxs
[]
- class scapy.contrib.isis.ISIS_ExtendedIsNeighbourEntry(*args: Any, **kargs: Any)[source]
Bases:
scapy.packet.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_ExtendedIsNeighbourEntryISIS_ExtendedIsNeighbourEntry fields neighbourid
'0102.0304.0506.07'metric
1subtlvslen
Nonesubtlvs
[]
- class scapy.contrib.isis.ISIS_ExtendedIsReachabilityTlv(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.isis.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_ExtendedIsReachabilityTlvISIS_ExtendedIsReachabilityTlv fields type
22len
Noneneighbours
[]
- class scapy.contrib.isis.ISIS_ExternalIpReachabilityTlv(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.isis.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_ExternalIpReachabilityTlvISIS_ExternalIpReachabilityTlv fields type
130len
Noneentries
[]
- class scapy.contrib.isis.ISIS_GenericSubTlv(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.isis._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_GenericSubTlvISIS_GenericSubTlv fields type
0len
Noneval
b''
- class scapy.contrib.isis.ISIS_GenericTlv(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.isis._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_GenericTlvISIS_GenericTlv fields type
0len
Noneval
b''
- class scapy.contrib.isis.ISIS_IPv4InterfaceAddressSubTlv(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.isis.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_IPv4InterfaceAddressSubTlvISIS_IPv4InterfaceAddressSubTlv fields type
6len
Noneaddress
'0.0.0.0'
- class scapy.contrib.isis.ISIS_IPv4NeighborAddressSubTlv(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.isis.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_IPv4NeighborAddressSubTlvISIS_IPv4NeighborAddressSubTlv fields type
8len
Noneaddress
'0.0.0.0'
- class scapy.contrib.isis.ISIS_IPv6InterfaceAddressSubTlv(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.isis.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_IPv6InterfaceAddressSubTlvISIS_IPv6InterfaceAddressSubTlv fields type
12len
Noneaddress
'::'
- class scapy.contrib.isis.ISIS_IPv6NeighborAddressSubTlv(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.isis.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_IPv6NeighborAddressSubTlvISIS_IPv6NeighborAddressSubTlv fields type
13len
Noneaddress
'::'
- class scapy.contrib.isis.ISIS_InternalIpReachabilityTlv(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.isis.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_InternalIpReachabilityTlvISIS_InternalIpReachabilityTlv fields type
128len
Noneentries
[]
- class scapy.contrib.isis.ISIS_IpInterfaceAddressTlv(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.isis.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_IpInterfaceAddressTlvISIS_IpInterfaceAddressTlv fields type
132len
Noneaddresses
[]
- class scapy.contrib.isis.ISIS_IpReachabilityEntry(*args: Any, **kargs: Any)[source]
Bases:
scapy.packet.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_IpReachabilityEntryISIS_IpReachabilityEntry fields defmetric
1delmetric
128expmetric
128errmetric
128ipaddress
'0.0.0.0'subnetmask
'255.255.255.255'
- class scapy.contrib.isis.ISIS_Ipv6InterfaceAddressTlv(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.isis.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_Ipv6InterfaceAddressTlvISIS_Ipv6InterfaceAddressTlv fields type
232len
Noneaddresses
[]
- class scapy.contrib.isis.ISIS_Ipv6Prefix(*args: Any, **kargs: Any)[source]
Bases:
scapy.packet.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_Ipv6PrefixISIS_Ipv6Prefix fields metric
1updown
BitField(1 bit)0external
BitField(1 bit)0subtlvindicator
BitField(1 bit)0reserved
BitField(5 bits)0pfxlen
Nonepfx
('::', 1)subtlvslen
FieldLenField(Cond)Nonesubtlvs
PacketListField(Cond)[]
- class scapy.contrib.isis.ISIS_Ipv6ReachabilityTlv(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.isis.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_Ipv6ReachabilityTlvISIS_Ipv6ReachabilityTlv fields type
236len
Nonepfxs
[]
- class scapy.contrib.isis.ISIS_IsNeighbourTlv(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.isis.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_IsNeighbourTlvISIS_IsNeighbourTlv fields type
6len
Noneneighbours
[]
- class scapy.contrib.isis.ISIS_IsReachabilityEntry(*args: Any, **kargs: Any)[source]
Bases:
scapy.packet.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_IsReachabilityEntryISIS_IsReachabilityEntry fields defmetric
1delmetric
128expmetric
128errmetric
128neighbourid
'0102.0304.0506.07'
- class scapy.contrib.isis.ISIS_IsReachabilityTlv(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.isis.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_IsReachabilityTlvISIS_IsReachabilityTlv fields type
2len
Nonevirtual
0neighbours
[]
- class scapy.contrib.isis.ISIS_L1_CSNP(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.isis._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_CSNPISIS_L1_CSNP fields pdulength
_ISIS_PduLengthFieldNonesourceid
'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:
scapy.contrib.isis._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_HelloISIS_L1_LAN_Hello fields circuittype
<Flag 2 (L2)>sourceid
'0102.0304.0506'holdingtime
30pdulength
_ISIS_PduLengthFieldNonepriority
1lanid
'0000.0000.0000.00'tlvs
_ISIS_TlvListField[]
- class scapy.contrib.isis.ISIS_L1_LSP(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.isis._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_LSPISIS_L1_LSP fields pdulength
_ISIS_PduLengthFieldNonelifetime
1199lspid
'0102.0304.0506.00-00'seqnum
1checksum
Nonetypeblock
<Flag 3 (L1+L2)>tlvs
_ISIS_TlvListField[]
- class scapy.contrib.isis.ISIS_L1_PSNP(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.isis._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_PSNPISIS_L1_PSNP fields pdulength
_ISIS_PduLengthFieldNonesourceid
'0102.0304.0506.00'tlvs
_ISIS_TlvListField[]
- class scapy.contrib.isis.ISIS_L2_CSNP(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.isis._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_CSNPISIS_L2_CSNP fields pdulength
_ISIS_PduLengthFieldNonesourceid
'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:
scapy.contrib.isis._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_HelloISIS_L2_LAN_Hello fields circuittype
<Flag 2 (L2)>sourceid
'0102.0304.0506'holdingtime
30pdulength
_ISIS_PduLengthFieldNonepriority
1lanid
'0000.0000.0000.00'tlvs
_ISIS_TlvListField[]
- class scapy.contrib.isis.ISIS_L2_LSP(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.isis._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_LSPISIS_L2_LSP fields pdulength
_ISIS_PduLengthFieldNonelifetime
1199lspid
'0102.0304.0506.00-00'seqnum
1checksum
Nonetypeblock
<Flag 3 (L1+L2)>tlvs
_ISIS_TlvListField[]
- class scapy.contrib.isis.ISIS_L2_PSNP(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.isis._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_PSNPISIS_L2_PSNP fields pdulength
_ISIS_PduLengthFieldNonesourceid
'0102.0304.0506.00'tlvs
_ISIS_TlvListField[]
- class scapy.contrib.isis.ISIS_LinkLocalRemoteIdentifiersSubTlv(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.isis.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_LinkLocalRemoteIdentifiersSubTlvISIS_LinkLocalRemoteIdentifiersSubTlv fields type
4len
8localid
'0'remoteid
'0'
- class scapy.contrib.isis.ISIS_LspEntry(*args: Any, **kargs: Any)[source]
Bases:
scapy.packet.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_LspEntryISIS_LspEntry fields lifetime
1200lspid
'0102.0304.0506.07-08'seqnum
1checksum
None
- class scapy.contrib.isis.ISIS_LspEntryTlv(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.isis.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_LspEntryTlvISIS_LspEntryTlv fields type
9len
Noneentries
[]
- class scapy.contrib.isis.ISIS_LspIdField(name, default)[source]
Bases:
scapy.contrib.isis._ISIS_IdFieldBase
- class scapy.contrib.isis.ISIS_MaximumLinkBandwidthSubTlv(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.isis.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_MaximumLinkBandwidthSubTlvISIS_MaximumLinkBandwidthSubTlv fields type
9len
Nonemaxbw
1000
- class scapy.contrib.isis.ISIS_MaximumReservableLinkBandwidthSubTlv(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.isis.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_MaximumReservableLinkBandwidthSubTlvISIS_MaximumReservableLinkBandwidthSubTlv fields type
10len
Nonemaxrsvbw
1000
- class scapy.contrib.isis.ISIS_NodeIdField(name, default)[source]
Bases:
scapy.contrib.isis._ISIS_IdFieldBase
- class scapy.contrib.isis.ISIS_P2PAdjacencyStateTlv(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.isis.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_P2PAdjacencyStateTlvISIS_P2PAdjacencyStateTlv fields type
240len
_AdjacencyStateTlvLenFieldNonestate
2extlocalcircuitid
IntField(Cond)Noneneighboursystemid
ISIS_SystemIdField(Cond)Noneneighbourextlocalcircuitid
IntField(Cond)None
- class scapy.contrib.isis.ISIS_P2P_Hello(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.isis._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_HelloISIS_P2P_Hello fields circuittype
<Flag 2 (L2)>sourceid
'0102.0304.0506'holdingtime
30pdulength
_ISIS_PduLengthFieldNonelocalcircuitid
0tlvs
_ISIS_TlvListField[]
- class scapy.contrib.isis.ISIS_PaddingTlv(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.isis.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_PaddingTlvISIS_PaddingTlv fields type
8len
Nonepadding
b''
- class scapy.contrib.isis.ISIS_PrefixSegmentIdentifierSubTlv(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.isis.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_PrefixSegmentIdentifierSubTlvISIS_PrefixSegmentIdentifierSubTlv fields type
3len
5flags
<Flag 0 ()>algorithm
0sid
ThreeBytesField(Cond)0idx
IntField(Cond)0
- class scapy.contrib.isis.ISIS_ProtocolsSupportedTlv(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.isis.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_ProtocolsSupportedTlvISIS_ProtocolsSupportedTlv fields type
129len
Nonenlpids
[]
- class scapy.contrib.isis.ISIS_RouterCapabilityTlv(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.isis.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_RouterCapabilityTlvISIS_RouterCapabilityTlv fields type
242len
Nonerouterid
'0.0.0.0'flags
<Flag 0 ()>subtlvs
[]
- class scapy.contrib.isis.ISIS_SIDLabelSubTLV(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.isis.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_SIDLabelSubTLVISIS_SIDLabelSubTLV fields type
1len
3sid
ThreeBytesField(Cond)0idx
IntField(Cond)0
- class scapy.contrib.isis.ISIS_SRAlgorithmSubTLV(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.isis.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_SRAlgorithmSubTLVISIS_SRAlgorithmSubTLV fields type
19len
Nonealgorithms
[0]
- class scapy.contrib.isis.ISIS_SRCapabilitiesSubTLV(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.isis.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_SRCapabilitiesSubTLVISIS_SRCapabilitiesSubTLV fields type
2len
Noneflags
<Flag 0 ()>srgb_ranges
[]
- class scapy.contrib.isis.ISIS_SRGBDescriptorEntry(*args: Any, **kargs: Any)[source]
Bases:
scapy.packet.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_SRGBDescriptorEntryISIS_SRGBDescriptorEntry fields range
0sid_label
None
- class scapy.contrib.isis.ISIS_SystemIdField(name, default)[source]
Bases:
scapy.contrib.isis._ISIS_IdFieldBase
- class scapy.contrib.isis.ISIS_TEDefaultMetricSubTlv(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.isis.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_TEDefaultMetricSubTlvISIS_TEDefaultMetricSubTlv fields type
18len
Nonetemetric
1000
- class scapy.contrib.isis.ISIS_TERouterIDTlv(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.isis.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_TERouterIDTlvISIS_TERouterIDTlv fields type
134len
Nonerouterid
'0.0.0.0'
- class scapy.contrib.isis.ISIS_UnreservedBandwidthSubTlv(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.isis.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_UnreservedBandwidthSubTlvISIS_UnreservedBandwidthSubTlv fields type
11len
Noneunrsvbw
[1000, 1000, 1000, 1000, 1000, 1000, 1000, 1000]