code: def _get_dvs_link_discovery_protocol(dvs_name, dvs_link_disc_protocol):
      '''
      Returns the dict representation of the DVS link discovery protocol
  
      dvs_name
          The name of the DVS
  
      dvs_link_disc_protocl
          The DVS link discovery protocol
      '''
      log.trace('Building the dict of the DVS \'%s\' link discovery protocol', dvs_name)
      return {'operation': dvs_link_disc_protocol.operation,
              'protocol': dvs_link_disc_protocol.protocolf _get_dvs_link_discovery_protocol(dvs_name, dvs_link_disc_protocol):
      '''
      Returns the dict representation of the DVS link discovery protocol
  
      dvs_name
          The name of the DVS
  
      dvs_link_disc_protocl
          The DVS link discovery protocol
      '''
      log.trace('Building the dict of the DVS \'%s\' link discovery protocol', dvs_name)
      return {'operation': dvs_link_disc_protocol.operation,
              'protocol': dvs_link_disc_protocol.protocol}
docs: Returns the dict representation of the DVS link discovery protocol
  
      dvs_name
          The name of the DVS
  
      dvs_link_disc_protocl
          The DVS link discovery protocol