Files
wlan-lanforge-scripts/Quali/lanforge_resource/shell-definition.yaml
2021-10-06 11:52:50 -07:00

46 lines
1.3 KiB
YAML

tosca_definitions_version: tosca_simple_yaml_1_0
metadata:
template_name: Lanforge Resource
template_author: Anonymous
template_version: 0.1.0
template_icon: shell-icon.png
description: >
TOSCA based resource shell
imports:
- cloudshell_standard: cloudshell_resource_standard_2_0_3.yaml
node_types:
vendor.resource.Lanforge Resource:
derived_from: cloudshell.nodes.GenericResource
#properties:
# my_property:
# type: string # optional values: string, integer, float, boolean, cloudshell.datatypes.Password
# default: fast
# description: Some attribute description
# constraints:
# - valid_values: [fast, slow]
capabilities:
auto_discovery_capability:
type: cloudshell.capabilities.AutoDiscovery
properties:
enable_auto_discovery:
type: boolean
default: true
auto_discovery_description:
type: string
default: Describe the auto discovery
inventory_description:
type: string
default: Describe the resource shell template
artifacts:
icon:
file: canvil2-64x64-gray-yel-ico.png
type: tosca.artifacts.File
driver:
file: LanforgeResourceDriver.zip
type: tosca.artifacts.File