noc.core.rpsl

Module Contents

noc.core.rpsl.RPLS_IDENT = 20
noc.core.rpsl.rpsl_format(rpsl, ident=None)
Idents RPSL by aligning left side of values
Emply strings and strings without ':' are silently dropped
>>> rpsl_format("key1: value1nkey2: value2nnto dropn",7)
'key1: value1nkey2: value2n'
noc.core.rpsl.rpsl_multiple(key, value)