5487
|
|
|
Mike Pontillo |
|
7 years ago
|
|
|
5486
|
|
|
Lee Trager |
|
7 years ago
|
|
|
5485
|
|
|
Mike Pontillo |
|
7 years ago
|
|
|
5484
|
|
|
Lee Trager |
|
7 years ago
|
|
|
5483
|
|
|
LaMont Jones |
|
7 years ago
|
|
|
5482
|
|
|
LaMont Jones |
|
7 years ago
|
|
|
5481
|
|
|
Lee Trager |
|
7 years ago
|
|
|
5480
|
|
|
Blake Rouse |
2.1.0 |
7 years ago
|
|
|
5479
|
|
|
Mike Pontillo |
|
7 years ago
|
|
|
5478
|
|
|
Lee Trager |
|
7 years ago
|
|
|
5477
|
|
|
Mike Pontillo |
|
7 years ago
|
|
|
5476
|
|
|
Gavin Panella |
|
7 years ago
|
|
|
5475
|
|
|
Newell Jensen |
|
7 years ago
|
|
|
5474
|
|
|
Blake Rouse |
|
7 years ago
|
|
|
5473
|
|
|
Blake Rouse |
|
7 years ago
|
|
|
5472
|
|
[r=allenap][bug=1629061][author=mpontillo] Make the 'ipaddresses' API do what everyone expected it to do.
* Modify 'read' operation to show additional relevant fields, so that API users can determine which address they want to release. - Adds 'user' field so that administrators can verify that addresses they want to release belong to a particular user - Add 'alloc_type_name' field, so that administrators can verify the expected [human readable] type of the address. - Add 'interface_set' field, so that administrators can check which interfaces are linked to the each IP address. * Add 'user=<user>' option to 'read' operation, so that administrators can list addresses belonging to a specific user. * Add 'all=true' option to 'read' operation, so that administrators can list all addresses without restriction. (Normally, only "User reserved" addresses are shown. This option also removes the 'user' filter.) * Add 'ip=<ip-address>' option to 'read' operation, so that administrators can verify that a specific address is the intended address to release before releasing it. * Allow the 'release' operation to release any IP address, not just a user-reserved IP address belonging to the current user. (Requires the 'force=true' parameter to be used, otherwise restricts the release operation the same way as before.) * Add 'ip=<ip-address>' optional argument to 'reserve' operation, so that the user experience is consistent across all operations on the 'ipaddresses' endpoint. This replaces the now-deprecated 'ip_address' parameter, which may still be used, and acts as an alias to the 'ip' parameter (if the 'ip' parameter is not specified). * Drive-by DRY up for displayed interface fields in the API.
|
Mike Pontillo |
|
7 years ago
|
|
|
5471
|
|
|
Newell Jensen |
|
7 years ago
|
|
|
5470
|
|
|
Gavin Panella |
|
7 years ago
|
|
|
5469
|
|
|
Blake Rouse |
|
7 years ago
|
|
|
5468
|
|
|
Newell Jensen |
|
7 years ago
|
|
|