-
Notifications
You must be signed in to change notification settings - Fork 3.3k
support vnet peering across tenant #6469
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #6469 +/- ##
===================================
Coverage 0% 0%
===================================
Files 11 11
Lines 133 133
Branches 9 9
===================================
Misses 133 133Continue to review full report at Codecov.
|
| identity_type, identity_id = Profile._try_parse_msi_account_name(account) | ||
|
|
||
| external_tenants_info = [] | ||
| for s in [x for x in (aux_subscriptions or []) if x != subscription_id]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is more readable to use a longer variable name other than a single character.
| external_tenants_info = [] | ||
| for s in [x for x in (aux_subscriptions or []) if x != subscription_id]: | ||
| a = self.get_subscription(s) | ||
| if a[_TENANT_ID] != account[_TENANT_ID]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same.
| def get_mgmt_service_client(cli_ctx, client_or_resource_type, subscription_id=None, api_version=None, | ||
| **kwargs): | ||
| aux_subscriptions=None, **kwargs): | ||
| ''' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We use triple double quote.
tjprescott
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
A scaled down version of #6423 with only vnet peering
The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).
I adhere to the Command Guidelines.