docs: def create_network_configuration_files(self, file_path, guest_networks,
                                             first, active=False):
          """Generate network configuration files for guest vm
          :param list guest_networks:  a list of network info for the guest.
                 It has one dictionary that contain some of the below keys for
                 each network, the format is:
                 {'ip_addr': (str) IP address,
                 'dns_addr': (list) dns addresses,
                 'gateway_addr': (str) gateway address,
                 'cidr': (str) cidr format
                 'nic_vdev': (str) VDEV of the nic}
  
                 Example for guest_networks:
                 [{'ip_addr': '192.168.95.10',
                 'dns_addr': ['9.0.2.1', '9.0.3.1'],
                 'gateway_addr': '192.168.95.1',
                 'cidr': "192.168.95.0/24",
                 'nic_vdev': '1000'},
                 {'ip_addr': '192.168.96.10',
                 'dns_addr': ['9.0.2.1', '9.0.3.1'],
                 'gateway_addr': '192.168.96.1',
                 'cidr': "192.168.96.0/24",
                 'nic_vdev': '1003}]
          """
          cfg_files = []
          cmd_strings = ''
          network_config_file_name = self._get_network_file()
          network_cfg_str = 'auto lo\n'
          network_cfg_str += 'iface lo inet loopback\n'
          net_enable_cmd = ''
          if first:
              clean_cmd = self._get_clean_command()
          else:
              clean_cmd = ''
              network_cfg_str = ''
  
          for network in guest_networks:
              base_vdev = network['nic_vdev'].lower()
              network_hw_config_fname = self._get_device_filename(base_vdev)
              network_hw_config_str = self._get_network_hw_config_str(base_vdev)
              cfg_files.append((network_hw_config_fname, network_hw_config_str))
              (cfg_str, dns_str) = self._generate_network_configuration(network,
                                      base_vdev)
              LOG.debug('Network configure file content is: %s', cfg_str)
              network_cfg_str += cfg_str
              if len(dns_str) > 0:
                  network_cfg_str += dns_str
          if first:
              cfg_files.append((network_config_file_name, network_cfg_str))
          else:
              cmd_strings = ('echo "%s" >>%s\n' % (network_cfg_str,
                                                   network_config_file_name))
          return cfg_files, cmd_strings, clean_cmd, net_enable_cmd