Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Azure Create VM with named NSG#4486

Open
mitchellmaler wants to merge 3 commits intodocker-archive-public:masterfrom
mitchellmaler:feature/azure-nsg
Open

Azure Create VM with named NSG#4486
mitchellmaler wants to merge 3 commits intodocker-archive-public:masterfrom
mitchellmaler:feature/azure-nsg

Conversation

@mitchellmaler
Copy link
Copy Markdown

@mitchellmaler mitchellmaler commented May 21, 2018

Added argument for the Azure driver to create or use an already existing network security group by name. Added Network Security Group name for machine to saved state file. Will only remove NSG if there are no more NICs attached to it anymore which means the current VM being deleted was the last.

@GordonTheTurtle
Copy link
Copy Markdown

Please sign your commits following these rules:
https://github.com/moby/moby/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:

$ git clone -b "feature/azure-nsg" git@github.com:mitchellmaler/machine.git somewhere
$ cd somewhere
$ git rebase -i HEAD~842354403000
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.

…ting network security group.

Added Network Security Group name for machine to saved state file. Will only remove NSG if there are no more NICs attached to it anymore which means the current VM being deleted was the last.

Signed-off-by: Mitchell Maler <mitchell.maler@live.com>
Signed-off-by: Mitchell Maler <mitchell.maler@live.com>
@mitchellmaler mitchellmaler changed the title Feature/azure nsg Create VM with Named NSG Azure Create VM with Named NSG May 21, 2018
@mitchellmaler mitchellmaler changed the title Azure Create VM with Named NSG Azure Create VM with named NSG May 21, 2018
Checking if NSG was not set which means it was created prior to new version. This will then just check for the default named one.

Signed-off-by: Mitchell Maler <mitchell.maler@live.com>
@odhekar
Copy link
Copy Markdown

odhekar commented Dec 13, 2018

Is there a plan to approve this PR, IT restricts NSG creation and this PR will solve that problem.

michaelpearce-gain pushed a commit to michaelpearce-gain/machine that referenced this pull request Nov 4, 2019
This is a patched version, with conflicts fixed of:
docker-archive-public#4486
@HighwayofLife
Copy link
Copy Markdown

It's been a year and a half since this PR was opened, but it is needed... any status on accepting and merging?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants