Skip to content
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

[Network] Service endpoint policies #7080

Merged
merged 4 commits into from
Aug 21, 2018
Merged

[Network] Service endpoint policies #7080

merged 4 commits into from
Aug 21, 2018

Conversation

tjprescott
Copy link
Member

Note: This is a merge into a dedicated branch for Ignite networking work. It won't pass CI right now and I'm only looking for code review so that specific features can be reviewed in small pieces instead of a huge PR later.

This adds support for service endpoint policies and policy definitions.

Closes #6932. cc/ @chandrasekarsrinivasan


This checklist is used to make sure that common guidelines for a pull request are followed.

  • 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.

@tjprescott tjprescott added New Command(s) Network az network vnet/lb/nic/dns/etc... labels Aug 17, 2018
@tjprescott tjprescott added this to the Sprint 44 milestone Aug 17, 2018
@@ -13,8 +13,7 @@
<LaunchProvider>Standard Python launcher</LaunchProvider>
<InterpreterId>MSBuild|{54f4b6dc-0859-46dc-99bb-b275c9d0aca3}|$(MSBuildProjectFullPath)</InterpreterId>
<EnableNativeCodeDebugging>False</EnableNativeCodeDebugging>
<CommandLineArguments>
</CommandLineArguments>
<CommandLineArguments>network vnet subnet create -g tjp-vm --vnet-name vnet1 -n subnet1 --service-endpoints Microsoft.Storage Microsoft.Sql --address-prefix 10.0.0.0/24 --service-endpoint-policy policy1</CommandLineArguments>
Copy link
Contributor

Choose a reason for hiding this comment

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

you can back out this change right now, or wait till merge into the dev branch


# test policy CRUD
self.cmd('network service-endpoint policy create -g {rg} -n {policy} --tags test=best')
self.cmd('network service-endpoint policy update -g {rg} -n {policy} --tags test=nest')
Copy link
Contributor

Choose a reason for hiding this comment

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

Please add some validations here for this test case.
Also, are you able to get the wheel file from associated Python SDK PR? If yes, you can put under the privates folder, then CI can run normally.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, I will add validations. I'm not concerned right now about the CI.

@tjprescott
Copy link
Member Author

Closes #7104.

@tjprescott tjprescott merged this pull request into Azure:IgniteNetwork Aug 21, 2018
@tjprescott tjprescott deleted the ServiceEndpointPolicies branch August 21, 2018 20:27
tjprescott added a commit that referenced this pull request Sep 11, 2018
* Bump API version

* [Network] Public IP Prefix (#7081)

* Initial Work

* Finish command work and test.

* Add help entries.

* Vnet show/list table format.

* [Network] Service endpoint policies (#7080)

* Intial work

* Finish command work and add test.

* Remove policy-definition create workaround.

* Code review feedback.

* [Network] Load Balancer Outbound Rules (#7114)

* Initial work on Outbound Rules

* Progress on outbound rules.

* Final work on LB outbound rules.

* Add `--enable-tcp-reset` to inbound-nat-rule, inbound-nat-pool, and rule create/update commands.

* Fix 2 Network Live test issues.

* [IgniteNetwork] Fix issues with Network Watcher flog-log configure (#7143)

* Fix #7065. Fix #7066.

* Code review feedback.

* [IgniteNetwork] Add `run-configuration-diagnostic` command and fix `test-connectivity` (#7165)

* Add run-configuration-diagnostic command.

* Add `run-configuration-diagnostic` command. Fix `test-connectivty` command because of SDK breaking change.

* [IgniteNetwork] Subnet delegation (#7200)

* Subnet delegation support.

* Finish work and add test.

* Close #7181. (#7205)

* Code review comments.

* Disable test recordings on IgniteNetwork branch.

* Clean up static issues.

* Add private WHL for draft SDK.

* Fix #7146. Fix #7191. Fix #7213. (#7232)

* [IgniteNetwork] DNS Alias Records (#7233)

* Initial work.

* Add test.

* Add checks to DNS test. Add private DNS whl file.

* Close #7242. (#7246)

* Vnet show/list table format.

* Bump API version

* [Network] Public IP Prefix (#7081)

* Initial Work

* Finish command work and test.

* Add help entries.

* [Network] Service endpoint policies (#7080)

* Intial work

* Finish command work and add test.

* Remove policy-definition create workaround.

* Code review feedback.

* [Network] Load Balancer Outbound Rules (#7114)

* Initial work on Outbound Rules

* Progress on outbound rules.

* Final work on LB outbound rules.

* Add `--enable-tcp-reset` to inbound-nat-rule, inbound-nat-pool, and rule create/update commands.

* Fix 2 Network Live test issues.

* [IgniteNetwork] Fix issues with Network Watcher flog-log configure (#7143)

* Fix #7065. Fix #7066.

* Code review feedback.

* [IgniteNetwork] Add `run-configuration-diagnostic` command and fix `test-connectivity` (#7165)

* Add run-configuration-diagnostic command.

* Add `run-configuration-diagnostic` command. Fix `test-connectivty` command because of SDK breaking change.

* [IgniteNetwork] Subnet delegation (#7200)

* Subnet delegation support.

* Finish work and add test.

* Close #7181. (#7205)

* Code review comments.

* Disable test recordings on IgniteNetwork branch.

* Clean up static issues.

* Add private WHL for draft SDK.

* Fix #7146. Fix #7191. Fix #7213. (#7232)

* [IgniteNetwork] DNS Alias Records (#7233)

* Initial work.

* Add test.

* Add checks to DNS test. Add private DNS whl file.

* Close #7242. (#7246)

* Record DNS tests.

* Record tests 2018-08-01

* Re-enable tests. Begin re-recording.

* Test re-recording.

* Re-record test.

* Re-record tests.

* Re-record tests

* Re-record tests

* Re-record more tests. Unlimited tests!!

* [IgniteNetwork] Read-only support for InterfaceEndpoints (#7272)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants