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

feat(oci:nodes): support red-colored nodes #121

Merged
merged 1 commit into from
May 5, 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
8 changes: 7 additions & 1 deletion config.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,13 @@
"oci": {
"compute": {
"Vm": "VirtualMachine",
"Bm": "BareMetal"
"VmGrey": "VirtualMachineGrey",
"Bm": "BareMetal",
"BmGrey": "BareMetalGrey",
},
"database": {
"Databaseservice": "DBService",
"DatabaseserviceGrey": "DBServiceGrey",
}
}
}
14 changes: 14 additions & 0 deletions diagrams/oci/compute.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,33 @@ class _Compute(_OCI):
_icon_dir = "resources/oci/compute"


class BmGrey(_Compute):
_icon = "bm-grey.png"


class Bm(_Compute):
_icon = "bm.png"


class ContainerGrey(_Compute):
_icon = "container-grey.png"


class Container(_Compute):
_icon = "container.png"


class VmGrey(_Compute):
_icon = "vm-grey.png"


class Vm(_Compute):
_icon = "vm.png"


# Aliases

VirtualMachine = Vm
VirtualMachineGrey = VmGrey
BareMetal = Bm
BareMetalGrey = BmGrey
20 changes: 20 additions & 0 deletions diagrams/oci/connectivity.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,42 @@ class _Connectivity(_OCI):
_icon_dir = "resources/oci/connectivity"


class BackboneGrey(_Connectivity):
_icon = "backbone-grey.png"


class Backbone(_Connectivity):
_icon = "backbone.png"


class CustomerdatacenterGrey(_Connectivity):
_icon = "customerdatacenter-grey.png"


class Customerdatacenter(_Connectivity):
_icon = "customerdatacenter.png"


class CustomerpremisesequipGrey(_Connectivity):
_icon = "customerpremisesequip-grey.png"


class Customerpremisesequip(_Connectivity):
_icon = "customerpremisesequip.png"


class FastconnectGrey(_Connectivity):
_icon = "fastconnect-grey.png"


class Fastconnect(_Connectivity):
_icon = "fastconnect.png"


class VpnGrey(_Connectivity):
_icon = "vpn-grey.png"


class Vpn(_Connectivity):
_icon = "vpn.png"

Expand Down
7 changes: 7 additions & 0 deletions diagrams/oci/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,15 @@ class _Database(_OCI):
_icon_dir = "resources/oci/database"


class DatabaseserviceGrey(_Database):
_icon = "databaseservice-grey.png"


class Databaseservice(_Database):
_icon = "databaseservice.png"


# Aliases

DBService = Databaseservice
DBServiceGrey = DatabaseserviceGrey
8 changes: 8 additions & 0 deletions diagrams/oci/devops.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,18 @@ class _Devops(_OCI):
_icon_dir = "resources/oci/devops"


class ApiserviceGrey(_Devops):
_icon = "apiservice-grey.png"


class Apiservice(_Devops):
_icon = "apiservice.png"


class ResourcemgmtGrey(_Devops):
_icon = "resourcemgmt-grey.png"


class Resourcemgmt(_Devops):
_icon = "resourcemgmt.png"

Expand Down
16 changes: 16 additions & 0 deletions diagrams/oci/edge.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,34 @@ class _Edge(_OCI):
_icon_dir = "resources/oci/edge"


class CdnGrey(_Edge):
_icon = "cdn-grey.png"


class Cdn(_Edge):
_icon = "cdn.png"


class DnsGrey(_Edge):
_icon = "dns-grey.png"


class Dns(_Edge):
_icon = "dns.png"


class EmaildeliveryGrey(_Edge):
_icon = "emaildelivery-grey.png"


class Emaildelivery(_Edge):
_icon = "emaildelivery.png"


class WafGrey(_Edge):
_icon = "waf-grey.png"


class Waf(_Edge):
_icon = "waf.png"

Expand Down
40 changes: 40 additions & 0 deletions diagrams/oci/monitoring.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,42 +8,82 @@ class _Monitoring(_OCI):
_icon_dir = "resources/oci/monitoring"


class AlarmGrey(_Monitoring):
_icon = "alarm-grey.png"


class Alarm(_Monitoring):
_icon = "alarm.png"


class EventGrey(_Monitoring):
_icon = "event-grey.png"


class Event(_Monitoring):
_icon = "event.png"


class HealthcheckGrey(_Monitoring):
_icon = "healthcheck-grey.png"


class Healthcheck(_Monitoring):
_icon = "healthcheck.png"


class LoggingGrey(_Monitoring):
_icon = "logging-grey.png"


class Logging(_Monitoring):
_icon = "logging.png"


class NotificationsGrey(_Monitoring):
_icon = "notifications-grey.png"


class Notifications(_Monitoring):
_icon = "notifications.png"


class QueuingGrey(_Monitoring):
_icon = "queuing-grey.png"


class Queuing(_Monitoring):
_icon = "queuing.png"


class SearchGrey(_Monitoring):
_icon = "search-grey.png"


class Search(_Monitoring):
_icon = "search.png"


class StreamingGrey(_Monitoring):
_icon = "streaming-grey.png"


class Streaming(_Monitoring):
_icon = "streaming.png"


class TelemetryGrey(_Monitoring):
_icon = "telemetry-grey.png"


class Telemetry(_Monitoring):
_icon = "telemetry.png"


class WorkflowGrey(_Monitoring):
_icon = "workflow-grey.png"


class Workflow(_Monitoring):
_icon = "workflow.png"

Expand Down
32 changes: 32 additions & 0 deletions diagrams/oci/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,34 +8,66 @@ class _Network(_OCI):
_icon_dir = "resources/oci/network"


class DrgGrey(_Network):
_icon = "drg-grey.png"


class Drg(_Network):
_icon = "drg.png"


class FirewallGrey(_Network):
_icon = "firewall-grey.png"


class Firewall(_Network):
_icon = "firewall.png"


class InternetgatewayGrey(_Network):
_icon = "internetgateway-grey.png"


class Internetgateway(_Network):
_icon = "internetgateway.png"


class LoadbalanceGrey(_Network):
_icon = "loadbalance-grey.png"


class Loadbalance(_Network):
_icon = "loadbalance.png"


class RoutetableGrey(_Network):
_icon = "routetable-grey.png"


class Routetable(_Network):
_icon = "routetable.png"


class SecuritylistsGrey(_Network):
_icon = "securitylists-grey.png"


class Securitylists(_Network):
_icon = "securitylists.png"


class ServiceGatewayGrey(_Network):
_icon = "service-gateway-grey.png"


class ServiceGateway(_Network):
_icon = "service-gateway.png"


class VcloudnetworkGrey(_Network):
_icon = "vcloudnetwork-grey.png"


class Vcloudnetwork(_Network):
_icon = "vcloudnetwork.png"

Expand Down
40 changes: 40 additions & 0 deletions diagrams/oci/security.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,42 +8,82 @@ class _Security(_OCI):
_icon_dir = "resources/oci/security"


class AuditGrey(_Security):
_icon = "audit-grey.png"


class Audit(_Security):
_icon = "audit.png"


class CompartmentsGrey(_Security):
_icon = "compartments-grey.png"


class Compartments(_Security):
_icon = "compartments.png"


class DdosGrey(_Security):
_icon = "ddos-grey.png"


class Ddos(_Security):
_icon = "ddos.png"


class EncryptionGrey(_Security):
_icon = "encryption-grey.png"


class Encryption(_Security):
_icon = "encryption.png"


class GroupsGrey(_Security):
_icon = "groups-grey.png"


class Groups(_Security):
_icon = "groups.png"


class IdAccessGrey(_Security):
_icon = "id-access-grey.png"


class IdAccess(_Security):
_icon = "id-access.png"


class KeymgmtGrey(_Security):
_icon = "keymgmt-grey.png"


class Keymgmt(_Security):
_icon = "keymgmt.png"


class OcidGrey(_Security):
_icon = "ocid-grey.png"


class Ocid(_Security):
_icon = "ocid.png"


class PoliciesGrey(_Security):
_icon = "policies-grey.png"


class Policies(_Security):
_icon = "policies.png"


class TaggingGrey(_Security):
_icon = "tagging-grey.png"


class Tagging(_Security):
_icon = "tagging.png"

Expand Down
Loading