tosca.capabilities.Container.Docker: publish_ports inclusion

Bug #1764711 reported by PriyaMalar T
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
TOSCA Parser
New
Undecided
Unassigned

Bug Description

We would like to add below mentioned node under the Docker Container Node type "tosca.nodes.Container.Application.Docker".

tosca.capabilities.Container.Docker:
   derived_from: tosca.capabilities.Container
   properties:
      version:

      publish_all:

      expose_ports:

      publish_ports:

      volumes:

      host_id:

      volume_id:

We used the Sample Node Template. But, when we add the publish_ports under the "tosca.nodes.Container.Runtime" node type. It is not recognized and parsing fails. Pls help to integrate the publish_ports type under the Container runtime node.

Sample Node Template used:

node_templates:
  # The MYSQL container based on official MySQL image in Docker hub
  mysql_container:
  type: tosca.nodes.Container.Application.Docker
  requirements:
  - host: mysql_runtime
  artifacts:
  my_image:
  file: mysql
  type: tosca.artifacts.Deployment.Image.Container.Docker
  repository: docker_hub
  interfaces:
  Standard:
  create:
  implementation: my_image
  inputs:
  MYSQL_ROOT_PASSWORD: { get_input: mysql_root_pwd }

  # The properties of the runtime to host the container
  mysql_runtime:
  type: tosca.nodes.Container.Runtime
  capabilities:
  host:
  properties:
  num_cpus: 1
  disk_size: 10 GB
  mem_size: 2 MB

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.