Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Here is the new outputs :

[root@localhost ~(keystone_admin)]# ovs-vsctl show
ca71317d-dc86-492c-9e4a-5b8f9003676d
    Bridge br-tun
        fail_mode: secure
        Port patch-int
            Interface patch-int
                type: patch
                options: {peer=patch-tun}
        Port br-tun
            Interface br-tun
                type: internal
    Bridge br-int
        fail_mode: secure
        Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}
        Port br-int
            Interface br-int
                type: internal
        Port "qr-06837155-a2"
            tag: 1
            Interface "qr-06837155-a2"
                type: internal
        Port "tapa27acde4-0c"
            tag: 1
            Interface "tapa27acde4-0c"
                type: internal
        Port int-br-ex
            Interface int-br-ex
                type: patch
                options: {peer=phy-br-ex}
    Bridge br-ex
        Port "eth0"
            Interface "eth0"
        Port "qg-b6560e9e-f7"
            Interface "qg-b6560e9e-f7"
                type: internal
        Port br-ex
            Interface br-ex
                type: internal
        Port phy-br-ex
            Interface phy-br-ex
                type: patch
                options: {peer=int-br-ex}
    ovs_version: "2.4.0"


[root@localhost ~(keystone_admin)]# neutron net-list
+--------------------------------------+---------+-----------------------------------------------------+
| id                                   | name    | subnets                                             |
+--------------------------------------+---------+-----------------------------------------------------+
| 49f5609a-beb4-44df-902d-133acfba0c10 | Private | e2f5ae4c-78ff-42fe-96ec-1d96dd0ad38a 10.0.1.0/24    |
| ca321fcc-ff9d-45e9-8704-78aa8e857711 | Public  | 2d8b5f0d-2ffb-4abc-bb32-54813f932354 192.168.2.0/23 |
+--------------------------------------+---------+-----------------------------------------------------+

[root@localhost ~(keystone_admin)]# neutron net-show ca321fcc-ff9d-45e9-8704-78aa8e857711
+---------------------------+--------------------------------------+
| Field                     | Value                                |
+---------------------------+--------------------------------------+
| admin_state_up            | True                                 |
| id                        | ca321fcc-ff9d-45e9-8704-78aa8e857711 |
| mtu                       | 0                                    |
| name                      | Public                               |
| provider:network_type     | flat                                 |
| provider:physical_network | physnet1                             |
| provider:segmentation_id  |                                      |
| router:external           | True                                 |
| shared                    | True                                 |
| status                    | ACTIVE                               |
| subnets                   | 2d8b5f0d-2ffb-4abc-bb32-54813f932354 |
| tenant_id                 | 412d8dbddc86404e8c6adf90647a4b9e     |
+---------------------------+--------------------------------------+

[root@localhost ~(keystone_admin)]# ip netns exec qrouter-ea037ff8-9744-4416-b0be-067052d263cb ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qg-b6560e9e-f7: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.3.201  netmask 255.255.254.0  broadcast 192.168.3.255
        inet6 fe80::f816:3eff:fe52:11f6  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:52:11:f6  txqueuelen 0  (Ethernet)
        RX packets 3574  bytes 471281 (460.2 KiB)
        RX errors 0  dropped 7  overruns 0  frame 0
        TX packets 26  bytes 2292 (2.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

qr-06837155-a2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.0.1.1  netmask 255.255.255.0  broadcast 10.0.1.255
        inet6 fe80::f816:3eff:febe:5322  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:be:53:22  txqueuelen 0  (Ethernet)
        RX packets 8  bytes 648 (648.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 10  bytes 864 (864.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0