Naming
Returns formatted domain name for node r in graph graph.
Returns file system safe name for device, used for folders.
Returns name with spaces, underscores and other illegal characters removed. Useful for Bind/DNS
Returns appropriate naming function based on target olive_qemu_patched means can do int 0->6
Returns the next free interface number for the tap interface
For routing protocols, refer to logical int id:
>>> junos_logical_int_id("ge-0/0/1")
'ge-0/0/1.0'
>>> junos_logical_int_id("em0")
'em0.0'