Hi Om Prakash,
I hope you are looking for external network connectivity from openstack
tenant network VM instances. Since as you mentioned configuration is
required for external network connectivity (Using Floating-IP or SNAT for
provider network is FLAT/VLAN). Please refer the below steps to achieve
external network connectivity using manual configuration.
Please refer the example reference guide [0] to get more details about
external network connectivity using floating-ip.
1) Create OVS public bridge using below command
*$ovs-vsctl add-br br-physnet1*
2) Choose right public provider interface and unassigned the existing IP
address from the port (In your case choose right interface from the list
enp0s3, enp0s8, enp0s9, enp0s10)
* $sudo ifconfig enp0s9 0*
3) Add public physical provider interface to created OVS public bridge
(br-physnet1)
* $sudo ovs-vsctl add-port br-physnet1 <Public Interface> (In your case
choose right interface from the list enp0s3, enp0s8, enp0s9, enp0s10)*
* $sudo ovs-vsctl add-port br-physnet1 enp0s9*
4) Assign the physical provider interface exiting IP address to OVS public
bridge "br-physnet1"
* $sudo dhclient br- physnet1 (Using dhclinet)*
* $ip addr add <Existing_IP_Address_of_Phy_Interface> dev br-physnet1
(Static way to assign)*
5) Configure OVS switch provider mapping(In other_config) to external
public physical provider bridge(br-physnet1)
*$sudo ovs-vsctl set Open_vSwitch . other_config:provider_mappings=
physnet1:br-physnet1*
6) Verify configured external public provider bridge details are proper
using below command. Example CSIT ref [1]
*$sudo ovs-vsctl list Open_vSwitch*
7) Make sure mentioned provider mapping name is appearing in ML2 config
file (ml2_conf.ini) under "ml2_type_flat" section. This will be taken care
of creating patch port between OVS bridge br-int and br-physnet1. Example
CSIT ref [2].
*[ml2_type_flat]
flat_networks = public,physnet1*
[0]: https://docs.opendaylight.org/en/stable-nitrogen/submodules/netvirt/
docs/openstack-guide/openstack-with-netvirt.html#adding-an-
external-network-for-floating-ip-connectivity
[1]:
https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/netvirt-csit-1node-openstack-queens-gate-stateful-oxygen/409/robot-plugin/log_full.html.gz#s1-s3-t25-k3-k1-k2-k1-k10-k4
[2]:
https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/netvirt-csit-1node-openstack-queens-gate-stateful-oxygen/409/robot-plugin/log_full.html.gz#s1-s3-t25-k3-k1-k2-k1-k9-k4
Thanks and Regards,
Karthikeyan.
On Tue, Jul 3, 2018 at 12:07 AM, PRAKASH, OM <[email protected]> wrote:
> Hi Folks,
>
>
>
> Any idea how I can configure below interface in Ubuntu 16.04 VM . I have
> these interface in the Ubuntu VM (enp0s3, enp0s8, enp0s9, enp0s10).
>
>
>
>
>
> PUBLIC_BRIDGE=br-physnet1
>
> PUBLIC_PHYSICAL_NETWORK=physnet1
>
> ML2_VLAN_RANGES=physnet1
>
> ODL_PROVIDER_MAPPINGS=
>
>
>
>
>
> Thanks
>
> Om Prakash
>
>
>
>
>
> _______________________________________________
> netvirt-dev mailing list
> [email protected]
> https://lists.opendaylight.org/mailman/listinfo/netvirt-dev
>
>
_______________________________________________
sfc-dev mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/sfc-dev