<font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"> <span></span><br><div class="iNotesHistory iNotesForward" style="padding-left:5px;"><div style="padding-right:0px;padding-left:5px;border-left:solid black 2px;"><br><font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"> <span>Hi All<br><br>I am working on openstack Heat and i wanted to make below topolgy using heat template :<br><br><img  src="cid:1419238153591"><br><br>For this i am using a template as given :<br><br>AWSTemplateFormatVersion: '2010-09-09'<br>Description: Sample Heat template that spins up multiple instances and a private network<br>  (JSON)<br>Resources:<br>  heat_network_01:<br>    Properties: {name: heat-network-01}<br>    Type: OS::Neutron::Net<br>  heat_network_02:<br>    Properties: {name: heat-network-02}<br>    Type: OS::Neutron::Net<br>  heat_router_01:<br>    Properties: {admin_state_up: 'True', name: heat-router-01}<br>    Type: OS::Neutron::Router<br>  heat_router_02:<br>    Properties: {admin_state_up: 'True', name: heat-router-02}<br>    Type: OS::Neutron::Router<br>  heat_router_int0:<br>    Properties:<br>      router_id: {Ref: heat_router_01}<br>      subnet_id: {Ref: heat_subnet_01}<br>    Type: OS::Neutron::RouterInterface<br>  heat_router_int1:<br>    Properties:<br>      router_id: {Ref: heat_router_02}<br>      subnet_id: {Ref: heat_subnet_02}<br>    Type: OS::Neutron::RouterInterface<br>  heat_subnet_01:<br>    Properties:<br>      cidr: 10.10.10.0/24<br>      dns_nameservers: [172.16.1.11, 172.16.1.6]<br>      enable_dhcp: 'True'<br>      gateway_ip: 10.10.10.254<br>      name: heat-subnet-01<br>      network_id: {Ref: heat_network_01}<br>    Type: OS::Neutron::Subnet<br>  heat_subnet_02:<br>    Properties:<br>      cidr: 10.10.11.0/24<br>      dns_nameservers: [172.16.1.11, 172.16.1.6]<br>      enable_dhcp: 'True'<br>      gateway_ip: 10.10.11.254<br>      name: heat-subnet-01<br>      network_id: {Ref: heat_network_02}<br>    Type: OS::Neutron::Subnet<br>  instance0:<br>    Properties:<br>      flavor: m1.nano<br>      image: cirros-0.3.2-x86_64-uec<br>      name: heat-instance-01<br>      networks:<br>      - port: {Ref: instance0_port0}<br>    Type: OS::Nova::Server<br>  instance0_port0:<br>    Properties:<br>      admin_state_up: 'True'<br>      network_id: {Ref: heat_network_01}<br>    Type: OS::Neutron::Port<br>  instance1:<br>    Properties:<br>      flavor: m1.nano<br>      image: cirros-0.3.2-x86_64-uec<br>      name: heat-instance-02<br>      networks:<br>      - port: {Ref: instance1_port0}<br>    Type: OS::Nova::Server<br>  instance1_port0:<br>    Properties:<br>      admin_state_up: 'True'<br>      network_id: {Ref: heat_network_01}<br>    Type: OS::Neutron::Port<br>  instance11:<br>    Properties:<br>      flavor: m1.nano<br>      image: cirros-0.3.2-x86_64-uec<br>      name: heat-instance11-01<br>      networks:<br>      - port: {Ref: instance11_port0}<br>    Type: OS::Nova::Server<br>  instance11_port0:<br>    Properties:<br>      admin_state_up: 'True'<br>      network_id: {Ref: heat_network_02}<br>    Type: OS::Neutron::Port<br>  instance1:<br>    Properties:<br>      flavor: m1.nano<br>      image: cirros-0.3.2-x86_64-uec<br>      name: heat-instance12-02<br>      networks:<br>      - port: {Ref: instance12_port0}<br>    Type: OS::Nova::Server<br>  instance12_port0:<br>    Properties:<br>      admin_state_up: 'True'<br>      network_id: {Ref: heat_network_02}<br>    Type: OS::Neutron::Port<br><br>I am able to create topology using the template but i am not able to connect two routers. Neither i can get a template example on internet through which i can connect two routers. Can you please help me with :<br><br>1.) Can we connect two routers? I tried with making a interface on router 1 and connecting it to the subnet2 which is showing error.<br></span></font></font><br><font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><span><font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><span>  heat_router_int0:<br>    Properties:<br>      router_id: {Ref: heat_router_01}<br>      subnet_id: {Ref: heat_subnet_02}<br><br>Can you please guide me how can we connect routers or have link between routers using template.<br><br>2.) Can you please forward a link or a example template from which i can refer and implement reqiured topology using heat template.<br><br>Waiting for a response<br><br><br><br>Thankyou <br><br></span></font></font><font size="2">Regards<br>
</font><font size="2">Shweta Rao</font><font size="2"><br>
</font><font size="2">Mailto: rao.shweta@tcs.com<br>
</font><font size="2">Website: <a href="http://www.tcs.com">http://www.tcs.com</a><br>
</font><font size="2">____________________________________________<br>
</font></span></font>
</font>
</font>
</div></div></font><p>=====-----=====-----=====<br>
Notice: The information contained in this e-mail<br>
message and/or attachments to it may contain <br>
confidential or privileged information. If you are <br>
not the intended recipient, any dissemination, use, <br>
review, distribution, printing or copying of the <br>
information contained in this e-mail message <br>
and/or attachments to it are strictly prohibited. If <br>
you have received this communication in error, <br>
please notify us by reply e-mail or telephone and <br>
immediately and permanently delete the message <br>
and any attachments. Thank you</p>

<p></p>