1
0
mirror of https://github.com/peeringdb/peeringdb.git synced 2024-05-11 05:55:09 +00:00
Files
peeringdb-peeringdb/docs/dev/modules/util.py.md
Stefan Pratter 2ee1220c58 Support 202209 (#1259)
* Add export tool to https://peeringdb.com/cp/peeringdb_server #586

* IX-F importer fails on nulled ipv4 / ipv6 properties in vlan_list entries #1244

* Adding a POC must require an email address or phone number #1044

* Selenium tests

* ping django-peeringdb and rdap and poetry relock

* linting

* linting

* remove selenium tests cruft

* comment out django-peeringdb and search data mounts

* regen docs
2022-10-11 07:45:07 -05:00

403 B

Generated from util.py on 2022-10-11 12:34:14.972233

peeringdb_server.util

Assorted utility functions for peeringdb site templates.

Functions


coerce_ipaddr

def coerce_ipaddr(value)

ipaddresses can have multiple formats that are equivalent. This function will standardize a ipaddress string.

Note: this function is not a validator. If it errors It will return the original string.