-
Notifications
You must be signed in to change notification settings - Fork 1.3k
VM ingestion #3606
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
Merged
Merged
VM ingestion #3606
Changes from all commits
Commits
Show all changes
64 commits
Select commit
Hold shift + click to select a range
f0aee9b
VM ingestion feature allows CloudStack to discover, on-board, import …
shwstppr f9e3936
fixes
shwstppr db2c8ca
fixes
shwstppr 89f0e28
Update cloudstack-common.install
yadvr f080008
fixes
shwstppr 2cb3f4f
fixed failing unit test
shwstppr 3432b17
fix - cleaned test
shwstppr 3739e4d
fix for vmfs storage pool
shwstppr 8dedca7
fix storage pool check
shwstppr 7e1f281
fix zone wide storage pool check, controllers details
shwstppr 254d318
fix cpuSpeed for unconstrained offering
shwstppr bfb8505
fix warnings and refactoring
shwstppr 52d4148
fixes
shwstppr b2780a3
fix VM states search, host maintenance
shwstppr 96db573
fix nic, ipaddress assignment
shwstppr 1c483ec
fix host maintenance while import
shwstppr dda4a17
fix Ip assignment, error message
shwstppr 51b1ef9
fix disk controller check
shwstppr bbd6589
fix script error
shwstppr 3454a7b
fix network vlan error
shwstppr fbbf975
fix auto assign network message
shwstppr 3c0140c
fix network cluster, host
shwstppr 44756d5
fix network IP address checks
shwstppr 3991d75
templateid param for importUnmanagedInstance API made optional
shwstppr 4824e53
fix error message multiple data disk controllers
shwstppr 8f17219
fix vm import with dummy ISO
shwstppr b435957
fix hostname error on auto assign NIC
shwstppr 370d88f
fix missing guest OS mapping
shwstppr ffa90b9
refatorings - error message
shwstppr e6ab488
fix - ignore IP for L2 networks
shwstppr 39fd3b5
fix unmanaged nic vlan check
shwstppr 384122c
fix volume migration failure
shwstppr 2a45661
changes for creating dummy template from import service
shwstppr 2d6af83
fix service offering, storage pool migration
shwstppr 8638d05
migration null check
shwstppr 76b581f
fix volume migration
shwstppr c18b818
fix isolated networks
shwstppr 3029da7
fix volume migration based on vm running state
shwstppr c74ca2e
fix NPE for projectid param in import
shwstppr 38318e6
fix - raise error when domainid is without accout param for import
shwstppr df1be1e
fix storagepool datastore casting
shwstppr e105ccf
fix moveVMToUser for removed template
shwstppr 8381d2a
fix - add cluster details in error
shwstppr 81d189c
fix guest OS retrieval
shwstppr 405675b
fix vm guest os retrieval based on os id
shwstppr 0fddb50
revert all os mapper changes
shwstppr 3e44fdb
fix
shwstppr 1662579
fix guest os selection order
shwstppr 19feb2d
Merge branch 'master' into feature-vm-ingestion
shwstppr 2257f04
fix stopped VM import, migration
shwstppr 6ece417
added missing license
shwstppr a713211
fixed static member naming
shwstppr 6e1abad
addressed loggin related review comments
shwstppr 1eccd00
formatting refactoring
shwstppr 9d8411d
refactorings
shwstppr 770f241
refactored importNic
shwstppr 1f94c67
refactoring: defensive check
shwstppr fe5853f
changed ipAddress key to ip4Address
shwstppr 9fbafe6
vm import, pvlan support
shwstppr 64edc77
Merge branch 'master' into feature-vm-ingestion
shwstppr e282680
Merge branch 'master' into feature-vm-ingestion
shwstppr 2c52a1b
change for VirtualMachine state changes
shwstppr 08b2603
removed diskofferingid param from import API
shwstppr 0ec876f
added null check for network broadcast uri
shwstppr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Is there a importVM(ImportVMCmd) method as well? or some other solution with parameter object pattern? This is not readable in declaration and won't be better in use.
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.
There is
importUnmanagedInstance(ImportUnmanagedInstanceCmd)method in https://github.com/apache/cloudstack/pull/3606/files#diff-3eaaf9de1645091dff197645123e669cR1018This method is added in UserVmService to keep all user VM commit in the same place.
Let me know if there is need for refactoring.
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.
needed no, but desirable yes. This is a service call so it is open to third party extensions.