Skip to content

Conversation

@shyamshd
Copy link
Member

@shyamshd shyamshd commented May 28, 2020

Description

  • Put/Delete hubvnet operations were using PUT on parent hub. Instead just use the newly exposed put/delete APIs on hubvnet connection.
  • Use hubvnet connections crud operations in virtual hub cmdlets also. The virtual network connections here will be eventually deprecated. Add a warning to that effect.
  • In, New hubvnet command, make enableInternetSecurity to be true by default unless specified otherwise. Since the parameter was previously a switch, add a deprecation warning for the old one and add a new flag.

Checklist

  • I have read the Submitting Changes section of CONTRIBUTING.md
  • The title of the PR is clear and informative
  • The appropriate ChangeLog.md file(s) has been updated:
    • For any service, the ChangeLog.md file can be found at src/{{SERVICE}}/{{SERVICE}}/ChangeLog.md
    • A snippet outlining the change(s) made in the PR should be written under the ## Upcoming Release header -- no new version header should be added
  • The PR does not introduce breaking changes
  • If applicable, the changes made in the PR have proper test coverage
  • For public API changes to cmdlets:
    • a cmdlet design review was approved for the changes in this repository (Microsoft internal only)
    • the markdown help files have been regenerated using the commands listed here

Shyam Dharmarajan added 2 commits May 27, 2020 00:53
Put/Delete hubvnet operations were using PUT on parent hub. Instead just
use the newly exposed put/delete APIs on hubvnet connection.

Set EnableInternetSecurity flag to true by default.  Do this only for
new connections
This retains backward compatibility with the existing virtual hub APIs.
Also add a deprecation warning to remove specifying virtualnetwork
connections in virtual hub.
@shyamshd shyamshd requested a review from anton-evseev as a code owner May 28, 2020 04:30
@shyamshd shyamshd changed the title Shdharma/deprecate hubvnet conn from hub VirtualWan: Use hubvnet CRUD operations for Hubvnet and hub cmdlets May 28, 2020
@shyamshd shyamshd requested a review from nagula-ritvika May 28, 2020 04:32
@VeryEarly VeryEarly self-assigned this May 28, 2020
* lb backend address pool create/update/delete operations

* adding tests with draft

* making some updates for design review PR to powershell team

* adding .md files

* -adding tests
-updating help files
-addressing feedback

* pulling in sdk changes for network-may branch for validation errors

* Addressing comments and updating output format for PsLoadBalancerBackendAddress

* updating .md files and making final changes

Co-authored-by: Ali Egal <[email protected]>
@VeryEarly
Copy link
Collaborator

Hi @Shyamal-V

Besides the review from @nagula-ritvika , it seems like there are build issue caused by SDK, please resolve inorder to pass CI checks

@shyamshd
Copy link
Member Author

shyamshd commented Jun 1, 2020

Hi @Shyamal-V

Besides the review from @nagula-ritvika , it seems like there are build issue caused by SDK, please resolve inorder to pass CI checks

The build issues are because the SDK is not available yet. I built/tested it by creating a local SDK. The rest-api changes have been merged. I was told the new 2020-05-01 api version should be available this week. I uploaded it sooner to give the reviewers enough time.

@VeryEarly
Copy link
Collaborator

Hi @Shyamal-V
Besides the review from @nagula-ritvika , it seems like there are build issue caused by SDK, please resolve inorder to pass CI checks

The build issues are because the SDK is not available yet. I built/tested it by creating a local SDK. The rest-api changes have been merged. I was told the new 2020-05-01 api version should be available this week. I uploaded it sooner to give the reviewers enough time.

Please let me know once it was available, thanks.

…P2SVpnGateway and P2SClients (Azure#12006)

* Adding new optional parameter to specify dns servers for Virtual Wan-P2SVpnGateway and P2SClients

* Incorporate code review comments and added test record

* Suppress warnings

* Suppress cred scan errors
@shyamshd
Copy link
Member Author

shyamshd commented Jun 3, 2020

@VeryEarly do you know when the new SDK would become available? Also, how do I trigger the pipeline to run again when it becomes available?

@VeryEarly
Copy link
Collaborator

@VeryEarly do you know when the new SDK would become available? Also, how do I trigger the pipeline to run again when it becomes available?

SDK generation should be handled by service team.
You can do "/azp run" to restart the CI.

@shyamshd
Copy link
Member Author

shyamshd commented Jun 5, 2020

/azp run

nagula-ritvika
nagula-ritvika previously approved these changes Jun 9, 2020
Copy link
Contributor

@nagula-ritvika nagula-ritvika left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm : please update help markdown files and have PR ready for review by PS team by the time sdk is merged in

Khushboo-Baheti and others added 10 commits June 11, 2020 09:59
* commit1

* commit2

* Fix1

Co-authored-by: Khushboo Baheti <[email protected]>
…or Multiple DNAT Rule Collections (Azure#12095)

* Change RuleGroup and RuleCollectionGroup based on swagger change. Also,
add support for NAT Rule Collections containing multiple NAT Rule
Collections

* PR Comments

* Updated the SDK

* StaticAnalysis

* Previous changes got removed in rebase
* Use Network SDK from NuGet

* Additional mappings
* merge conflict

* fixes

* tejas review

Co-authored-by: Ishani Gupta <[email protected]>
* Add support for IPGroups in Firewall Policy Rules

* Pr Comments

* Resolved merge conflicts

* Update ChangeLog.md

* Update ChangeLog.md

Co-authored-by: Yabo Hu <[email protected]>
@shyamshd
Copy link
Member Author

shyamshd commented Jun 12, 2020

@VeryEarly I updated the test cases, but I am still running into an issue. It is unrelated to my change and in express route. Do we know if the test passes in the baseline without my changes?

Also another question- Is there a way to run the pipeline with a different resource name and/or in a different region. I tried to debug the ER gateway failure & I suspect it might be to do with some zombie state related to this specific resource in the specific region.

aegal and others added 2 commits June 12, 2020 16:29
PR : Update to accomdate SDK changes with VNET reference
* Application Gateway Private Link Cmdlets

* add change log
@shyamshd
Copy link
Member Author

/azp run

@azure-pipelines
Copy link
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

@VeryEarly
Copy link
Collaborator

@VeryEarly I updated the test cases, but I am still running into an issue. It is unrelated to my change and in express route. Do we know if the test passes in the baseline without my changes?

Also another question- Is there a way to run the pipeline with a different resource name and/or in a different region. I tried to debug the ER gateway failure & I suspect it might be to do with some zombie state related to this specific resource in the specific region.

This test case referenced New-AzVirtualHub which has API changed, please investigate and fix test case.

https://github.com/shyamshd/azure-powershell/blob/shdharma/deprecate-hubvnet-conn-from-hub/src/Network/Network.Test/ScenarioTests/VirtualHubRouteTableTests.ps1#L47

* add routing state and expose reset-hubrouter

* update help

* updated

* Update ChangeLog.md

* update help file name

* export cmdlet

* update test

* fix

* update md file

* update tests

* updated help

* Update Reset-AzHubRouter.md

* test recorded

Co-authored-by: Yabo Hu <[email protected]>
@VeryEarly
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link
Contributor

Azure Pipelines successfully started running 3 pipeline(s).

@shyamshd shyamshd force-pushed the shdharma/deprecate-hubvnet-conn-from-hub branch from b07761a to 3575979 Compare June 15, 2020 08:32
@VeryEarly VeryEarly changed the base branch from network-may to master June 16, 2020 05:30
@VeryEarly VeryEarly dismissed nagula-ritvika’s stale review June 16, 2020 05:30

The base branch was changed.

@VeryEarly
Copy link
Collaborator

close as merged in another PR #12171

@VeryEarly VeryEarly closed this Jun 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.