-
Notifications
You must be signed in to change notification settings - Fork 119
Added documentation for MaaS Extension #561
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
Open
harikrishna-patnala
wants to merge
2
commits into
apache:main
Choose a base branch
from
shapeblue:DocumentationForMaaSExtension
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -16,10 +16,10 @@ | |||||
In-built Orchestrator Extensions | ||||||
================================ | ||||||
|
||||||
CloudStack provides in-built Orchestrator Extensions for Proxmox and Hyper-V. These extensions work with Proxmox and Hyper-V environments out of the box, and can also serve as reference implementations for anyone looking to develop new custom extensions. | ||||||
The Extension files are located at `/usr/share/cloudstack-management/extensions/Proxmox` and `/usr/share/cloudstack-management/extensions/HyperV` respectively. | ||||||
The Proxmox Extension is written in shell script, while the Hyper-V Extension is written in python. | ||||||
Both of these Extensions support some custom actions in addition to the standard VM actions like deploy, start, stop, reboot, status and delete. | ||||||
CloudStack provides in-built Orchestrator Extensions for Proxmox, Hyper-V and MaaS. These extensions work with Proxmox, Hyper-V and MaaS environments out of the box, and can also serve as reference implementations for anyone looking to develop new custom extensions. | ||||||
The Extension files are located at `/usr/share/cloudstack-management/extensions/Proxmox`, `/usr/share/cloudstack-management/extensions/HyperV` and `/usr/share/cloudstack-management/extensions/MaaS` respectively. | ||||||
DaanHoogland marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
The Proxmox Extension is written in shell script, while the Hyper-V and MaaS Extensions are written in python. | ||||||
All of these Extensions support some custom actions in addition to the standard VM actions like deploy, start, stop, reboot, status and delete. | ||||||
DaanHoogland marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
After installing or upgrading CloudStack, in-built Extensions will show up in the Extensions section in UI. | ||||||
|
||||||
|built-in-extensions.png| | ||||||
|
@@ -267,8 +267,70 @@ The VR responds with the correct IP address as configured in CloudStack. Once th | |||||
Users can then manage the Hyper-V VM like any other CloudStack guest Instance. Users can apply Egress Policies, | ||||||
Firewall Rules, Port Forwarding, and other networking features seamlessly through the CloudStack UI or API. | ||||||
|
||||||
MaaS | ||||||
^^^^^^^^ | ||||||
|
||||||
The MaaS CloudStack Extension is written in python script and communicates with the Canonical MaaS `https://canonical.com/maas`_ using the MaaS APIs `https://canonical.com/maas/docs/api`_. | ||||||
DaanHoogland marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
|
||||||
Before using the MaaS Extension, ensure that the Canonical MaaS Service is configured correctly with servers added into it and accessible to CloudStack. | ||||||
|
||||||
Get the API key from MaaS | ||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||||||
|
||||||
If not already set up, create a new API Key in the MaaS UI by navigating to left column under `admin > API keys`. | ||||||
|
||||||
Existing `MAAS consumer` token can used or a new API key can be generated by clicking `Generate MAAS API Key` button | ||||||
|
Existing `MAAS consumer` token can used or a new API key can be generated by clicking `Generate MAAS API Key` button | |
Existing `MAAS consumer` token can be used or a new API key can be generated by clicking the `Generate MAAS API Key` button |
DaanHoogland marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
DaanHoogland marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
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.
Uh oh!
There was an error while loading. Please reload this page.