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

Add networkMode to AKS 20200201 API #8343

Conversation

gossion
Copy link
Member

@gossion gossion commented Feb 8, 2020

Latest improvements:

MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.

Contribution checklist:

  • I have reviewed the documentation for the workflow.
  • Validation tools were run on swagger spec(s) and have all been fixed in this PR.
  • The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

  • Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
  • adding/removing APIs.
  • adding/removing properties.
  • adding/removing API-version.
  • adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

  • If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
    Please follow the link to find more details on API review process.

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

1 similar comment
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Feb 8, 2020

azure-sdk-for-python

️✔️ succeeded [Logs] [Expand Details]
  • ️✔️ Generate from c5154ef with merge commit 03ce49ceba5640509dbcb98debde3b3e78bfb069. SDK Automation 13.0.17.20191226.1
  • ️✔️azure-mgmt-containerservice [Logs]  [Preview SDK Changes]
    [after_scripts|python] WARNING:__main__:Found too much API version: {'2019-04-01', '2017-07-01'} in label v2017_07_01
    [after_scripts|python] WARNING:__main__:Guessing you want 2017-07-01 based on label v2017_07_01
    [build_package] /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
    [build_package]   warnings.warn(msg)
    [build_package] /usr/lib/python3.6/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
    [build_package]   warnings.warn(msg)

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Feb 8, 2020

azure-sdk-for-net

️✔️ succeeded [Logs] [Expand Details]

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Feb 8, 2020

azure-sdk-for-js

️✔️ succeeded [Logs] [Expand Details]
  • ️✔️ Generate from c5154ef with merge commit 03ce49ceba5640509dbcb98debde3b3e78bfb069. SDK Automation 13.0.17.20191226.1
  • ️✔️@azure/arm-containerservice [Logs]  [Preview SDK Changes]
    [npmPack] npm WARN deprecated rollup-plugin-node-resolve@5.2.0: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-node-resolve.
    [npmPack] loaded rollup.config.js with warnings
    [npmPack] (!) Unused external imports
    [npmPack] default imported from external module 'rollup' but never used
    [npmPack] 
    [npmPack] ./esm/containerServiceClient.js → ./dist/arm-containerservice.js...
    [npmPack] created ./dist/arm-containerservice.js in 455ms

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Feb 8, 2020

azure-sdk-for-java

️✔️ succeeded [Logs] [Expand Details]

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Feb 8, 2020

azure-sdk-for-go

⚠️ warning [Logs] [Expand Details]
  • ⚠️ Generate from c5154ef with merge commit 03ce49ceba5640509dbcb98debde3b3e78bfb069. SDK Automation 13.0.17.20191226.1
  • ⚠️containerservice/mgmt/2017-07-01 [Logs
      No file is changed.
    • ⚠️containerservice/mgmt/2017-08-31 [Logs
        No file is changed.
      • ⚠️containerservice/mgmt/2017-09-30 [Logs
          No file is changed.
        • ⚠️containerservice/mgmt/2018-03-31 [Logs
            No file is changed.
          • ⚠️containerservice/mgmt/2019-02-01 [Logs
              No file is changed.
            • ⚠️containerservice/mgmt/2019-04-30 [Logs
                No file is changed.
              • ⚠️containerservice/mgmt/2019-06-01 [Logs
                  No file is changed.
                • ⚠️containerservice/mgmt/2019-08-01 [Logs
                    No file is changed.
                  • ⚠️containerservice/mgmt/2019-10-01 [Logs
                      No file is changed.
                    • ⚠️containerservice/mgmt/2019-11-01 [Logs
                        No file is changed.
                      • ⚠️containerservice/mgmt/2020-01-01 [Logs
                          No file is changed.
                        • ️✔️containerservice/mgmt/2020-02-01 [Logs]  [Preview SDK Changes]
                        • ⚠️preview/containerservice/mgmt/2018-08-01-preview [Logs
                            No file is changed.
                          • ⚠️preview/containerservice/mgmt/2018-09-30-preview [Logs
                              No file is changed.
                            • ⚠️preview/containerservice/mgmt/2019-09-30-preview [Logs
                                No file is changed.

                              @gossion
                              Copy link
                              Member Author

                              gossion commented Feb 8, 2020

                              @gtxistxgao FYI

                              "networkMode": {
                              "type": "string",
                              "enum": [
                              "",
                              Copy link
                              Member

                              Choose a reason for hiding this comment

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

                              "" [](start = 12, length = 2)

                              What does empty string mean here?

                              Copy link
                              Member Author

                              Choose a reason for hiding this comment

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

                              @majastrz, this means that the networkMode is not set.

                              Copy link
                              Member

                              Choose a reason for hiding this comment

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

                              Can we use a non-empty value to represent that? Something like none or default or 'NotSet`?

                              Copy link
                              Member

                              Choose a reason for hiding this comment

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

                              Discussed over IM. The API is apparently already released, which violates the usual review workflow (swagger-first)

                              Copy link
                              Member Author

                              Choose a reason for hiding this comment

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

                              thank you, will follow that.

                              Copy link
                              Member

                              Choose a reason for hiding this comment

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

                              @majastrz majastrz added ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review and removed WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Feb 12, 2020
                              Copy link
                              Member

                              @majastrz majastrz left a comment

                              Choose a reason for hiding this comment

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

                              Signed off from ARM side given that the API is already released. Going forward, you need to get the swagger reviewed first before implementing it in the backend. This way feedback can actually be incorporated into the design of the API.

                              @palma21
                              Copy link
                              Member

                              palma21 commented Feb 12, 2020

                              Thanks, that seems reasonable, we'll do that moving forward.

                              @ArcturusZhang let us know if anything else is needed before merging

                              @ArcturusZhang
                              Copy link
                              Member

                              /azp run

                              @azure-pipelines
                              Copy link

                              Azure Pipelines successfully started running 3 pipeline(s).

                              @ArcturusZhang
                              Copy link
                              Member

                              /azp run

                              @azure-pipelines
                              Copy link

                              Azure Pipelines successfully started running 3 pipeline(s).

                              @ArcturusZhang
                              Copy link
                              Member

                              /azp run

                              @azure-pipelines
                              Copy link

                              Azure Pipelines successfully started running 3 pipeline(s).

                              @akning-ms
                              Copy link
                              Contributor

                              /azp run automation - sdk

                              @azure-pipelines
                              Copy link

                              Azure Pipelines successfully started running 1 pipeline(s).

                              @akning-ms
                              Copy link
                              Contributor

                              @nullMDR can you help check why Python sdk is fail?

                              @PhoenixHe-NV
                              Copy link
                              Contributor

                              @changlong-liu @ArcturusZhang Could you please help on the autorest failure?

                              @ArcturusZhang
                              Copy link
                              Member

                              @NullMDR can you help check why Python sdk is fail?

                              Well, the root cause is that there is an empty string as enum value, which is breaking both go SDK and C# SDK generated code.

                              @azure-pipelines
                              Copy link

                              Azure Pipelines successfully started running 1 pipeline(s).

                              @ArcturusZhang
                              Copy link
                              Member

                              /azp run automation - sdk

                              @azure-pipelines
                              Copy link

                              Azure Pipelines successfully started running 1 pipeline(s).

                              @ArcturusZhang ArcturusZhang merged commit 4c1552b into Azure:dev-containerservice-Microsoft.ContainerService-2020-02-01 Feb 13, 2020
                              Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
                              Labels
                              ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review
                              Projects
                              None yet
                              Development

                              Successfully merging this pull request may close these issues.

                              7 participants