<div dir="ltr">Hi Zufar,<div><br></div><div>







<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:normal;font-family:"Helvetica Neue";color:rgb(69,69,69)">I see no patch peer between int-br and br-ex (int-br-ex <-> phy-br-ex)</p><p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";color:rgb(69,69,69)"><br></p><p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";color:rgb(69,69,69)">Try to add it manually, then do the changes in your mapping configuration directives.</p><p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";color:rgb(69,69,69)"><br></p><p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";color:rgb(69,69,69)">---</p><p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";color:rgb(69,69,69)">Regards,</p><p class="gmail-p1" style="margin:0px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:12px;line-height:normal;font-family:"Helvetica Neue";color:rgb(69,69,69)">Fawaz Mohammed</p></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 26, 2018 at 8:29 AM, Zufar Dhiyaulhaq <span dir="ltr"><<a href="mailto:zufardhiyaulhaq@gmail.com" target="_blank">zufardhiyaulhaq@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi everyone, I try to integerate Openstack that build with packstack (Centos) with OpenDayLight.<br>this is my topology<br><br>    Openstack Controller : 10.210.210.10 & 10.211.211.10<br>    - eth1 : <a href="http://10.211.211.10/24" target="_blank">10.211.211.10/24</a><br>    - eth0 : <a href="http://10.210.210.10/24" target="_blank">10.210.210.10/24</a><br><br>    Openstack Compute : 10.210.210.20 & 10.211.211.20<br>    - eth1 : <a href="http://10.211.211.20/24" target="_blank">10.211.211.20/24</a><br>    - eth0 : <a href="http://10.210.210.20/24" target="_blank">10.210.210.20/24</a><br><br>    OpenDayLight : 10.210.210.30<br>    - eth1 : <a href="http://10.210.210.30/24" target="_blank">10.210.210.30/24</a><br><br>    Provider Network : <a href="http://10.211.211.0/24" target="_blank">10.211.211.0/24</a><br>    Tenant Network : <a href="http://10.210.210.0/24" target="_blank">10.210.210.0/24</a><br><br>    Openstack Version : Newton<br>    OpenDayLight Version : Nitrogen SR1<br><br>this is my packstack configuration changes<br><br>    CONFIG_HEAT_INSTALL=y<br>    CONFIG_NEUTRON_FWAAS=y<br>    CONFIG_NEUTRON_VPNAAS=y<br>    CONFIG_LBAAS_INSTALL=y<br>    <br>    CONFIG_CINDER_INSTALL=n<br>    CONFIG_SWIFT_INSTALL=n<br>    CONFIG_CEILOMETER_INSTALL=n<br>    CONFIG_AODH_INSTALL=n<br>    CONFIG_GNOCCHI_INSTALL=n<br>    CONFIG_NAGIOS_INSTALL=n<br>    CONFIG_PROVISION_DEMO=n<br>    <br>    CONFIG_COMPUTE_HOSTS=10.X0.X0.<wbr>20<br>    CONFIG_USE_EPEL=y<br>    CONFIG_KEYSTONE_ADMIN_PW=rahas<wbr>ia<br>    CONFIG_NEUTRON_ML2_TYPE_DRIVER<wbr>S=vxlan,gre,vlan,flat,local<br>    CONFIG_NEUTRON_ML2_FLAT_NETWOR<wbr>KS=external<br>    CONFIG_NEUTRON_OVS_BRIDGE_MAPP<wbr>INGS=external:br-ex<br>    CONFIG_NEUTRON_OVS_BRIDGE_IFAC<wbr>ES=br-ex:eth1<br>    CONFIG_NEUTRON_OVS_BRIDGES_COM<wbr>PUTE=br-ex<br><br>I try to follow this tutorial : <a href="http://docs.opendaylight.org/en/stable-nitrogen/submodules/netvirt/docs/openstack-guide/openstack-with-netvirt.html" target="_blank">http://docs.opendaylight.org/e<wbr>n/stable-nitrogen/submodules/n<wbr>etvirt/docs/openstack-guide/op<wbr>enstack-with-netvirt.html</a><br><br>the instance is getting dhcp in tenant network and ping the ip tenant router gateway. but i cant ping all of provider network. <br><br>this is all of my configuration when integrating with opendaylight<br><br>## OPENDAYLIGHT ##<br><br>    ** Set ACL<br>    mkdir -p etc/opendaylight/datastore/ini<wbr>tial/config/<br>    cp system/org/opendaylight/netvir<wbr>t/aclservice-impl/0.5.1/aclser<wbr>vice-impl-0.5.1-config.xml etc/opendaylight/datastore/ini<wbr>tial/config/netvirt-aclservice<wbr>-config.xml<br>    sed -i s/stateful/transparent/ etc/opendaylight/datastore/ini<wbr>tial/config/netvirt-aclservice<wbr>-config.xml<br>    <br>    export JAVA_HOME=/usr/java/jdk1.8.0_1<wbr>62/jre<br>    ./bin/karaf <br>    <br>    ** Install Feature<br>   
 feature:install odl-dluxapps-nodes odl-dlux-core odl-dluxapps-topology 
odl-dluxapps-applications odl-netvirt-openstack odl-netvirt-ui 
odl-mdsal-apidocs odl-l2switch-all<br><br>## OPENSTACK CONTROLLER NODE ##<br><br>    systemctl stop neutron-server<br>    systemctl stop neutron-openvswitch-agent<br>    systemctl disable neutron-openvswitch-agent<br>    systemctl stop neutron-l3-agent<br>    systemctl disable neutron-l3-agent<br>    <br>    systemctl stop openvswitch<br>    rm -rf /var/log/openvswitch/*<br>    rm -rf /etc/openvswitch/conf.db<br>    systemctl start openvswitch<br>    <br>    ovs-vsctl set-manager tcp:<a href="http://10.210.210.30:6640" target="_blank">10.210.210.30:6640</a><br>    ovs-vsctl del-port br-int eth1<br>    ovs-vsctl add-br br-ex<br>    ovs-vsctl add-port br-ex eth1<br>    ovs-vsctl set-controller br-ex tcp:<a href="http://10.210.210.30:6653" target="_blank">10.210.210.30:6653</a><br>    <br>    ovs-vsctl set Open_vSwitch . other_config:local_ip=10.210.2<wbr>10.10<br>    ovs-vsctl get Open_vSwitch . other_config<br>    <br>    yum -y install python-networking-odl<br>    <br>    crudini --set /etc/neutron/plugins/ml2/ml2_c<wbr>onf.ini ml2 mechanism_drivers opendaylight <br>    crudini --set /etc/neutron/plugins/ml2/ml2_c<wbr>onf.ini ml2 tenant_network_types vxlan<br>    <br>    cat <<EOT>> /etc/neutron/plugins/ml2/ml2_c<wbr>onf.ini <br>    [ml2_odl]<br>    password = admin<br>    username = admin<br>    url = <a href="http://10.210.210.30:8080/controller/nb/v2/neutron" target="_blank">http://10.210.210.30:8080/cont<wbr>roller/nb/v2/neutron</a><br>    EOT<br>    <br>    crudini --set /etc/neutron/plugins/neutron.c<wbr>onf DEFAULT service_plugins odl-router<br>    crudini --set /etc/neutron/plugins/dhcp_agen<wbr>t.ini OVS ovsdb_interface vsctl<br>    <br>    mysql -e "DROP DATABASE IF EXISTS neutron;"<br>    mysql -e "CREATE DATABASE neutron CHARACTER SET utf8;"<br>    neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_c<wbr>onf.ini upgrade head<br>    <br>    systemctl start neutron-server<br>    sudo ovs-vsctl set Open_vSwitch . other_config:provider_mappings<wbr>=external:br-ex<br><br>## OPENSTACK COMPUTE NODE ##<br><br>    systemctl stop neutron-openvswitch-agent<br>    systemctl disable neutron-openvswitch-agent<br>    systemctl stop neutron-l3-agent<br>    systemctl disable neutron-l3-agent<br>    <br>    systemctl stop openvswitch<br>    rm -rf /var/log/openvswitch/*<br>    rm -rf /etc/openvswitch/conf.db<br>   <br>    systemctl start openvswitch<br>    <br>    ovs-vsctl set-manager tcp:<a href="http://10.210.210.30:6640" target="_blank">10.210.210.30:6640</a><br>    ovs-vsctl set-manager tcp:<a href="http://10.210.210.30:6640" target="_blank">10.210.210.30:6640</a><br>    ovs-vsctl del-port br-int eth1<br>    ovs-vsctl add-br br-ex<br>    ovs-vsctl add-port br-ex eth1<br>    ovs-vsctl set-controller br-ex tcp:<a href="http://10.210.210.30:6653" target="_blank">10.210.210.30:6653</a><br><br>    ovs-vsctl set Open_vSwitch . other_config:local_ip=10.210.2<wbr>10.20<br>    ovs-vsctl get Open_vSwitch . other_config<br>    <br>    yum -y install python-networking-odl<br>    <br>    sudo ovs-vsctl set Open_vSwitch . other_config:provider_mappings<wbr>=external:br-ex<br><br>## REPORT ##<br>############<br><br>## OVS-VSCTL SHOW ##<br>### CONTROLLER ###<br>[root@pod21-controller ~]# ovs-vsctl show<br>525fbe7c-e60c-4135-b0a5-178d76<wbr>c04529<br>    Manager "ptcp:6640:127.0.0.1"<br>        is_connected: true<br>    Bridge br-tun<br>        Controller "tcp:<a href="http://127.0.0.1:6633" target="_blank">127.0.0.1:6633</a>"<br>            is_connected: true<br>        fail_mode: secure<br>        Port "gre-0ad2d214"<br>            Interface "gre-0ad2d214"<br>                type: gre<br>                options: {df_default="true", in_key=flow, local_ip="10.210.210.10", out_key=flow, remote_ip="10.210.210.20"}<br>        Port br-tun<br>            Interface br-tun<br>                type: internal<br>        Port "vxlan-0ad2d214"<br>            Interface "vxlan-0ad2d214"<br>                type: vxlan<br>               
 options: {df_default="true", in_key=flow, local_ip="10.210.210.10", 
out_key=flow,    remote_ip="10.210.210.20"}    <wbr>                              <wbr>                              <wbr>                              <wbr>                  <br>        Port patch-int                     <wbr>                              <wbr>                              <wbr>               <br>            Interface patch-int                     <wbr>                              <wbr>                              <wbr>      <br>                type: patch                         <wbr>                              <wbr>                              <wbr>      <br>                options: {peer=patch-tun}              <wbr>                              <wbr>                              <wbr>   <br>    Bridge br-ex                         <wbr>                              <wbr>                              <wbr>                 <br>        Controller "tcp:<a href="http://127.0.0.1:6633" target="_blank">127.0.0.1:6633</a>"          <wbr>                              <wbr>                              <wbr>         <br>            is_connected: true                          <wbr>                              <wbr>                              <wbr>  <br>        fail_mode: secure                        <wbr>                              <wbr>                              <wbr>         <br>        Port phy-br-ex                     <wbr>                              <wbr>                              <wbr>               <br>            Interface phy-br-ex<br>                type: patch<br>                options: {peer=int-br-ex}<br>        Port "eth1"<br>            Interface "eth1"<br>        Port br-ex<br>            Interface br-ex<br>                type: internal<br>    Bridge br-int<br>        Controller "tcp:<a href="http://127.0.0.1:6633" target="_blank">127.0.0.1:6633</a>"<br>            is_connected: true<br>        fail_mode: secure<br>        Port br-int<br>            Interface br-int<br>                type: internal<br>        Port int-br-ex<br>            Interface int-br-ex<br>                type: patch<br>                options: {peer=phy-br-ex}<br>        Port patch-tun<br>            Interface patch-tun<br>                type: patch<br>                options: {peer=patch-int}<br>    ovs_version: "2.6.1"<br><br>### COMPUTE ###<br>[root@pod21-compute ~]# ovs-vsctl show<br>f4466d5a-c1f5-4c5c-91c3-636944<wbr>cd0f97<br>    Manager "ptcp:6640:127.0.0.1"<br>        is_connected: true<br>    Bridge br-ex<br>        Controller "tcp:<a href="http://127.0.0.1:6633" target="_blank">127.0.0.1:6633</a>"<br>            is_connected: true<br>        fail_mode: secure<br>        Port phy-br-ex<br>            Interface phy-br-ex<br>                type: patch<br>                options: {peer=int-br-ex}<br>        Port br-ex<br>            Interface br-ex<br>                type: internal<br>        Port "eth1"<br>            Interface "eth1"<br>    Bridge br-int<br>        Controller "tcp:<a href="http://127.0.0.1:6633" target="_blank">127.0.0.1:6633</a>"<br>            is_connected: true<br>        fail_mode: secure                        <wbr>                              <wbr>                              <wbr>         <br>        Port int-br-ex                     <wbr>                              <wbr>                              <wbr>               <br>            Interface int-br-ex                     <wbr>                              <wbr>                              <wbr>      <br>                type: patch                         <wbr>                              <wbr>                              <wbr>      <br>                options: {peer=phy-br-ex}              <wbr>                              <wbr>                              <wbr>   <br>        Port br-int                        <wbr>                              <wbr>                              <wbr>               <br>            Interface br-int                        <wbr>                              <wbr>                              <wbr>      <br>                type: internal                      <wbr>                              <wbr>                              <wbr>      <br>        Port patch-tun                     <wbr>                              <wbr>                              <wbr>               <br>            Interface patch-tun                     <wbr>                              <wbr>                              <wbr>      <br>                type: patch<br>                options: {peer=patch-int}<br>    Bridge br-tun<br>        Controller "tcp:<a href="http://127.0.0.1:6633" target="_blank">127.0.0.1:6633</a>"<br>            is_connected: true<br>        fail_mode: secure<br>        Port patch-int<br>            Interface patch-int<br>                type: patch<br>                options: {peer=patch-tun}<br>        Port "gre-0ad2d20a"<br>            Interface "gre-0ad2d20a"<br>                type: gre<br>                options: {df_default="true", in_key=flow, local_ip="10.210.210.20", out_key=flow, remote_ip="10.210.210.10"}<br>        Port br-tun<br>            Interface br-tun<br>                type: internal<br>        Port "vxlan-0ad2d20a"<br>            Interface "vxlan-0ad2d20a"<br>                type: vxlan<br>                options: {df_default="true", in_key=flow, local_ip="10.210.210.20", out_key=flow, remote_ip="10.210.210.10"}<br>    ovs_version: "2.6.1"<br><br>### OVS-VSCTL AFTER CONFIG ###<br><br>### CONTROLLER ###<br>[root@pod21-controller ~]# ovs-vsctl show<br>71b22ef2-fbea-4cd4-ba6a-883b3d<wbr>f9c5f1<br>    Manager "tcp:<a href="http://10.210.210.30:6640" target="_blank">10.210.210.30:6640</a>"<br>        is_connected: true<br>    Bridge br-int<br>        Controller "tcp:<a href="http://10.210.210.30:6653" target="_blank">10.210.210.30:6653</a>"<br>            is_connected: true<br>        fail_mode: secure<br>        Port br-int<br>            Interface br-int<br>                type: internal<br>    Bridge br-ex<br>        Controller "tcp:<a href="http://10.210.210.30:6653" target="_blank">10.210.210.30:6653</a>"<br>            is_connected: true<br>        Port br-ex<br>            Interface br-ex<br>                type: internal<br>        Port "eth1"<br>            Interface "eth1"<br>    ovs_version: "2.6.1"<br><br>### COMPUTE ###<br>[root@pod21-compute ~]# ovs-vsctl  show<br>3bede8e2-eb29-4dbb-97f0-4cbadb<wbr>2c0195<br>    Manager "tcp:<a href="http://10.210.210.30:6640" target="_blank">10.210.210.30:6640</a>"<br>        is_connected: true<br>    Bridge br-ex<br>        Controller "tcp:<a href="http://10.210.210.30:6653" target="_blank">10.210.210.30:6653</a>"<br>            is_connected: true<br>        Port br-ex<br>            Interface br-ex<br>                type: internal<br>        Port "eth1"<br>            Interface "eth1"<br>    Bridge br-int<br>        Controller "tcp:<a href="http://10.210.210.30:6653" target="_blank">10.210.210.30:6653</a>"<br>            is_connected: true<br>        fail_mode: secure<br>        Port br-int<br>            Interface br-int<br>                type: internal<br>    ovs_version: "2.6.1"<br><br><br>### AFTER ADDING INSTANCE ###<br><br>### CONTROLLER ###<br>[root@pod21-controller ~(keystone_admin)]# ovs-vsctl show<br>71b22ef2-fbea-4cd4-ba6a-883b3d<wbr>f9c5f1<br>    Manager "ptcp:6640:127.0.0.1"<br>        is_connected: true<br>    Manager "tcp:<a href="http://10.210.210.30:6640" target="_blank">10.210.210.30:6640</a>"<br>        is_connected: true<br>    Bridge br-int<br>        Controller "tcp:<a href="http://10.210.210.30:6653" target="_blank">10.210.210.30:6653</a>"<br>            is_connected: true<br>        fail_mode: secure<br>        Port "tapab981c1e-4b"<br>            Interface "tapab981c1e-4b"<br>                type: internal<br>        Port "qr-cba77b1d-73"<br>            Interface "qr-cba77b1d-73"<br>                type: internal<br>        Port br-int<br>            Interface br-int<br>                type: internal<br>        Port "tun7314cbc7b3e"<br>            Interface "tun7314cbc7b3e"<br>                type: vxlan<br>                options: {key=flow, local_ip="10.210.210.10", remote_ip="10.210.210.20"}<br>    Bridge br-ex<br>        Controller "tcp:<a href="http://10.210.210.30:6653" target="_blank">10.210.210.30:6653</a>"<br>            is_connected: true<br>        Port "qg-1ba8c01a-15"<br>            Interface "qg-1ba8c01a-15"<br>                type: internal<br>        Port br-ex<br>            Interface br-ex<br>                type: internal<br>        Port "eth1"<br>            Interface "eth1"<br>    ovs_version: "2.6.1"<br><br><br>### COMPUTE ###<br>[root@pod21-compute ~]# ovs-vsctl show<br>3bede8e2-eb29-4dbb-97f0-4cbadb<wbr>2c0195<br>    Manager "tcp:<a href="http://10.210.210.30:6640" target="_blank">10.210.210.30:6640</a>"<br>        is_connected: true<br>    Bridge br-ex<br>        Controller "tcp:<a href="http://10.210.210.30:6653" target="_blank">10.210.210.30:6653</a>"<br>            is_connected: true<br>        Port br-ex<br>            Interface br-ex<br>                type: internal<br>        Port "eth1"<br>            Interface "eth1"<br>    Bridge br-int<br>        Controller "tcp:<a href="http://10.210.210.30:6653" target="_blank">10.210.210.30:6653</a>"<br>            is_connected: true<br>        fail_mode: secure<br>        Port "tun51bba5158fe"<br>            Interface "tun51bba5158fe"<br>                type: vxlan<br>                options: {key=flow, local_ip="10.210.210.20", remote_ip="10.210.210.10"}<br>        Port "tap1e71587f-32"<br>            Interface "tap1e71587f-32"<br>        Port "tap5c0a404b-75"<br>            Interface "tap5c0a404b-75"<br>        Port br-int<br>            Interface br-int<br>                type: internal<br>    ovs_version: "2.6.1"87<br><br>i
 try to mapping to eth1 or br-ex but its same. i cant ping all provider 
network. (only the gateway 10.211.211.1 from controller or compute 
node). thanks :)<br></div>
<br>______________________________<wbr>_________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack</a><br>
<br></blockquote></div><br></div>