mistral neutron.create_router example

Bug #2009702 reported by Piotr
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mistral
New
Undecided
Unassigned

Bug Description

Hello,
I try to create mistral workbook to create project, network, router etc.
Create project works ok, but i cant write correct yaml to create network and router.
Mayby its a bug. Could you write me some example how to do it please ?

Revision history for this message
Piotr (pszmydki) wrote :

hi,
i try somethings like this:
mistral run-action neutron.create_router "name":"xxx","admin_state_up":"True","availability_zone_hints":"none","ext_fixed_ips":[{"subnet_id":"f81a122f-9cb2-482d-8790-39dc8d46b53a"}],"enable_snat":"True","ext_gateway_net_id":{"network_id":"16f694c7-cf7e-4877-9526-7b42b1ebf665"}
but without any success ...

Revision history for this message
Piotr (pszmydki) wrote :

or workflow:
create_network_router:
        action: neutron.create_router name=xxx,admin_state_up=True,availability_zone_hints=none,ext_fixed_ips=[{subnet_id:f81a122f-9cb2-482d-8790-39dc8d46b53a}],enable_snat=True,ext_gateway_net_id={network_id:16f694c7-cf7e-4877-9526-7b42b1ebf665}
without any success too

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.