@classmethod<EOL><INDENT>def find_free(cls, vrf, args):<DEDENT>
xmlrpc = XMLRPCConnection()<EOL>q = {<EOL>'<STR_LIT:args>': args,<EOL>'<STR_LIT>': AuthOptions().options<EOL>}<EOL>if isinstance(vrf, VRF):<EOL><INDENT>q['<STR_LIT>'] = { '<STR_LIT:id>': vrf.id }<EOL><DEDENT>elif vrf is None:<EOL><INDENT>q['<STR_LIT>'] = None<EOL><DEDENT>else:<EOL><INDENT>raise NipapValueError('<STR_LIT>')<EOL><DEDENT>try:<EOL><INDENT>find_res = xmlrpc.connection.find_free_prefix(q)<EOL><DEDENT>except xmlrpclib.Fault as xml_fault:<EOL><INDENT>raise _fault_to_exception(xml_fault)<EOL><DEDENT>pass<EOL>return find_res<EOL>
Finds a free prefix.

            Maps to the function
            :py:func:`nipap.backend.Nipap.find_free_prefix` in the backend.
            Please see the documentation for the backend function for
            information regarding input arguments and return values.