def fix_vn_to_fqname(self, props):
    for policy_rule in props['entries']['policy_rule']:
        for dest_address in policy_rule['dst_addresses']:
            try:
                dest_address['virtual_network'] = ':'.join(self.vnc_lib().id_to_fq_name(dest_address['virtual_network']))
            except Exception:
                pass
        for src_address in policy_rule['src_addresses']:
            try:
                src_address['virtual_network'] = ':'.join(self.vnc_lib().id_to_fq_name(src_address['virtual_network']))
            except Exception:
                pass
def fix_vn_to_fqname(self, props):
    for policy_rule in props['entries']['policy_rule']:
        for dest_address in policy_rule['dst_addresses']:
            try:
                dest_address['virtual_network'] = ':'.join(self.vnc_lib().id_to_fq_name(dest_address['virtual_network']))
            except Exception:
                pass
        for src_address in policy_rule['src_addresses']:
            try:
                src_address['virtual_network'] = ':'.join(self.vnc_lib().id_to_fq_name(src_address['virtual_network']))
            except Exception:
                pass