tosca.capabilities.Container.Docker: publish_ports inclusion

Bug #1764711 reported by PriyaMalar T
This bug affects 1 person
Affects Status Importance Assigned to Milestone
TOSCA Parser

Bug Description

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

   derived_from: tosca.capabilities.Container







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:

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

  # The properties of the runtime to host the container
  type: tosca.nodes.Container.Runtime
  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.