code: def _delete_network(self, network_info):
          
          org_name = network_info.get('organizationName', '')
          part_name = network_info.get('partitionName', '')
          segment_id = network_info['segmentId']
          if 'mobDomainName' in network_info:
              vlan_id = network_info['vlanId']
              mob_dom_name = network_info['mobDomainName']
              url = self._network_mob_url % (org_name, part_name, vlan_id,
                                             mob_dom_name)
          else:
              url = self._network_url % (org_name, part_name, segment_id)
          return self._send_request('DELETE', url, '', 'network')
docs: Send network delete request to DCNM.
  
          :param network_info: contains network info to be deleted.