Skip to content
Snippets Groups Projects
pv176-port-public.template 775 B
Newer Older
{
    "heat_template_version": "2016-04-08",
    "parameters":{
        "name":{
            "type": "string"
        },
        "network":{
            "type": "string"
        },
        "port_subnet":{
            "type": "string"
        }
    },
    "resources":{
        "port":{
            "type": "OS::Neutron::Port",
Tomas Sapak's avatar
Tomas Sapak committed
            "properties": {
                "name": {"get_param": "name"},
                "network_id":{"get_param": "network"},
                "port_security_enabled": "true",
                "security_groups": [
                    "default",
                    "PV176-security-group-RDP-MUNI"
                ]
            }
        }
    },
    "outputs":{
        "vm_port":{
            "value": { "get_attr": ["port"] }
        }
    }
Tomas Sapak's avatar
Tomas Sapak committed
}