Wednesday, 2017-01-18

*** lihi has quit IRC01:27
*** lihi has joined #openstack-dragonflow01:29
*** diablo_rojo has joined #openstack-dragonflow01:46
*** diablo_rojo has quit IRC01:48
*** gongysh has joined #openstack-dragonflow03:20
openstackgerritMerged openstack/dragonflow: Add missing requirements  https://review.openstack.org/41981405:46
oansonrajivk, ping06:25
rajivkoanson, hi06:25
oansonYou mentioned you wanted to discuss VLAN aware VMs06:27
rajivkyes, i am going thorough dragonflow code to know how vlans networking is implemented. So that i can map it to the requirement.06:29
rajivkIn neutron they are creating a trunk port and subports for each network trunk port belongs to.06:30
oansonYes06:30
rajivkAnd tags are assigned for each port to distinguish among subports and later on they are stripped when packet lands in neutron network.06:31
oansonYes. And the vlan tag is used to identify in which network it lands06:31
rajivkNow through dragonflow, how vlans are implemented? May be we can tag each port for different vlans06:32
rajivkwe don't have create subport like neutron. This is the way i am thinking.06:32
oansonYes.06:32
rajivkBut a complete understanding is missing. How to do it? what are the advantage and disadvanges etc.06:33
oansonOVS/OpenFlow have fields to handle vlans06:33
rajivkWhat are possible approaches?06:33
oansonOne sec, let me load the documentation so I get the field names right :)06:33
rajivkI am looking into them your help will be valuable.06:33
oansonMY thought is that in table 0, when the packet is received, we have classification flows.06:34
oansonMy*06:34
oansonIt sets the network and source port identifiers on the packet's metadata06:34
oansonOVS/OpenFlow allows you to detect if vlan is used, and what's the tag. I think to detect a vlan tag, you use dl_vlan=<vlan tag>06:35
oansonSo you can add a flow like: vlan_tag=<vlang tag>,actions=pop_vlan,set_field:<network ID>->metadata,set_field:<subport ID>->reg606:36
rajivkok, i can tag multiple vlans and if match is found then forward normally.06:36
oansonSo you can add a flow like: vlan_tag=<vlang tag>,actions=pop_vlan,set_field:<network ID>->metadata,set_field:<subport ID>->reg6,goto_table(1)06:36
oansonYes06:36
rajivkCurrently only one tag is assigned and assigning multiple tags to the interface is enough. is my understanding correct?06:36
oansonOn the egress, you do the reverse. You detect (using REG7, which holds the destination port ID) what's the destination port, and tag it if needed06:37
oansonrajivk, yes, I think so06:37
rajivkHow till it impact security groups, routers etc? these has to be identified.06:37
oansonYou will know exactly what sub-port you come from (detected in table 0)06:38
oansonSo port security will know what are the allowed macs/IP pairs06:38
oansonSecurity groups app will know what are the applied security groups, and can implement them like every other port06:38
oansonl2/l3 lookup is done using MACs and IPs, so that shouldn't be affected06:39
rajivkYou have done all my tasks. :)06:39
oansonI think by mapping the packet to a new port, and treating subports as ports, the only change should be in the classifier and dispatcher06:39
oansonrajivk, :). My predecessors designed the Dragonflow pipeline right. That's why it seems so easy :)06:40
rajivkI think, i will require to add new db models for trunk ports as well and mappings?06:41
oansonYes. I'm guessing for trunk ports and subports. Or modify loigical ports to know which is a port with a vlan tag, and which is not06:41
oansonBut I have to verify I understand the Neutron objects to be sure06:42
rajivkYou mean we have to create subports in neutron as well?06:43
rajivkneutron => dragonflow06:43
rajivkneutron port-create --name S1 N1 --subport:parent_id <T-id>06:53
rajivk--subport:vid 10 --subport:vid_type VLAN06:53
rajivkfor this command, may be we can add vlans to port only, don't create any port and add VLAN to port specified in parent_id(trunk port).06:55
openstackgerritHong Hui Xiao proposed openstack/dragonflow: Small refactor of dnat app  https://review.openstack.org/42169806:58
*** gongysh has quit IRC07:00
openstackgerritHong Hui Xiao proposed openstack/dragonflow: Small refactor of dnat app  https://review.openstack.org/42169807:11
*** yuval has joined #openstack-dragonflow07:29
oansonrajivk, sorry I disappeared. Yes, that looks about right07:30
openstackgerritMerged openstack/dragonflow: Documentation fixes for DHCP app  https://review.openstack.org/42146607:39
openstackgerritMerged openstack/dragonflow: Remove test for obsolete l3_openflow_app  https://review.openstack.org/42147107:39
openstackgerritMerged openstack/dragonflow: Updated from global requirements  https://review.openstack.org/42092807:55
*** gongysh has joined #openstack-dragonflow08:14
*** yamamoto has quit IRC08:17
*** gongysh has quit IRC08:46
*** yamamoto has joined #openstack-dragonflow09:07
openstackgerritYuli proposed openstack/dragonflow: Rename RyuNeighAdvertisementFilter class  https://review.openstack.org/42131509:11
*** yuval has quit IRC09:31
*** yamamoto has quit IRC09:34
*** yamamoto has joined #openstack-dragonflow09:36
*** yamamoto has quit IRC09:39
openstackgerritWangJian proposed openstack/dragonflow: Refactor port-status-update NB API  https://review.openstack.org/39691509:45
*** gongysh has joined #openstack-dragonflow09:46
openstackgerritDima Kuznetsov proposed openstack/dragonflow: [7/8] Introduce initial version of the new DbStore  https://review.openstack.org/41782409:59
openstackgerritDima Kuznetsov proposed openstack/dragonflow: [8/8] Refactor Chassis model  https://review.openstack.org/40701109:59
openstackgerritDima Kuznetsov proposed openstack/dragonflow: [6/8] Proposition of model definition and construction  https://review.openstack.org/41498410:00
openstackgerritDima Kuznetsov proposed openstack/dragonflow: [7/8] Introduce initial version of the new DbStore  https://review.openstack.org/41782410:00
openstackgerritDima Kuznetsov proposed openstack/dragonflow: [8/8] Refactor Chassis model  https://review.openstack.org/40701110:00
openstackgerritDima Kuznetsov proposed openstack/dragonflow: [1/8] Add namespace helper class  https://review.openstack.org/41781910:00
openstackgerritDima Kuznetsov proposed openstack/dragonflow: [3/8] Add model-proxy helpers  https://review.openstack.org/41782110:00
openstackgerritDima Kuznetsov proposed openstack/dragonflow: [2/8] Add basic framework for new DF models  https://review.openstack.org/41782010:00
openstackgerritDima Kuznetsov proposed openstack/dragonflow: [5/8] Add CRUD methods for new models to NbAPI  https://review.openstack.org/41782310:00
openstackgerritDima Kuznetsov proposed openstack/dragonflow: [4/8] Add custom field types for dragonflow models  https://review.openstack.org/41782210:00
*** gongysh has quit IRC10:11
*** yamamoto has joined #openstack-dragonflow10:55
*** yamamoto has quit IRC11:10
openstackgerritWangJian proposed openstack/dragonflow: Refactor port-status-update NB API  https://review.openstack.org/39691511:58
*** gsagie has joined #openstack-dragonflow12:40
*** gsagie has quit IRC13:31
openstackgerritHong Hui Xiao proposed openstack/dragonflow: Traceroute support  https://review.openstack.org/42191013:46
openstackgerritYuli proposed openstack/dragonflow: [WIP] Rally private Gate Project  https://review.openstack.org/42196714:32
openstackgerritYuli proposed openstack/dragonflow: [WIP] Rally Private Gate Project  https://review.openstack.org/42196714:33
*** gongysh has joined #openstack-dragonflow14:54
*** rajivk has quit IRC14:55
*** rajivk has joined #openstack-dragonflow15:09
*** openstack has joined #openstack-dragonflow15:21
*** lewo has joined #openstack-dragonflow15:22
*** xiaohhui has joined #openstack-dragonflow15:25
*** igordcard has quit IRC16:05
*** igordcard has joined #openstack-dragonflow16:07
*** gongysh has quit IRC16:23
*** lihi has quit IRC23:24
*** lihi has joined #openstack-dragonflow23:24

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!