Change definition for tosca.capabilities.Endpoint

According to new Tosca spes, change definition of tosca.capabilities.Endpoint

Partially Implements: blueprint tosca-capabilities-endpoint

Change-Id: I922533a534250d62e1dcd02dd3265ee00bddc5b8
This commit is contained in:
Yaoguo Jiang 2015-01-06 03:25:24 +08:00
parent 6b3846282f
commit 0012e96819

View File

@ -230,15 +230,37 @@ tosca.capabilities.Endpoint:
properties:
protocol:
type: string
default: http
default: tcp
port:
type: integer
constraints:
- greater_or_equal: 1
- less_or_equal: 65535
type: tosca.datatypes.network.PortDef
required: false
secure:
type: boolean
default: false
url_path:
type: string
required: false
port_name:
type: string
required: false
network_name:
type: string
required: false
initiator:
type: string
default: source
constraints:
- valid_values: [source, target, peer]
ports:
type: map
required: false
constraints:
- min_length: 1
entry_schema:
type: tosca.datatypes.network.PortDef
attributes:
ip_address:
type: string
tosca.capabilities.DatabaseEndpoint:
derived_from: tosca.capabilities.Endpoint