Conversation
|
If this PR is for a new extension or change to an existing extension, use the following to try out the changes in this PR: |
added 23 commits
October 14, 2019 10:49
…li-extensions into network-experiment
…li-extensions into network-experiment
Co-Authored-By: Diego Perez Botero <dibotero@microsoft.com>
Co-Authored-By: Diego Perez Botero <dibotero@microsoft.com>
Co-Authored-By: Diego Perez Botero <dibotero@microsoft.com>
Co-Authored-By: Diego Perez Botero <dibotero@microsoft.com>
| c.argument('endpoint_a_endpoint', id_part=None, help='The URL of the control endpoint in <hostname>[/<custom-path>] format (e.g., www.contoso.com or www.contoso.com/some/path/to/trans.gif). Must support HTTPS. If an object path isn\'t specified explicitly, Internet Analyzer will use "/apc/trans.gif" as the object path by default, which is where the preconfigured endpoints are hosting the one-pixel image.') | ||
| c.argument('endpoint_b_name', id_part=None, help='The name of the other endpoint') | ||
| c.argument('endpoint_b_endpoint', id_part=None, help='The URL of the other endpoint in <hostname>[/<custom-path>] format (e.g., www.contoso.com or www.contoso.com/some/path/to/trans.gif). Must support HTTPS. If an object path isn\'t specified explicitly, Internet Analyzer will use "/apc/trans.gif" as the object path by default, which is where the preconfigured endpoints are hosting the one-pixel image.') | ||
| c.argument('enabled_state', arg_type=get_enum_type(['Enabled', 'Disabled']), id_part=None, help='The state of the Experiment') |
There was a problem hiding this comment.
Suggested change
| c.argument('enabled_state', arg_type=get_enum_type(['Enabled', 'Disabled']), id_part=None, help='The state of the Experiment') | |
| c.argument('enabled_state', arg_type=get_enum_type(['Enabled', 'Disabled']), id_part=None, help='The state of the test') |
| c.argument('name', id_part=None, help='The name of the Internet Analyzer profile to be updated') | ||
| c.argument('location', arg_type=get_location_type(self.cli_ctx)) | ||
| c.argument('tags', tags_type) | ||
| c.argument('enabled_state', arg_type=get_enum_type(['Enabled', 'Disabled']), id_part=None, help='The state of the Experiment') |
There was a problem hiding this comment.
Suggested change
| c.argument('enabled_state', arg_type=get_enum_type(['Enabled', 'Disabled']), id_part=None, help='The state of the Experiment') | |
| c.argument('enabled_state', arg_type=get_enum_type(['Enabled', 'Disabled']), id_part=None, help='The state of the test') |
| c.argument('name', id_part=None, help='The name of the Internet Analyzer profile to be created') | ||
| c.argument('location', arg_type=get_location_type(self.cli_ctx)) | ||
| c.argument('tags', tags_type) | ||
| c.argument('enabled_state', arg_type=get_enum_type(['Enabled', 'Disabled']), id_part=None, help='The state of the Experiment') |
There was a problem hiding this comment.
Suggested change
| c.argument('enabled_state', arg_type=get_enum_type(['Enabled', 'Disabled']), id_part=None, help='The state of the Experiment') | |
| c.argument('enabled_state', arg_type=get_enum_type(['Enabled', 'Disabled']), id_part=None, help='The state of the test') |
mmyyrroonn
approved these changes
Oct 25, 2019
Contributor
mmyyrroonn
left a comment
There was a problem hiding this comment.
As the RC1 version, LGTM. We can refine it later.
| - name: Creates a test | ||
| text: |- | ||
| az internet-analyzer test create --resource-group "rg1" --profile-name "Profile1" --name \\ | ||
| "Experiment1" --description "this is my first experiment!" --endpoint-a-name "endpoint A" \\ |
There was a problem hiding this comment.
Suggested change
| "Experiment1" --description "this is my first experiment!" --endpoint-a-name "endpoint A" \\ | |
| "test1" --description "this is my first test!" --endpoint-a-name "endpoint A" \\ |
| - name: Updates a test | ||
| text: |- | ||
| az internet-analyzer test update --resource-group "rg1" --profile-name "Profile1" --name \\ | ||
| "Experiment1" --description "string" --enabled-state "Enabled" |
There was a problem hiding this comment.
Suggested change
| "Experiment1" --description "string" --enabled-state "Enabled" | |
| "test1" --description "string" --enabled-state "Enabled" |
| - name: Deletes a test | ||
| text: |- | ||
| az internet-analyzer test delete --resource-group "rg1" --profile-name "Profile1" --name \\ | ||
| "Experiment1" |
There was a problem hiding this comment.
Suggested change
| "Experiment1" | |
| "test1" |
|
Just added a few minor comments. Other than those, LGTM! |
Diego-Perez-Botero
approved these changes
Oct 25, 2019
|
Nit-picky comment: PR title should be "internet analyzer" instead of "network experiment" :P |
Author
|
@Diego-Perez-Botero too late :-) next one will have correct naming |
|
@zikalino no big deal ;) |
ManuInNZ
pushed a commit
to ManuInNZ/azure-cli-extensions
that referenced
this pull request
Apr 11, 2020
* adding autogenerated network experiment * fixed one problem * more network experiment fixes * further fixes * further fixes * adding vendored sdk as we need frontdoor experiment * networkexperiment -> frontdoor * additional parameter in test * additional parameter in example * upgraded network experiment * updated endpoint parameter names * profiles -> profile * autogenerated fixes * more sanity fixes * fixed sanity in init * fixed warnings * one more * too many blank lines * added codeowner * init in vendored sdks * renamed to network-analyzer * fixed filenames * more fixes * final rename fixes * adding list of preconfigured endpoints * fixed several generator mistakes * more ad-hoc fixes * changed network experiment structure * list profiles * fix * another fix * latency and timeseries * fix * removed unnecessary * updated scorecard things * Update src/internet-analyzer/azext_internet_analyzer/_help.py Co-Authored-By: Diego Perez Botero <dibotero@microsoft.com> * Update src/internet-analyzer/azext_internet_analyzer/_params.py Co-Authored-By: Diego Perez Botero <dibotero@microsoft.com> * Update src/internet-analyzer/azext_internet_analyzer/_params.py Co-Authored-By: Diego Perez Botero <dibotero@microsoft.com> * Update src/internet-analyzer/azext_internet_analyzer/_params.py Co-Authored-By: Diego Perez Botero <dibotero@microsoft.com> * Update src/internet-analyzer/azext_internet_analyzer/_params.py Co-Authored-By: Diego Perez Botero <dibotero@microsoft.com> * Update src/internet-analyzer/azext_internet_analyzer/_params.py Co-Authored-By: Diego Perez Botero <dibotero@microsoft.com> * Update src/internet-analyzer/azext_internet_analyzer/_params.py Co-Authored-By: Diego Perez Botero <dibotero@microsoft.com> * Update src/internet-analyzer/azext_internet_analyzer/_params.py Co-Authored-By: Diego Perez Botero <dibotero@microsoft.com> * Update src/internet-analyzer/azext_internet_analyzer/_params.py Co-Authored-By: Diego Perez Botero <dibotero@microsoft.com> * Update src/internet-analyzer/azext_internet_analyzer/_params.py Co-Authored-By: Diego Perez Botero <dibotero@microsoft.com> * Update src/internet-analyzer/azext_internet_analyzer/_params.py Co-Authored-By: Diego Perez Botero <dibotero@microsoft.com> * Update src/internet-analyzer/azext_internet_analyzer/_params.py Co-Authored-By: Diego Perez Botero <dibotero@microsoft.com> * Update src/internet-analyzer/azext_internet_analyzer/_params.py Co-Authored-By: Diego Perez Botero <dibotero@microsoft.com> * Update src/internet-analyzer/azext_internet_analyzer/_params.py Co-Authored-By: Diego Perez Botero <dibotero@microsoft.com> * Update src/internet-analyzer/azext_internet_analyzer/_params.py Co-Authored-By: Diego Perez Botero <dibotero@microsoft.com> * Update src/internet-analyzer/azext_internet_analyzer/_params.py Co-Authored-By: Diego Perez Botero <dibotero@microsoft.com> * Update src/internet-analyzer/azext_internet_analyzer/_params.py Co-Authored-By: Diego Perez Botero <dibotero@microsoft.com> * Update src/internet-analyzer/azext_internet_analyzer/_params.py Co-Authored-By: Diego Perez Botero <dibotero@microsoft.com> * Update src/internet-analyzer/azext_internet_analyzer/_params.py Co-Authored-By: Diego Perez Botero <dibotero@microsoft.com> * Update src/internet-analyzer/azext_internet_analyzer/_params.py Co-Authored-By: Diego Perez Botero <dibotero@microsoft.com> * Update src/internet-analyzer/azext_internet_analyzer/_params.py Co-Authored-By: Diego Perez Botero <dibotero@microsoft.com> * Update src/internet-analyzer/azext_internet_analyzer/_params.py Co-Authored-By: Diego Perez Botero <dibotero@microsoft.com> * fixed several issues * one more fix * and removed one more unnecessary thing * changed codeowner * added readme * Update src/internet-analyzer/setup.py Co-Authored-By: Diego Perez Botero <dibotero@microsoft.com> * added hack for paging * profile name * stupid mistake * Update src/internet-analyzer/azext_internet_analyzer/_help.py Co-Authored-By: Diego Perez Botero <dibotero@microsoft.com> * Update src/internet-analyzer/azext_internet_analyzer/_help.py Co-Authored-By: Diego Perez Botero <dibotero@microsoft.com> * Apply suggestions from code review Co-Authored-By: Diego Perez Botero <dibotero@microsoft.com> * fix * additional fix * fix * one more
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines
azdev style <YOUR_EXT>locally? (pip install azdevrequired)python scripts/ci/test_index.py -qlocally?For new extensions: