Hoping to save myself some headache and not recreate the wheel here. Has anyone found or created a script to take an ivp4 address and generate a ISIS ISO ID from it?
Example would be:
to
to
1921.6800.1001
to
49.000.1921.6800.1001.00
Split & replace method is pretty straight forward for most of this, the only part I am trying to wrap my head around is filling in the leading 0's when the octet is shortened.
The exploded method in the ipaddress library doesn't work with ipv4 address only ipv6.
No comments:
Post a Comment