Граф коммитов

180 Коммитов

Автор SHA1 Сообщение Дата
Burt Bielicki f06c94f4c9 Add NAT Rules to VMSS create that allow SSH/RDP by default (#743) 2016-08-24 16:32:58 -07:00
Burt Bielicki a6412f59cd Commands/network dns (#718)
* Network Traffic Manager commands

* Network DNS commands
2016-08-22 15:30:15 -07:00
Travis Prescott ee4d1b92e8 [Storage] Storage Updates Round 3 (#702)
* Storage module finishing touches.

Fix issue #421.

Add table outputs for service proprties.

* Fix issue #421.

* Finish 3rd round work.

* Code review feedback.

* Address code review feedback.

* Code review feedback.
2016-08-19 13:07:51 -07:00
Burt Bielicki 511a72a527 Network Traffic Manager commands (#708) 2016-08-18 15:37:14 -07:00
Burt Bielicki 05ed5812e3 Create vnet gateway (#687)
Create VPN connection

Create route

Create vnet gateway root cert

Add support for custom update params.  Add address-prefix update param for vpn-gateway.

Create/delete root and revoked certs

Create express route circuit

create express route peering

create express route authorization

Merge changes from master

Add tests for VPN gateway and connection

code review feedback
2016-08-16 10:18:19 -07:00
Burt Bielicki e136876bc8 Commands/network IT (#668)
* Create vnet gateway

* create local gateway

* create route table

* remove static private ip address in favor of generic update since this is an advanced IT scenario
2016-08-10 13:50:22 -07:00
Yugang Wang 6b906d6b49 RBAC/Graph: Application and ServicePrincipal create, list & show (#664) 2016-08-09 15:07:39 -07:00
Burt Bielicki ef79c15e40 Add _help.py files for each module (#671) 2016-08-09 10:56:48 -07:00
Travis Prescott a299a2d0af NIC Command Updates and Subresources (#592)
* NIC command updates.

* Code review fixes.
2016-08-02 16:05:40 -07:00
Yugang Wang eb8608c494 fix #560/broken ARM templates gives bad error message (#565)
Author:    yugangw-msft <yugangw@microsoft.com>
2016-08-01 13:40:46 -07:00
Burt Bielicki 23ae073124 Generic Update Command support. (#558)
* Generic Update Command support.  Allows an update command (e.g. az vm
update) to be registered, which then updates fields with a generic
set/add/remove syntax.

* Use namespace to store ordered arguments and add a test for --ids param
2016-07-29 14:54:08 -07:00
Yugang Wang 385df00e9f basic graph object read for erasier role assignment creation (#553) 2016-07-28 11:38:27 -07:00
Johan Stenberg (MSFT) dbf4a529ab Basic support for redis cache (#542)
* Initial "bronze level" redis cache implementation

* Add some more semantic type information for parameters

* Fix broken choice list for key_type

* - Add output support for datetime.timedelta (simply calling str in it for now)
- Add support for redis patch-schedule (including basic support for set by passing in a json object

* Pylint fixes + missed changes from refactoring of parameter names

* Update license per code review comments
2016-07-25 11:28:01 -07:00
Burt Bielicki 157db18c19 Add tagging to VM and WebApp, refactor to eliminate nested templates (#538)
* Add tagging to VM and WebApp, refactor to eliminate nested templates

* Add copyright headers to generated files.  Also add a script that can auto-add the copyright to all *.py files.  Update the generate smart create script to add headers so we don't have to run the auto-add script after regenerating.
2016-07-21 15:30:55 -07:00
Burt Bielicki e5a16ad5e1 Commands/tagging2 (#534)
* Add tagging to LB, refactor to eliminate nested templates

* Add tagging to App Gateway, refactor to eliminate nested templates
2016-07-20 10:43:25 -07:00
Burt Bielicki 220f0e6412 Add tagging support to network create commands. Refactor templates to use master copies. (#532) 2016-07-19 16:02:51 -07:00
Travis Prescott b699dfd77d Application-Gateway Create (#477)
* First version of 'application gateway create'.

* Add application-gateway creation tests.

* Add validator for address prefixes.

* Code review feedback.

* Add application gateway completers.

* Code review fix.
2016-07-12 12:42:20 -07:00
Johan Stenberg (MSFT) 631017d798 Refactor AzureResourceId class and rename azure_resource_id to arm (#505)
* Rename the azure_resource_id module to arm as it provides generally usable ARM commands.

Also changed the parsing/creation of resource IDs to functions instead of having a class

* Fix minor bug where is_valid_resource_id throws if invalid id is passed in instead of returning Falsy.

* Partially working

* Fix up pylint violation in arm.py
Fix splitting bug for resource types in param_folding.
Fix missing import of argparse in network/_validatorys.py

* Fix broken merge from upstream still referencing now defunct AzureResourceId class

* Fix up lint errors

* Code review feedback.

- Moved parameter folding to central location (template_create module)
- Moved basic id validation from validator to type to get correct argument name in error message

* Update changes from upstream to work with new parameter folding/resource id refactoring

* Remove accidentally added newline
2016-07-07 18:30:31 -07:00
Burt Bielicki 5349089ac1 VM Enhancements Round 1 (#485)
* update AzureResourceId to strip whitespace and quotes (which are often passed in from the command line, especially from jmespath query results)

* change default vm size, fix output bug for multi-nic vms

* Fold VM Create Params

* Fold VM params part 2

* update tests to work with output adjustments

* Fix name collisions on delete/re-create.  Add fail if VM already exists with --force option to override.

* Add default so vm create help shows automatic SSH key read capability.

* Re-record VM tests, change os disk default to CLI-side

* update example text, move os-disk-name calculation to validator, remove
--force

* Update VM Create tests
2016-07-06 17:34:17 -07:00
Travis Prescott ffc7a6f06e Load Balancer Subresource Commands (#449)
* Alter LB create to be more bare-bones. Add supporting commands.

* Fix decorator issue with Python 2.7

* Address code review comments and add automated tests.

* Restore default backend address pool.

* Name/id parameter folding.

* Code review fixes.
2016-07-05 13:47:01 -07:00
Yugang Wang 95590e7a0f commands: group deployment validate & export (#464) 2016-06-29 11:36:04 -07:00
Burt Bielicki e25b9227a1 fold params into a single create/reference field for web app hosting plan (#446) 2016-06-28 14:45:03 -07:00
Yugang Wang 7e9bb65571 bug: fix #439 by validating & refreshing token before each rest call (#443) 2016-06-22 15:58:33 -07:00
Travis Prescott d440d252f8 NIC Smart Create (#430)
* Add NIC create smart create. Fix issues with deployment-name generation.

* Add public IP.  Add params for load balancer NAT rules and address pools (not implemented yet).

* Code review fixes.
2016-06-22 15:35:33 -07:00
Yugang Wang 171ad01f44 Bug: fix #123 so return error code on CLIError (#442) 2016-06-22 11:42:01 -07:00
Burt Bielicki 0b3b6fd9e1 Commands/create vm outputs2 (#441)
* procure vm create outputs

* merge renames and add ID output
2016-06-22 09:31:53 -07:00
Burt Bielicki d9e2b69659 Commands/create vm (#435)
* VM Create: Add support for multiple existing NICs

* Rename vm mgmt folder
2016-06-21 15:28:47 -07:00
Travis Prescott 76857d6a32 Fix Load Balancer Outputs and Tests (#418)
* Fix lack of load balancer outputs. Update load balancer test to include
creation.

* Final code review comments.

* Address issue #347.
2016-06-16 15:31:33 -07:00
Travis Prescott 3d4f7ee1e0 Refactor test framework (#397)
* Initial refactoring work.

* Code review fixes
2016-06-16 09:54:57 -07:00
Travis Prescott 04f06aaab7 Add test plan and update VCR test to cover the test plan. 2016-06-13 17:01:00 -07:00
Travis Prescott 46f3a49a4a Created versioned 'public_ip_address' create. Add scripts for automated
smare creates.
2016-06-13 16:58:57 -07:00
Burt Bielicki fbbe37234b rename _help_files to help_files. Move test code out of help_files … (#380)
* rename _help_files to help_files.  Move test code out of help_files  Remove help doc gen.
2016-06-10 15:30:13 -07:00
Burt Bielicki 25a24d75fe Create NSG command and test (#366)
* Create NSG command and test

* Create NSG Rule command, remove rules from NSG create

* Create NSG rule create and test
2016-06-09 16:07:50 -07:00
Yugang Wang 239572f2a0 vm command: support capture (#381)
* vm command: support capture

* command: vm capture need not take a file option for template content
2016-06-09 15:17:52 -07:00
Yugang Wang 3a19a05c6f tests: convert VM and network vcr tests into python unit test (#367)
tests: convert VM and network vcr tests into python unit test
2016-06-07 17:34:44 -07:00
Burt Bielicki e8f3bfdb86 VM/VMSS test plan (#359)
* version VMSS templates, add test plan, update params to match VM

add support for custom images in vm create

* add handle auth types to scaleset add missing behavior for custom images
to VMSS

* add custom image support to vm create

implement custom vhd support for vm create

* fix merge errors

* fix some commands that broke during the command registration changes
2016-06-07 16:18:49 -07:00
Johan Stenberg c4dfad60a9 Cleaned up azure.cli.commands to make it clear what is supposed to be part of the public surface area for command authors and what is internal.
Changed the command package protocol back to using a single command table defined in the azure.cli.commands packge instead of expecting a get_command_table method for each command package.

Moved argument aliasing and updating logic from application into azure.cli.commands since that is where it belongs.
2016-06-07 15:34:18 -07:00
Travis Prescott 70ae348aa6 Create ACL commands and tests for blob and file services. 2016-06-03 14:48:56 -07:00
Johan Stenberg 8af1b5eb60 Remove defunct support for localization 2016-06-03 13:51:00 -07:00
Travis Prescott 519d995c0d Merge branch 'master' into convert_storage_commands
# Conflicts:
#	src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/_params.py
2016-06-02 10:07:16 -07:00
Burt Bielicki b3e142a6da Commands/create vm (#344)
* Redirect templates, fix NSG rule bug

* fix private static IP address bug, rename IP Allocations to lower case
2016-06-02 09:39:17 -07:00
Travis Prescott c17284e152 Post merge fixes. 2016-06-02 08:42:42 -07:00
Travis Prescott ae3f0e14ee Merge branch 'master' of https://github.com/johanste/azure-cli into convert_storage_commands
# Conflicts:
#	src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/_params.py
#	src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/custom.py
#	src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/generated.py
#	src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/tests/test_custom_vm_commands.py
2016-06-01 09:26:00 -07:00
Travis Prescott 9ab8a50d61 Covert all modules to new style command registration and aliasing. 2016-06-01 09:11:42 -07:00
Johan Stenberg (MSFT) 7d4b65d118 Merge pull request #320 from BurtBiel/commands/CreateVM
Commands/create vm Add NSG support
2016-05-26 16:09:40 -07:00
Burt Bielicki 61c587e067 Add NSG support to Create VM 2016-05-26 15:59:03 -07:00
Travis Prescott acea1bd33c THIS WILL BE BROKEN!
Merge branch 'master' of https://github.com/johanste/azure-cli into convert_storage_commands

# Conflicts:
#	scripts/dump_command_table.py
#	src/azure/cli/commands/__init__.py
#	src/azure/cli/utils/command_test_script.py
#	src/command_modules/azure-cli-network/azure/cli/command_modules/network/_params.py
#	src/command_modules/azure-cli-network/azure/cli/command_modules/network/tests/command_specs.py
#	src/command_modules/azure-cli-resource/azure/cli/command_modules/resource/tests/command_specs.py
#	src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/_params.py
#	src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/generated.py
#	src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/tests/command_specs.py
#	src/command_modules/azure-cli-storage/azure/cli/command_modules/storage/tests/recordings/expected_results.res
#	src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/generated.py
#	src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/tests/command_specs.py
#	src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/tests/command_specs_vm_create.py
2016-05-26 12:35:26 -07:00
Travis Prescott 515e96939f Tag scenario tests and enhanced interactive testing debugging. 2016-05-25 17:01:07 -07:00
Travis Prescott 2059d7f2a9 Fix bug in command coverage. Handle quoted strings properly when splitting. Add tag scenario test.
Add Role module and tests.
2016-05-25 17:00:19 -07:00
Travis Prescott b09b6db778 Add Role and Role Assignment auto-commands. 2016-05-25 16:59:25 -07:00