tosca_definitions_version: tosca_simple_yaml_1_0_0_wd03

template_name: cloudify-byon-types
template_author: Alien4cloud
template_version: 1.1.0-SNAPSHOT

imports:
  - tosca-normative-types:1.0.0.wd06-SNAPSHOT
  - cloudify3-common-types:1.1.0-SNAPSHOT

node_types:

#################################################
#                   COMPUTES
###################################################

  alien.cloudify.byon.nodes.Compute:
    derived_from: tosca.nodes.Compute
    tags:
      _a4c_c3_derived_from: cloudify.hostpool.nodes.Host
      _a4c_c3_prop_map: >
        {"host_pool_service_endpoint": null}
    properties:
      host_pool_service_endpoint:
        type: string
        description: URL to the host pool service that will allocate hosts
#        constraints:
#          - pattern: "http://.+"
    attributes:
      ip_address: { get_attribute: [SELF, ip] }
      public_ip_address: { get_attribute: [SELF, public_address] }

  alien.cloudify.byon.nodes.WindowsCompute:
    derived_from: alien.cloudify.byon.nodes.Compute
    tags:
      _a4c_c3_derived_from: cloudify.hostpool.nodes.WindowsHost

tosca_definitions_version: tosca_simple_yaml_1_0_0_wd03

template_name: cloudify-byon-types
template_author: Alien4cloud
template_version: 1.1.0-SNAPSHOT

imports:
  - tosca-normative-types:1.0.0.wd06-SNAPSHOT
  - cloudify3-common-types:1.1.0-SNAPSHOT

node_types:

#################################################
#                   COMPUTES
###################################################

  alien.cloudify.byon.nodes.Compute:
    derived_from: tosca.nodes.Compute
    tags:
      _a4c_c3_derived_from: cloudify.hostpool.nodes.Host
      _a4c_c3_prop_map: >
        {"host_pool_service_endpoint": null}
    properties:
      host_pool_service_endpoint:
        type: string
        description: URL to the host pool service that will allocate hosts
#        constraints:
#          - pattern: "http://.+"
    attributes:
      ip_address: { get_attribute: [SELF, ip] }
      public_ip_address: { get_attribute: [SELF, public_address] }

Revert "[ALIEN-1352][ALIEN-1362] Windows type for byon"
Revert "[ALIEN-1352][ALIEN-1362] Windows type for byon"

This reverts commit 727434fdb36f2e90fe171df077b32df73bfe3886.
