Saturday, 2016-12-17

vikascivc_, pping00:00
ivc_vikasc pong00:00
vikascivc_, hi00:01
ivc_vikasc hey :)00:01
vikascivc_, This one is not 'noop'. I think it would be 'vlan_subport'.00:01
ivc_vikasc right00:02
ivc_vikasc you got noop there - one for os-vif plugin and another for vif_translators00:03
ivc_vikasc but for vif_translators you need a real thing that will convert neutron port dict into the VIF object00:04
vikascivc_, yep in the noop translator, i will create vif object reading subport type from config file , like 'vlan_subport'00:04
vikascivc_, like in ovs translator, ovs is being set as vif.plugin, similarly here i am thinking to set 'noop' as vif.plugin00:05
ivc_vikasc in ovs translator it's just a for convenience that vif_plugin in translator == vif.plugin. i already figured now that it might be confusing :)00:07
vikascivc_, "need a real thing" is needed for deciding vif type or something else?00:09
ivc_vikasc i think you can skip 'translators' part for now and just do the translation in Nested VIFDriver itself00:10
vikascivc_, this translator name is noop because it will set vif-plugin as 'noop'00:10
vikascivc_, why to skip?00:11
ivc_vikasc yeah, but vif_translator name is not vif.plugin; they are equal for 'ovs' but don't have to be00:11
ivc_vikasc we can move the translating code from Nested VIFDriver to the translator in a follow up00:12
vikascivc_, so may be 'nested_vif'?00:12
ivc_vikasc mostly because i have not researched what content is in sub-port dict returned by neutron client and if it will be enough to construct VIF object00:13
ivc_^ thats about 'why skip'00:13
vikascivc_, sub-port is same as neutron normal port00:14
ivc_vikasc no additional 'vlan' info there?00:14
vikascivc_, no00:14
vikascivc_, vlan kuryr-k8s has to allocate00:14
vikascivc_, we have logic for that already in kuryr-lib00:15
ivc_vikasc i mean that in VIF object you will have 'vlan_id' field00:15
vikascivc_, while requesting neutron to add this port as a subport, this sel allocated vlan_id will be passed to neutron00:15
ivc_vikasc thats another reason why vif_translator won't work for you i guess. i can't say for sure now00:17
ivc_vikasc thats why i suggested that you do everything in Nested VIFDriver. you can call utility functions from os_vif_util00:19
ivc_vikasc then when we have all the parts working we'll see if we can move some of them to vif_translator or maybe update vif_translator to do more than what it does now00:19
vikascivc_, ok..i am fine with this also00:20
ivc_vikasc vif_translator was designed to work with assumption that all the necessary information is present in port dict. i thought it would work for sub-ports because i expected sub-port dicts to have sub-port related info (i.e. vlan_id and parent port id), i thought they've implemented it as an extension00:22
vikascivc_, nope, parent port id will come from configuration and vlan_id kuryr has to allocate00:23
vikascivc_, cant we pass these parameters as nullables to translators00:23
vikascivc_, the one want to use, will use them00:24
ivc_vikasc https://github.com/openstack/neutron/blob/master/neutron/services/trunk/plugin.py#L4300:28
ivc_vikasc that's what i was referring to about 'port dict extension'00:28
ivc_vikasc the 'trunk_details' part of port00:29
ivc_vikasc i need to check how it actually works and what's there in neutron-client response00:32
vikascivc_, i will check and in case it supports then using nested translator make more sense.00:32
vikascivc_, i will complete it and lets take others opinion as well on using or skipping translator.00:33
vikascivc_, when i will test it, things will get more clear00:34
ivc_vikasc aye, so if you can't get enough info to build the VIF object from neutron-client response, just don't use the translator plugin system for now. i'll see what can be done about it00:34
ivc_vikasc the fact that it is merged does not mean we won't change it :)00:35
vikascivc_, sure00:35
vikascivc_, :)00:35
vikascivc_, what issue do you see in passing 'vlan_id' and 'parent_port_id' as nullables to translator api?00:38
ivc_vikasc you mean adding those as arguments?00:39
vikascivc_, yes00:39
ivc_vikasc it's special-casing00:39
ivc_i'd prefer if we avoid that00:39
vikascivc_,  its needed for all nested00:40
ivc_why do you need 'parrent_port_id' in VIF?00:41
vikascivc_, yeah, sorry not that00:41
vikascivc_, just segmentation_id00:41
ivc_vikasc yeah. well because it's not needed for non-nested :)00:43
vikascivc_, or may be i can update the vif with vlan_id in VIFdriver after getting vif00:43
ivc_vikasc that's an option00:43
vikascivc_, then no need to change translator api00:43
vikascivc_, i like this option00:44
ivc_vikasc yes, but it's a bit of a hack. we need to see how the 'whole picture' looks like and then we can decompose, thats why i suggested you skip the translator part for now00:45
ivc_vikasc i mean just leave either of 'TODO/FIXME/REVISIT' that says something along 'consider using vif_translators'00:46
vikascivc_, :D00:46
ivc_vikasc that should help us get something working without caring too much. think of it as PoC00:46
ivc_vikasc i normally try to follow 'make it work -> make it clean -> make it perfect' approach :)00:47
*** roeyc has quit IRC00:48
vikascivc_, i would prefer to do it with translator and then a 'TODO/FIXME/REVISIT' saying this is kind of a hack, consider decomposing00:48
vikascivc_, it will 'work', it is 'cleaner' than not using vif and later we will make it perfect00:49
vikascs/vif/vif-translator00:49
ivc_vikasc yeah sure. either way would work i think00:49
vikascivc_, thanks a lot Ilya!!00:49
vikascivc_, really appreciate00:49
ivc_vikasc np :)00:50
vikasctoday also you have not slept it seems00:50
vikasc:D00:50
vikascivc_, ^00:50
ivc_nah i'm normally up until early morning :)00:51
vikascyeah, i was not expecting you online when i pined00:52
vikasc:)00:52
vikascs/pinged00:52
ivc_its 6:30AM for you now, right? :)00:53
vikascyes00:53
vikasci wake up early00:53
*** tonanhngo has joined #openstack-kuryr00:53
ivc_and its saturday00:53
vikascyes :P00:53
*** tonanhngo has quit IRC00:54
ivc_:P00:54
ivc_hmm for some reason i don't see any 'trunk'-related commands in my devstack's neutron client CLI00:56
ivc_vikasc do we need to enable something to get 'vlan-aware-vms' trunk/subport in client?00:57
vikascivc_, you mean in devstack?01:04
vikascivc_, trunk service plugin is to be enabled01:04
ivc_vikasc i'm trying to figure out how to manage trunks from neutron cli. there are 'create_trunk'/etc. in python api01:05
vikascivc_,  to enable cli commands, plugin is to be enabled01:05
ivc_ah ok01:05
ivc_vikasc you got a local.conf for that?01:06
vikascivc_, looking for it01:06
vikascivc_, 1 sec01:07
vikascivc_, in neutron.conf, service_plugins = neutron.services.l3_router.l3_router_plugin.L3RouterPlugin,neutron.services.trunk.plugin.TrunkPlugin01:07
vikascivc_, and restart q-svc01:08
ivc_aye01:08
vikascivc_, going for a walk with my dog01:08
ivc_vikasc ok, ttyl01:09
*** yamamoto has joined #openstack-kuryr02:00
*** tonanhngo has joined #openstack-kuryr03:26
*** tonanhngo has quit IRC03:27
*** saneax is now known as saneax-_-|AFK03:32
*** reedip has quit IRC03:46
*** reedip has joined #openstack-kuryr04:00
*** yamamoto has quit IRC04:13
*** dougbtv_ has joined #openstack-kuryr04:19
*** yamamoto has joined #openstack-kuryr05:14
*** yamamoto has quit IRC05:18
*** tonanhngo has joined #openstack-kuryr06:53
*** tonanhngo has quit IRC06:54
*** tonanhngo has joined #openstack-kuryr06:54
*** tonanhngo has quit IRC06:55
*** tonanhngo has joined #openstack-kuryr06:55
*** tonanhngo has quit IRC07:00
*** dougbtv has quit IRC07:17
*** dougbtv_ has quit IRC07:18
*** saneax-_-|AFK is now known as saneax07:22
*** yamamoto has joined #openstack-kuryr09:08
*** yamamoto has quit IRC09:13
*** yamamoto has joined #openstack-kuryr09:15
*** dougbtv has joined #openstack-kuryr09:15
*** dougbtv_ has joined #openstack-kuryr09:17
*** apuimedo has quit IRC09:29
*** apuimedo has joined #openstack-kuryr09:30
*** yamamoto has quit IRC10:02
openstackgerritvikas choudhary proposed openstack/kuryr-kubernetes: [WIP] Add support for nested pods with Vlan trunk port  https://review.openstack.org/41057810:13
*** yamamoto has joined #openstack-kuryr11:03
*** yamamoto has quit IRC11:11
*** yamamoto has joined #openstack-kuryr11:17
*** yamamoto has quit IRC12:50
*** yamamoto has joined #openstack-kuryr13:06
*** saneax is now known as saneax-_-|AFK13:06
*** yamamoto has quit IRC13:29
*** yamamoto has joined #openstack-kuryr13:59
*** dimak has joined #openstack-kuryr14:34
*** dimak has quit IRC14:39
*** dimak has joined #openstack-kuryr14:52
*** dimak has quit IRC15:01
*** saneax-_-|AFK is now known as saneax15:09
*** dimak has joined #openstack-kuryr15:15
*** saneax is now known as saneax-_-|AFK15:17
*** dimak has quit IRC15:21
*** saneax-_-|AFK is now known as saneax15:29
*** dimak has joined #openstack-kuryr15:41
*** yamamoto has quit IRC16:11
*** yamamoto has joined #openstack-kuryr17:12
*** dimak has quit IRC17:16
*** yamamoto has quit IRC17:20
*** saneax is now known as saneax-_-|AFK17:44
*** david-lyle_ has joined #openstack-kuryr17:50
*** david-lyle has quit IRC17:51
*** dimak has joined #openstack-kuryr19:41
*** dimak has quit IRC21:00
*** hongbin has joined #openstack-kuryr21:34
openstackgerritHongbin Lu proposed openstack/fuxi: Separate unit tests from fullstack tests  https://review.openstack.org/40393123:11
openstackgerritHongbin Lu proposed openstack/fuxi: Add basic fullstack volume tests  https://review.openstack.org/40394123:11
*** saneax-_-|AFK is now known as saneax23:16
*** hongbin has quit IRC23:34

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