<div><div><div>hi,</div><div>root@network-1:/home/network-1# neutron --os-username=neutron --os-password=12345 --os-tenant-name=service --os-auth-url=http://controller:5000/v2.0 agent-list</div><div>+--------------------------------------+--------------------+------------+-------+----------------+</div><div>| id                                   | agent_type         | host       | alive | admin_state_up |</div><div>+--------------------------------------+--------------------+------------+-------+----------------+</div><div>| 0b9aac91-8555-4a13-bb5d-bb3f93d3b327 | Open vSwitch agent | controller | :-)   | True           |</div><div>| 2ac00e72-21b1-4f88-ae1b-3e36ee7b0892 | L3 agent           | network-1  | :-)   | True           |</div><div>| 6ef88b60-cc89-45ef-aeb5-44dc1232bcdf | DHCP agent         | network-1  | :-)   | True           |</div><div>| 7b803c32-120d-47eb-a3a0-ee57ee12831c | Open vSwitch agent | network-1  | :-)   | True           |</div><div>| 8b56a9aa-2f8a-43b2-aa66-605ab7a09b7a | Open vSwitch agent | compute1   | :-)   | True           |</div><div>+--------------------------------------+--------------------+------------+-------+----------------+</div></div><div><br></div><div>root@network-1:/home/network-1# ovs-vsctl show</div><div>82641592-50d0-4c4e-b10d-941745ab5542</div><div>    Bridge br-int</div><div>        Port "int-br-eth2"</div><div>            Interface "int-br-eth2"</div><div>        Port br-int</div><div>            Interface br-int</div><div>                type: internal</div><div>        Port "qr-54a78b95-4d"</div><div>            tag: 1</div><div>            Interface "qr-54a78b95-4d"</div><div>                type: internal</div><div>    Bridge br-ex</div><div>        Port br-ex</div><div>            Interface br-ex</div><div>                type: internal</div><div>        Port "qg-19d9b2ab-fe"</div><div>            Interface "qg-19d9b2ab-fe"</div><div>                type: internal</div><div>        Port "eth1"</div><div>            Interface "eth1"</div><div>    Bridge "br-eth2"</div><div>        Port "br-eth2"</div><div>            Interface "br-eth2"</div><div>                type: internal</div><div>        Port "phy-br-eth2"</div><div>            Interface "phy-br-eth2"</div><div>        Port "eth2"</div><div>            Interface "eth2"</div><div>    ovs_version: "1.10.2"</div><div>root@network-1:/home/network-1# ip netns list</div><div>qrouter-99d4298d-73c4-46bd-baba-1889e2526ac4</div></div><div><br></div><div><div><br></div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ 原始邮件 ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>发件人:</b> "Nick Maslov";<azpekt@gmail.com>;</div><div><b>发送时间:</b> 2013年12月9日(星期一) 晚上10:23</div><div><b>收件人:</b> "LIU Yulong"<yeuleon@qq.com>; "openstack@lists.openstack.org"<openstack@lists.openstack.org>; <wbr></div><div></div><div><b>主题:</b> Re: [Openstack] Re:  The Neutron networkmodel - VLAN solution</div></div><div><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Hm, </div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">do you have namespaces created?</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">What`s the output of “ip netns list” on your network node?</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Cheers,</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">NM</div> <div id="bloop_sign_1386598984274731008"><span style="font-family:helvetica,arial;font-size:13px"></span>-- <br>Nick Maslov<br><span>Sent with <a href="http://airmailapp.com/tracking">Airmail</a></span></div> <br><p style="color:#A0A0A8;">On December 7, 2013 at 2:42:11 PM, LIU Yulong (<a>yeuleon@qq.com</a>) wrote:</p> <blockquote type="cite" class="clean_bq"><span><div><div>





<div>Hi <span style="line-height: 1.5;">Nick
Maslov,</span></div>
<div><span style="line-height: 1.5;">   
 </span></div>
     I followed here
http://docs.openstack.org/havana/install-guide/install/apt/content/
 (http://docs.openstack.org/havana/install-guide/install/apt/openstack-install-guide-apt-havana.pdf).
<div>     Msekni Bilel's install guide used
GRE.</div>
<div>     </div>
<div>     I noticed that openstack.org
 <span style="line-height: 1.5;"> Configure OVS to use
VLANS. Edit the
/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini
file:</span></div>
<div>
<pre style="word-wrap: normal; color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 13px; margin-top: 15px; margin-bottom: 15px; background-color: rgb(248, 248, 248); border: 1px solid rgb(221, 221, 221); line-height: 19px; overflow: auto; padding: 6px 10px; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;"></pre>
<div style="line-height: 21px; color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; white-space: normal;">
[ovs]</div>
<div style="line-height: 21px; color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; white-space: normal;">
tenant_network_type = vlan</div>
<div style="line-height: 21px; color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; white-space: normal;">
network_vlan_ranges = physnet1:1:4094</div>
<div style="line-height: 21px; color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; white-space: normal;">
bridge_mappings = physnet1:br-DATA_INTERFACE</div>
</div>
<div>    There is no settings about br-int. But gre mode
has.</div>
<div>
<pre style="word-wrap: normal; color: rgb(51, 51, 51); font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 13px; margin-top: 15px; margin-bottom: 15px; background-color: rgb(248, 248, 248); border: 1px solid rgb(221, 221, 221); line-height: 19px; overflow: auto; padding: 6px 10px; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;"></pre>
<div style="line-height: 21px; color: rgb(0, 0, 0); font-family: Verdana; font-size: 14px; white-space: normal;">
<div style="line-height: 21px; background-color: rgb(255, 255, 255);">
[ovs]</div>
<div style="line-height: 21px; background-color: rgb(255, 255, 255);">
tenant_network_type = gre</div>
<div style="line-height: 21px; background-color: rgb(255, 255, 255);">
tunnel_id_ranges = 1:1000</div>
<div style="line-height: 21px; background-color: rgb(255, 255, 255);">
enable_tunneling = True</div>
<div style="line-height: 21px; background-color: rgb(255, 255, 255);">
integration_bridge = br-int</div>
<div style="line-height: 21px; background-color: rgb(255, 255, 255);">
tunnel_bridge = br-tun</div>
<div style="line-height: 21px; background-color: rgb(255, 255, 255);">local_ip
= DATA_INTERFACE_IP</div>
</div>
</div>
<div><br></div>
<div><br></div>
<ul style="padding: 0px 0px 0px 30px; margin: 15px 0px; color: rgb(51, 51, 51); font-family: Helvetica, arial, freesans, clean, sans-serif; font-size: 15px; line-height: 25px;">
<li>
<p style="margin: 15px 0px;">Edit /etc/nova/nova-compute.conf
file</p>
<pre style="font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 13px; margin-top: 15px; margin-bottom: 15px; background-color: rgb(248, 248, 248); border: 1px solid rgb(221, 221, 221); line-height: 19px; overflow: auto; padding: 6px 10px; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; word-wrap: normal;">[DEFAULT]
libvirt_type=kvm
libvirt_ovs_bridge=br-int
libvirt_vif_type=ethernet
libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtHybridOVSBridgeDriver
libvirt_use_virtio_for_bridges=True
</pre></li>
</ul>
<div> I think my br-int settings cause the problem that cannot
ping the VMs.</div>
<div><span style="line-height: 1.5;"><br></span></div>
<div><span style="line-height: 1.5;"><br></span></div>
<div><span style="line-height: 1.5;">regards,</span></div>
<div>
<blockquote type="cite" class="clean_bq">
<div style="line-height: 21px;">
<div class=" qm-minHeightPlace" style="line-height: 21px;">
Yeuleon</div>
</div>
</blockquote>
</div>
<div><br></div>
<div>   </div>
<div>     </div>
<div>
<div><br></div>
<div><br></div>
<div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">
------------------ 原始邮件 ------------------</div>
<div style="font-size: 12px;background:#efefef;padding:8px;">
<div><b>发件人:</b> "Nick Maslov";<azpekt@gmail.com>;</div>
<div><b>发送时间:</b> 2013年12月7日(星期六) 晚上7:15</div>
<div><b>收件人:</b> "LIU Yulong"<yeuleon@qq.com>;
"openstack@lists.openstack.org"<openstack@lists.openstack.org>;
<wbr></div>
<div><b>主题:</b> Re: [Openstack] The Neutron network model -
VLAN solution</div>
</div>
<div><br></div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
What manual have you followed?</div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
<br></div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
try to use this one -
https://github.com/mseknibilel/OpenStack-Grizzly-Install-Guide</div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
<br></div>
<div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">
changing the quantum to neutron, correspondingly.</div>
<div id="bloop_sign_1386414892378925056">--<br>
Nick Maslov<br>
<span>Sent with <a href="http://airmailapp.com/tracking">Airmail</a></span></div>
<br>
<p style="color:#A0A0A8;">On December 7, 2013 at 1:59:37 AM, LIU
Yulong (<a>yeuleon@qq.com</a>) wrote:</p>
<blockquote type="cite" class="clean_bq">
<div>
<div><span><span style="line-height: 1.3;">Hi
stackers,</span><br></span>
<div>
<div>I installed Neutron SDN to manage network with VLAN
model.</div>
<div><span style="line-height: 1.5;">But I still not
successful.</span></div>
<div>I can not ping the
VM-instance,rounters,subnets,Virtual-nets.</div>
<div><br></div>
<div>Could someone help me to configure the neutron please?</div>
<div><br></div>
<div>I have 3 ubuntu12.04.3 AMD64 server , each server has 3
NIC,</div>
<div>MGMT_INTERFACE NIC</div>
<div>DATA_INTERFACE NIC</div>
<div>EXTERNAL_INTERFACE NIC.</div>
</div>
<div><br></div>
<div>In controller node I install</div>
<div>
<div>(Keystone</div>
<div>Glance</div>
<div>Cinder</div>
<div>Dashboard</div>
<div>Nova-*(with compute)</div>
<div>Neutron-server</div>
<div>Neutron-openvswitch-plugin).</div>
</div>
<div>The controller Network settings is</div>
<div>
<div style="line-height: 21px;">MGMT_INTERFACE NIC
192.168.1.160</div>
<div style="line-height: 21px;">DATA_INTERFACE NIC
172.16.1.10</div>
<div style="line-height: 21px;">EXTERNAL_INTERFACE NIC
10.0.1.3</div>
</div>
<div><br></div>
<div>In additonal compute node I install</div>
<div>
<div>(Nova-compute</div>
<div>Neutron-openvswitch-plugin).</div>
</div>
<div>
<div style="line-height: 21px;">The additonal compute settings
is</div>
<div style="line-height: 21px;">
<div style="line-height: 21px;">MGMT_INTERFACE NIC
192.168.1.160</div>
<div style="line-height: 21px;">DATA_INTERFACE NIC
172.16.1.11</div>
<div style="line-height: 21px;">EXTERNAL_INTERFACE NIC
10.0.1.2</div>
</div>
</div>
<div><br></div>
<div>In network node I install</div>
<div>(Neutron-L3-anent Neutron-DHCP-agent).</div>
<div>
<div style="line-height: 21px;">The network node Network settings
is</div>
<div style="line-height: 21px;">
<div style="line-height: 21px;">MGMT_INTERFACE NIC
192.168.1.162</div>
<div style="line-height: 21px;">DATA_INTERFACE NIC
172.16.1.12</div>
<div style="line-height: 21px;">EXTERNAL_INTERFACE NIC
10.0.1.1</div>
<div style="line-height: 21px;"><br></div>
<div style="line-height: 21px;">How to setting network node?</div>
<div style="line-height: 21px;">How to setting controller
node?</div>
<div style="line-height: 21px;">How to setting additonal compute
node?</div>
<div style="line-height: 21px;">There are so many net bridges,such
as br-ex,br-int,br-eth2 etc.</div>
<div style="line-height: 21px;">I confuse with these bridges.</div>
<div class=" qm-minHeightPlace" style="line-height: 21px;">Best
regards,</div>
<div class=" qm-minHeightPlace" style="line-height: 21px;">
Yeuleon</div>
</div>
</div>
_______________________________________________<br>
Mailing list:
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack<br>
Post to : openstack@lists.openstack.org<br>
Unsubscribe :
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack<br></div>
</div>
</blockquote>
</div>


_______________________________________________
<br>Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
<br>Post to     : openstack@lists.openstack.org
<br>Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
<br></div></div></span></blockquote></div>