-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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 Outscale Provider #251
Conversation
@@ -108,6 +108,9 @@ def cleaner_saas(f): | |||
def cleaner_elastic(f): | |||
return f.lower() | |||
|
|||
def cleaner_outscale(f): |
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.
Please keep 2 lines of space between functions.
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.
That should be done,
Thanks for the review
config.py
Outdated
@@ -66,6 +67,8 @@ | |||
"oci": ("oci", "ocid", "oke", "ocir", "ddos", "waf", "bm", "vm", "cdn", "vpn", "dns", "nat", "dms", "api", "id"), | |||
"elastic": ("apm", "siem", "ece", "eck"), | |||
"generic": ("vpn", "ios", "xen", "sql"), | |||
"outscale": ("osc",), | |||
"generic": ("vpn", "ios", "xen"), |
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.
generic
key is duplicated, remove it plz.
autogen.sh
Outdated
@@ -31,25 +31,25 @@ for pvd in "${providers[@]}"; do | |||
# convert the svg to png for azure provider | |||
if [ "$pvd" = "onprem" ] || [ "$pvd" = "azure" ]; then | |||
echo "converting the svg to png using inkscape for provider '$pvd'" | |||
python -m scripts.resource svg2png "$pvd" | |||
python3 -m scripts.resource svg2png "$pvd" |
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.
Diagrams uses Python3 as the default interpreter, Python3 is standard, and Python2 is deprecated. So, since we can assume that python
is for version 3, it doesn't seem necessary to specify python3
I think.
Also, diagrams is using poetry
as a package manager and virtual environment manager. We have already specified to use Python3 as default version: https://github.com/mingrammer/diagrams/blob/master/pyproject.toml#L13
Outscale isa French IaaS provider This commit add support for generated diagram with outscale images Signed-off-by: Matthias Gatto <matthias.gatto@outscale.com>
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.
LGTM! Thank you.
Hello
Outscale is a French IaaS provider.
This Pull Request add support for Outscale Provider.
Thanks,
Matthias Gatto