flyctl icon indicating copy to clipboard operation
flyctl copied to clipboard

Add IP service & network to ip list

Open michaeldwan opened this issue 1 year ago • 0 comments

This PR includes a service name and network of an IP address if available. Private ipv6 addresses grant access to the network an IP was created in, so it's important to show this so users understand why an IP exists and what access it provides. See the docs for more.

Before:

fly ips list
VERSION	IP                	TYPE   	REGION	CREATED AT        
v6     	fdaa:0:33:0:1::10 	private	global	Oct 31 2023 14:47	
v6     	fdaa:0:35:0:1::a  	private	global	Oct 27 2023 20:43	
v6     	fdaa:2:d67:0:1::3 	private	global	Dec 4 2023 16:57 	
v6     	fdaa:3:8c8f:0:1::2	private	global	Nov 13 2023 21:24

After

fly ips list
VERSION	IP                	TYPE   	REGION	NETWORK               	SERVICE	CREATED AT        
v6     	fdaa:0:33:0:1::10 	private	global	fly/default           	       	Oct 31 2023 14:47	
v6     	fdaa:0:35:0:1::a  	private	global	flyio-ui/default      	       	Oct 27 2023 20:43	
v6     	fdaa:2:d67:0:1::3 	private	global	flyctl-backend/default	       	Dec 4 2023 16:57 	
v6     	fdaa:3:8c8f:0:1::2	private	global	balloon-popper/default	       	Nov 13 2023 21:24

Don't merge until a PR against rails is deployed!

michaeldwan avatar Feb 13 '24 19:02 michaeldwan