code: def _delete_ubridge_connection(self, adapter_number):
          
  
          vnet = "ethernet{}.vnet".format(adapter_number)
          if vnet not in self._vmx_pairs:
              raise VMwareError("vnet {} not in VMX file".format(vnet))
          yield from self._ubridge_send("bridge delete {name}".format(name=vnet))
docs: Deletes a connection in uBridge.
  
          :param adapter_number: adapter number