def _allocate_ips_to_nics(self, conf):
for dom_name, dom_spec in list(conf.get('<STR_LIT>', {}).items()):<EOL><INDENT>for idx, nic in enumerate(dom_spec.get('<STR_LIT>', [])):<EOL><INDENT>if '<STR_LIT>' in nic:<EOL><INDENT>continue<EOL><DEDENT>net = self._get_net(conf, dom_name, nic)<EOL>if net['<STR_LIT:type>'] != '<STR_LIT>':<EOL><INDENT>continue<EOL><DEDENT>allocated = list(net['<STR_LIT>'].values())<EOL>vacant = _create_ip(<EOL>net['<STR_LIT>'],<EOL>set(range(<NUM_LIT:2>, <NUM_LIT:255>)).difference(<EOL>set([int(ip.split('<STR_LIT:.>')[-<NUM_LIT:1>]) for ip in allocated])<EOL>).pop()<EOL>)<EOL>nic['<STR_LIT>'] = vacant<EOL>self._add_nic_to_mapping(net, dom_spec, nic)<EOL><DEDENT><DEDENT>
For all the nics of all the domains in the conf that have dynamic ip,
allocate one and addit to the network mapping

Args:
    conf (dict): Configuration spec to extract the domains from

Returns:
    None