Re: [ovs-dev] dhcp4_options field in logical_switch_port table question
пн, 18 мар. 2019 г. в 13:30, Numan Siddique : > > > > On Mon, Mar 18, 2019 at 1:45 PM Vasiliy Tolstov wrote: >> >> Hi. I'm try to modify/write/improve golang ovn binding. And i'm stuck >> at dhcpv4_options in logical_switch_port. >> As i see its is weak reference, i think that it is string, but as i >> see in returned results via libovsdb it is OvsSet type (array of >> strings). Does it right? >> > > I think it is array of string. > > When I run the below command, > ovn-nbctl set logical_switch_port > dhcpv4_options="DHCP_OPTIONS_ROW_UUID". > Thank you! I forget that uuid not string, but array of strings with the first element string with name uuid. -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev
[ovs-dev] dhcp4_options field in logical_switch_port table question
Hi. I'm try to modify/write/improve golang ovn binding. And i'm stuck at dhcpv4_options in logical_switch_port. As i see its is weak reference, i think that it is string, but as i see in returned results via libovsdb it is OvsSet type (array of strings). Does it right? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev
Re: [ovs-dev] infiniband (IPoIB) support
ср, 8 авг. 2018 г. в 12:28, Vasiliy Tolstov : > My question is - how can i do connectivity if vm attached to br-int > have external ip address for example 1.2.3.100 (provided by ovn dhcp), > and gateway server that have uplink to internet have ip 1.2.3.254. > As i understand logical router needs to be created to route traffic > from diffrent networks... Sorry i can't find in google something like this. In google i only find what i need to do route from different networks or attach port to br-ex bridge. -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev
Re: [ovs-dev] infiniband (IPoIB) support
ср, 8 авг. 2018 г. в 1:18, Ben Pfaff : > > I don't know how many people on this list know anything about IPoIB. I > know that I don't. You might not be getting an answer simply because > it's such a specialty topic. Maybe there is a place where people talk > about IPoIB software; maybe they would know something. > Now my question now about IPoIB, as i read - attach IPoIB device not possible. Also linux does not allow to create vlan on IPoIB (because IPoIB have pkeys analog to vlans). My question is - how can i do connectivity if vm attached to br-int have external ip address for example 1.2.3.100 (provided by ovn dhcp), and gateway server that have uplink to internet have ip 1.2.3.254. As i understand logical router needs to be created to route traffic from diffrent networks... -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev
Re: [ovs-dev] infiniband (IPoIB) support
Does anybody can helps me and say, how to do connectivity from ovn network to physical? if ovn network and phisical have the same subnet. пн, 6 авг. 2018 г. в 23:35, Vasiliy Tolstov : > > пн, 6 авг. 2018 г. в 17:34, Vasiliy Tolstov : > > > > And if IPoIB device cant't be added to openvswitch bridge, how can i > > connect virtual network with physical in such setup: > > > > i have logical switch extnet with vm ports, each vm via ovn dhcp have > > ip address from external network. > > I want to route all traffic from this extnet via last ip address from > > /24 subnet (254). > > Does i need to create logical router for such thing? > > Can you explain me how can i solve this? > > пн, 6 авг. 2018 г. в 17:11, Vasiliy Tolstov : > > > > > > Hi. I know about dpdk, but i have mellanox connectx-2 card with IPoIB in > > > linux. > > > And i want to add it to openvswitch bridge. > > > I found topics (7 years ago) that says about no plans to add support > > > for IPoIB devices. > > > How can i add to ovs bridge IPoIB device? > > > > > > -- > > > Vasiliy Tolstov, > > > e-mail: v.tols...@selfip.ru > > > > > > > > -- > > Vasiliy Tolstov, > > e-mail: v.tols...@selfip.ru > > I'm partially solve problem by adding to extnet gw port with type localnet. > so connection from vm to external world works fine, but from external > world to vm not: > ovs-vsctl show > f39cbc63-2dd2-486e-a2c8-1b7faee48535 > Bridge br-ext > Port patch-gw-to-br-int > Interface patch-gw-to-br-int > type: patch > options: {peer=patch-br-int-to-gw} > Port br-ext > Interface br-ext > type: internal > Bridge br-int > fail_mode: secure > Port patch-br-int-to-gw > Interface patch-br-int-to-gw > type: patch > options: {peer=patch-gw-to-br-int} > Port "vnet0" > Interface "vnet0" > Port br-int > Interface br-int > type: internal > ovs_version: "2.8.1" > > port gw > type: localnet > addresses: ["unknown"] > port d2b171b6-c501-4e8c-b29d-adc79e573d4c > addresses: ["52:54:00:08:43:25 xx.xx.xx.xx"] > -- > Vasiliy Tolstov, > e-mail: v.tols...@selfip.ru -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev
Re: [ovs-dev] infiniband (IPoIB) support
пн, 6 авг. 2018 г. в 17:34, Vasiliy Tolstov : > > And if IPoIB device cant't be added to openvswitch bridge, how can i > connect virtual network with physical in such setup: > > i have logical switch extnet with vm ports, each vm via ovn dhcp have > ip address from external network. > I want to route all traffic from this extnet via last ip address from > /24 subnet (254). > Does i need to create logical router for such thing? > Can you explain me how can i solve this? > пн, 6 авг. 2018 г. в 17:11, Vasiliy Tolstov : > > > > Hi. I know about dpdk, but i have mellanox connectx-2 card with IPoIB in > > linux. > > And i want to add it to openvswitch bridge. > > I found topics (7 years ago) that says about no plans to add support > > for IPoIB devices. > > How can i add to ovs bridge IPoIB device? > > > > -- > > Vasiliy Tolstov, > > e-mail: v.tols...@selfip.ru > > > > -- > Vasiliy Tolstov, > e-mail: v.tols...@selfip.ru I'm partially solve problem by adding to extnet gw port with type localnet. so connection from vm to external world works fine, but from external world to vm not: ovs-vsctl show f39cbc63-2dd2-486e-a2c8-1b7faee48535 Bridge br-ext Port patch-gw-to-br-int Interface patch-gw-to-br-int type: patch options: {peer=patch-br-int-to-gw} Port br-ext Interface br-ext type: internal Bridge br-int fail_mode: secure Port patch-br-int-to-gw Interface patch-br-int-to-gw type: patch options: {peer=patch-gw-to-br-int} Port "vnet0" Interface "vnet0" Port br-int Interface br-int type: internal ovs_version: "2.8.1" port gw type: localnet addresses: ["unknown"] port d2b171b6-c501-4e8c-b29d-adc79e573d4c addresses: ["52:54:00:08:43:25 xx.xx.xx.xx"] -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev
Re: [ovs-dev] infiniband (IPoIB) support
And if IPoIB device cant't be added to openvswitch bridge, how can i connect virtual network with physical in such setup: i have logical switch extnet with vm ports, each vm via ovn dhcp have ip address from external network. I want to route all traffic from this extnet via last ip address from /24 subnet (254). Does i need to create logical router for such thing? Can you explain me how can i solve this? пн, 6 авг. 2018 г. в 17:11, Vasiliy Tolstov : > > Hi. I know about dpdk, but i have mellanox connectx-2 card with IPoIB in > linux. > And i want to add it to openvswitch bridge. > I found topics (7 years ago) that says about no plans to add support > for IPoIB devices. > How can i add to ovs bridge IPoIB device? > > -- > Vasiliy Tolstov, > e-mail: v.tols...@selfip.ru -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev
[ovs-dev] infiniband (IPoIB) support
Hi. I know about dpdk, but i have mellanox connectx-2 card with IPoIB in linux. And i want to add it to openvswitch bridge. I found topics (7 years ago) that says about no plans to add support for IPoIB devices. How can i add to ovs bridge IPoIB device? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev
Re: [ovs-dev] [RFC] OpenStack Metadata API and OVN
Thanks! Very interesting 2017-04-03 19:03 GMT+03:00 Russell Bryant <russ...@ovn.org>: > I worked with a fellow team member to come up with a proposal for how > to support the OpenStack Metadata API with OVN. The proposal requires > no additional changes to OVN itself, but I wanted to share on this > list anyway for anyone that may be interested. > > https://review.openstack.org/#/c/452811/ > > Thanks, > > -- > Russell Bryant > ___ > dev mailing list > d...@openvswitch.org > https://mail.openvswitch.org/mailman/listinfo/ovs-dev -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev