-
Notifications
You must be signed in to change notification settings - Fork 3
Description
As a network contributor, I want to be able to update the location of a DZD onchain.
$ doublezero device update --pubkey 4BuB3vSGWWdmhs9Qr7VFQbLLQ8w2TqfTuxWpBcSJaZKe --location EQX-AM4
error: unexpected argument '--location' found
root@ac1c367bffc1:~# doublezero device update --pubkey 4BuB3vSGWWdmhs9Qr7VFQbLLQ8w2TqfTuxWpBcSJaZKe --help
Update an existing device
Usage: doublezero device update [OPTIONS] --pubkey
Options:
--pubkey Device Pubkey to update
--code Updated code for the device
--public-ip <PUBLIC_IP> Updated public IPv4 address for the device (e.g. 10.0.0.1)
--dz-prefixes <DZ_PREFIXES> Updated list of DZ prefixes in comma-separated CIDR format (e.g. 10.1.0.0/16,10.2.0.0/16)
--metrics-publisher <METRICS_PUBLISHER> Metrics publisher Pubkey (optional)
--contributor Contributor Pubkey (optional)
--mgmt-vrf <MGMT_VRF> Management VRF name (optional)
--max-users <MAX_USERS> Maximum number of users for the device (optional)
--users-count <USERS_COUNT> Number of users connected to the device (optional)
-w, --wait Wait for the device to be activated
--env DZ env (testnet, devnet, or mainnet-beta)
--url <RPC_URL> DZ ledger RPC URL
--ws <WEBSOCKET_URL> DZ ledger WebSocket URL
--program-id <PROGRAM_ID> DZ program ID (testnet or devnet)
--keypair Path to the keypair file
-h, --help Print help