# How can I do "router set --route destination=" from Heat

First up.. apologies for opening a duplicate question - but I don't have enough points to repoen my original post (https://ask.openstack.org/en/question...)

In summary .. I have multiple routers and servers all being successfully created from heat but theres one last critical step I cant figure out and that is adding static routes to the routers.. the only commands I still need to automate are..

router set --route destination=0.0.0.0/0,gateway=10.0.1.1 app-router
router set --route destination=10.0.2.0/24.gateway=10.0.1.2 dmz-router


Any pointers to how this might be done in HEAT would be great .. or confirmation that this cant be done in HEAT would not be great, but at least I would know. If more info on my topology is required please let me know also..

edit retag close merge delete