@classmethod<EOL><INDENT>def from_dict(cls, parm, vrf = None):<DEDENT>
if vrf is None:<EOL><INDENT>vrf = VRF()<EOL><DEDENT>vrf.id = parm['<STR_LIT:id>']<EOL>vrf.rt = parm['<STR_LIT>']<EOL>vrf.name = parm['<STR_LIT:name>']<EOL>vrf.description = parm['<STR_LIT:description>']<EOL>vrf.tags = {}<EOL>for tag_name in parm['<STR_LIT>']:<EOL><INDENT>tag = Tag.from_dict({'<STR_LIT:name>': tag_name })<EOL>vrf.tags[tag_name] = tag<EOL><DEDENT>vrf.avps = parm['<STR_LIT>']<EOL>vrf.num_prefixes_v4 = int(parm['<STR_LIT>'])<EOL>vrf.num_prefixes_v6 = int(parm['<STR_LIT>'])<EOL>vrf.total_addresses_v4 = int(parm['<STR_LIT>'])<EOL>vrf.total_addresses_v6 = int(parm['<STR_LIT>'])<EOL>vrf.used_addresses_v4 = int(parm['<STR_LIT>'])<EOL>vrf.used_addresses_v6 = int(parm['<STR_LIT>'])<EOL>vrf.free_addresses_v4 = int(parm['<STR_LIT>'])<EOL>vrf.free_addresses_v6 = int(parm['<STR_LIT>'])<EOL>return vrf<EOL>
Create new VRF-object from dict.

            Suitable for creating objects from XML-RPC data.
            All available keys must exist.