[AKS] aks create/update: add --vnet-subnet_id validationChenyzh vnet validator - #1243
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: |
Tested in docker, expected result received. |
|
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: |
|
Did not realize "close and comment" will actually close entire PR while Azure DevOps just close the comment, re-open for continuing the review. |
|
Re-try validation as one of check is expire |
|
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: |
|
add to S165. |
1 similar comment
|
add to S165. |
|
CHENYI ZHANG (@Czhang0727) Hello. I remembered that I merged a same PR. Is that in CLI main repo? |
Myron (mmyyrroonn)
left a comment
There was a problem hiding this comment.
LGTM. Feiyue Yu (@qwordy) please leave your comments and sign off
myronfanqiu Hi, I already checked in the same update in azure-cli as recommended. The update is already checked in. I added a little bouns as I saw there is a styling warning with an un-necessary return. |
|
Feiyue Yu (@qwordy), any chance we can merge the change? |
| c.argument('pod_cidr') | ||
| c.argument('service_cidr') | ||
| c.argument('vnet_subnet_id') | ||
| c.argument('vnet_subnet_id', type=str, validator=validate_vnet_subnet_id) |
There was a problem hiding this comment.
Does it has a help message?
There was a problem hiding this comment.
yes it does, it keeps same as it was to be in _help.py
- name: --vnet-subnet-id
type: string
short-summary: The ID of a subnet in an existing VNet into which to deploy the cluster.
|
merge conflict for check-in |
|
Feiyue Yu (@qwordy) Hi, would it possible to have the file merged and checked in? |
|
We are very sorry to leave this PR unmerged for a long time. Can you resolve the conflicts again? |
remove tailing space
add line for lint
|
Feiyue Yu (@qwordy) Resolved conflict and verified through the pipeline. |
…validator (Azure#1243) * Adding VNetSubnet Validator, raise Error if we got an invalid resource id * addining valid test case * adding null / empty value test * Format fixing * fixing style issues * remove white space at tail * Update _params.py remove tailing space * Update _params.py add line for lint Co-authored-by: Chenyi Zhang <Chenyi.Zhang@microsoft.com> Co-authored-by: Chenyi Zhang <chenyzh@microsoft.com> Co-authored-by: Feiyue Yu <fey@microsoft.com>
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: