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 Outscale Provider #251

Merged
merged 1 commit into from
Aug 21, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e
app_root_dir="diagrams"

# NOTE: azure icon set is not latest version
providers=("onprem" "aws" "azure" "gcp" "firebase" "k8s" "alibabacloud" "oci" "programming" "saas" "elastic" "generic" "openstack")
providers=("onprem" "aws" "azure" "gcp" "firebase" "k8s" "alibabacloud" "oci" "programming" "saas" "elastic" "generic" "openstack" "outscale")

if ! [ -x "$(command -v round)" ]; then
echo 'round is not installed'
Expand Down
7 changes: 6 additions & 1 deletion config.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

PROVIDERS = (
"base", "onprem", "aws", "azure", "gcp", "firebase", "k8s", "alibabacloud", "oci", "programming", "saas", "elastic",
"generic", "openstack")
"generic", "openstack", "outscale")

#########################
# Resource Processing #
Expand All @@ -38,6 +38,7 @@
"programming": (),
"saas": (),
"elastic": (),
"outscale": (),
"generic": (),
"openstack": (),
}
Expand Down Expand Up @@ -66,6 +67,7 @@
"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",),
"openstack": ("rpm", "loci", "nfv", "ec2api"),
}

Expand Down Expand Up @@ -395,6 +397,9 @@
"Logstash": "LogStash",
}
},
"outscale": {
"Osc": "OSC",
},
"generic": {},
"openstack": {
"user": {
Expand Down
30 changes: 30 additions & 0 deletions docs/nodes/outscale.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
id: outscale
title: Outscale
---

Node classes list of outscale provider.

## outscale.compute

- **diagrams.outscale.compute.Compute**
- **diagrams.outscale.compute.DirectConnect**

## outscale.network

- **diagrams.outscale.network.ClientVpn**
- **diagrams.outscale.network.InternetService**
- **diagrams.outscale.network.LoadBalancer**
- **diagrams.outscale.network.NatService**
- **diagrams.outscale.network.Net**
- **diagrams.outscale.network.SiteToSiteVpng**

## outscale.security

- **diagrams.outscale.security.Firewall**
- **diagrams.outscale.security.IdentityAndAccessManagement**

## outscale.storage

- **diagrams.outscale.storage.SimpleStorageService**
- **diagrams.outscale.storage.Storage**
Binary file added resources/outscale/compute/compute.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/outscale/compute/direct-connect.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/outscale/network/client-vpn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/outscale/network/internet-service.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/outscale/network/load-balancer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/outscale/network/nat-service.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/outscale/network/net.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/outscale/network/site-to-site-vpng.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/outscale/security/firewall.png
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.
Binary file added resources/outscale/storage/storage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions scripts/resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ def cleaner_elastic(f):
return f.lower()


def cleaner_outscale(f):
Copy link
Owner

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.

Copy link
Contributor Author

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

return f.lower()


def cleaner_openstack(f):
return f.lower()

Expand All @@ -125,6 +129,7 @@ def cleaner_openstack(f):
"programming": cleaner_programming,
"saas": cleaner_saas,
"elastic": cleaner_elastic,
"outscale": cleaner_outscale,
"generic": cleaner_generic,
"openstack": cleaner_openstack,
}
Expand Down