OXIESEC PANEL
- Current Dir:
/
/
opt
/
alt
/
python37
/
lib
/
python3.7
/
site-packages
/
exabgp
/
protocol
/
iso
Server IP: 2a02:4780:11:1084:0:327f:3464:10
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
03/16/2023 12:55:54 PM
rwxr-xr-x
📄
__init__.py
654 bytes
03/13/2021 04:30:48 PM
rw-r--r--
📁
__pycache__
-
03/16/2023 12:55:54 PM
rwxr-xr-x
Editing: __init__.py
Close
# encoding: utf-8 """ iso Created by Evelio Vila on 2016-11-26. eveliovila@gmail.com Copyright (c) 2009-2017 Exa Networks. All rights reserved. """ # =========================================================================== ISO # from exabgp.vendoring.bitstring import BitArray class ISO(object): def __init__(self, sysid, selector=None, area_id=None, afi=49): self.sysid = sysid self.area_id = area_id self.selector = selector self.afi = afi @classmethod def unpack_sysid(cls, data): b = BitArray(bytes=data) return b.hex def json(self, compact=None): return self.sysid