code: def add_nic(self, uuid, type, id=None, hwaddr=None):
          
          args = {
              'uuid': uuid,
              'type': type,
              'id': id,
              'hwaddr': hwaddr,
          }
          self._man_nic_action_chk.check(args)
  
          return self._client.json('kvm.add_nic', args)
docs: Add a nic to a machine
          :param uuid: uuid of the kvm container (same as the used in create)
          :param type: nic_type # default, bridge, vlan, or vxlan (note, vlan and vxlan only supported by ovs)
           param id: id # depends on the type, bridge name (bridge type) zerotier network id (zertier type), the vlan tag or the vxlan id
           param hwaddr: the hardware address of the nic
          :return: