brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shweta ma <ma.shw...@gmail.com>
Subject Opening a port range
Date Thu, 08 Oct 2015 09:16:18 GMT
Hi All,

Below is a the YAML for creating a simple vm. I would like to open a range
of inbound ports for example 9100-9105.

I get the below error.
Error invoking start at EmptySoftwareProcessImpl{id=LVLUQcJ1}:
java.lang.ClassCastException: java.lang.String cannot be cast to
java.lang.Integer

Can anyone please let me know on how the port range has to be specified in
the YAML.

name: simple-vm

location:

   jclouds:aws-ec2:

      credential: *****************

      identity: ******************

      region: us-west-2

services:

- type: brooklyn.entity.basic.EmptySoftwareProcess

  name: VM

  provisioning.properties:

    inboundPorts:

    - 22

    - 5688

    - 8080

    - 9100 -9105


Thanks,

Shweta

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message