code: def _get_dvs_product_info(dvs_name, dvs_product_info):
      '''
      Returns the dict representation of the DVS product_info
  
      dvs_name
          The name of the DVS
  
      dvs_product_info
          The DVS product info
      '''
      log.trace('Building the dict of the DVS \'%s\' product info', dvs_name)
      return {'name': dvs_product_info.name,
              'vendor': dvs_product_info.vendor,
              'version': dvs_product_info.versionf _get_dvs_product_info(dvs_name, dvs_product_info):
      '''
      Returns the dict representation of the DVS product_info
  
      dvs_name
          The name of the DVS
  
      dvs_product_info
          The DVS product info
      '''
      log.trace('Building the dict of the DVS \'%s\' product info', dvs_name)
      return {'name': dvs_product_info.name,
              'vendor': dvs_product_info.vendor,
              'version': dvs_product_info.version}
docs: Returns the dict representation of the DVS product_info
  
      dvs_name
          The name of the DVS
  
      dvs_product_info
          The DVS product info