[Rdo-list] Foreman quickstack Neutron with VLAN

Jonas Hagberg jonas.hagberg at scilifelab.se
Wed Aug 27 08:11:56 UTC 2014


Hej

Is there any guide to configure a neutron network node to support OVS and
VLAN with two physical interface?

I tried change some parameters in foreman. I would also like to us the
mellanox plugin and sr-IOV in ethernet mode.
https://wiki.openstack.org/wiki/Mellanox-Neutron-Icehouse-Redhat#Network_Node

But I do not get things running.

in
/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini

I now have
[OVS]
vxlan_udp_port=4789
network_vlan_ranges=physnet1:1000:2999
tenant_network_type=vlan
enable_tunneling=False
integration_bridge=br-int
bridge_mappings=physnet1:br-eth0,public:br-ex

Eth0 is m y internal mellanox interface.
I have run the script
./bridge-create.sh br-eth0 eth0

my ifconfig looks like this


 ifconfig
br-eth0   Link encap:Ethernet  HWaddr 24:BE:05:9A:2B:71
          inet addr:10.10.10.101  Bcast:10.255.255.255  Mask:255.0.0.0
          inet6 addr: fe80::7431:b4ff:fe5f:4dbd/64 Scope:Link
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:3 errors:0 dropped:0 overruns:0 frame:0
          TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:180 (180.0 b)  TX bytes:930 (930.0 b)

br-eth0,public Link encap:Ethernet  HWaddr E6:72:FA:A1:EB:45
          inet6 addr: fe80::e08d:1eff:feb4:f07d/64 Scope:Link
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:468 (468.0 b)

br-int    Link encap:Ethernet  HWaddr 32:16:54:BA:73:4C
          inet6 addr: fe80::1c1b:21ff:fe0e:48f9/64 Scope:Link
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:468 (468.0 b)

eth0      Link encap:Ethernet  HWaddr 24:BE:05:9A:2B:71
          inet6 addr: fe80::26be:5ff:fe9a:2b71/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:9000  Metric:1
          RX packets:1731 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:110784 (108.1 KiB)  TX bytes:926 (926.0 b)

eth2      Link encap:Ethernet  HWaddr 9C:B6:54:08:94:FC
          inet addr:172.25.8.101  Bcast:172.25.11.255  Mask:255.255.252.0
          inet6 addr: fe80::9eb6:54ff:fe08:94fc/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:53594 errors:0 dropped:0 overruns:0 frame:0
          TX packets:21334 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:52384874 (49.9 MiB)  TX bytes:8096475 (7.7 MiB)
          Memory:f7d00000-f7e00000

eth3      Link encap:Ethernet  HWaddr 9C:B6:54:08:94:FD
          UP BROADCAST MULTICAST  MTU:9000  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Memory:f7b00000-f7c00000

int-br-eth0 Link encap:Ethernet  HWaddr B2:F3:16:36:98:6A
          inet6 addr: fe80::b0f3:16ff:fe36:986a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:468 (468.0 b)  TX bytes:468 (468.0 b)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

phy-br-eth0 Link encap:Ethernet  HWaddr A6:85:EA:FF:E1:86
          inet6 addr: fe80::a485:eaff:feff:e186/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:468 (468.0 b)  TX bytes:468 (468.0 b)


So lots of strange bridges.
but no br-ex
I created that by hand and can get service neutron-openvswitch-agent to run

I am just starting to learn Neutron so I may not fully understand what I am
doing.

Some help and kind guidance  would be wonderful.

cheers


-- 
Jonas Hagberg
BILS - Bioinformatics Infrastructure for Life Sciences - http://bils.se
e-mail: jonas.hagberg at bils.se, jonas.hagberg at scilifelab.se
phone: +46-(0)70 6683869
address: SciLifeLab, Box 1031, 171 21 Solna, Sweden
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rdoproject.org/pipermail/dev/attachments/20140827/bddac572/attachment.html>


More information about the dev mailing list