Monday, 2016-04-04

*** bobh_ has joined #tacker00:21
*** prashantD has joined #tacker02:02
*** prashantD_ has joined #tacker02:03
*** bobh_ has quit IRC02:04
*** prashantD has quit IRC02:06
*** sridhar_ram has joined #tacker02:35
*** sridhar_ram1 has joined #tacker02:38
*** sridhar_ram has quit IRC02:40
*** tbh has joined #tacker02:50
*** prashantD_ has quit IRC03:24
*** prashantD has joined #tacker03:25
*** tbh has quit IRC03:28
openstackgerritSridhar Ramaswamy proposed openstack/python-tackerclient: Cleanup copyright header  https://review.openstack.org/29789103:31
*** tbh has joined #tacker03:38
*** tbh has quit IRC03:57
*** bobh_ has joined #tacker04:05
*** bobh_ has quit IRC04:11
*** sridhar_ram1 has quit IRC04:36
*** uck has joined #tacker04:39
*** uck has quit IRC04:40
*** Shahid_ has joined #tacker04:47
*** amotoki has joined #tacker05:11
*** amotoki has quit IRC05:18
*** prashantD has quit IRC05:34
*** bobh_ has joined #tacker06:07
*** bobh_ has quit IRC06:12
*** mbound has joined #tacker06:32
*** mbound has quit IRC06:32
*** Shahid_ has quit IRC07:15
*** janki91 has joined #tacker07:39
*** zeih has joined #tacker07:52
*** janki91 has quit IRC07:57
*** Shahid_ has joined #tacker08:19
*** zeih has quit IRC08:21
*** zeih has joined #tacker08:33
*** mbound has joined #tacker08:42
*** mbound has quit IRC08:55
*** mbound has joined #tacker09:04
*** zeih has quit IRC09:33
*** bobh_ has joined #tacker10:09
*** zeih has joined #tacker10:12
*** bobh_ has quit IRC10:13
*** zeih has quit IRC10:27
*** openstackgerrit has quit IRC10:48
*** openstackgerrit has joined #tacker10:49
*** Shahid_ has quit IRC10:52
*** zeih has joined #tacker10:54
*** Shahid_ has joined #tacker11:30
*** zeih has quit IRC12:02
*** bobh_ has joined #tacker12:10
*** zeih has joined #tacker12:13
*** bobh_ has quit IRC12:17
*** bobh_ has joined #tacker12:19
*** bobh_ has quit IRC12:25
*** uck has joined #tacker12:37
*** mbound has quit IRC12:40
*** mbound has joined #tacker13:14
*** mbound_ has joined #tacker13:19
*** mbound has quit IRC13:22
*** mbound_ has quit IRC13:59
*** bobh_ has joined #tacker14:03
*** Shahid_ has quit IRC14:14
*** mbound has joined #tacker14:23
*** uck has quit IRC14:32
*** vishwanathj has joined #tacker15:03
*** sripriya has joined #tacker15:44
*** lhcheng has joined #tacker15:48
*** amotoki has joined #tacker15:48
*** vishnoianil has quit IRC15:49
*** prashantD has joined #tacker15:53
*** zeih has quit IRC15:54
*** uck has joined #tacker16:16
*** vishnoianil has joined #tacker16:21
*** igordcard_ has quit IRC16:34
*** igordcard has joined #tacker16:35
*** igordcard has quit IRC16:35
*** igordcard has joined #tacker16:36
*** igordcard has quit IRC16:36
*** igordcard has joined #tacker16:37
*** igordcard has quit IRC16:41
*** igordcard has joined #tacker16:47
*** vishnoianil has left #tacker16:48
*** igordcard has quit IRC16:50
*** igordcard has joined #tacker16:50
*** sripriya has quit IRC16:57
*** bharath has joined #tacker16:58
*** igordcard has quit IRC17:02
*** bharath has quit IRC17:03
*** zeih has joined #tacker17:23
*** amotoki has quit IRC17:23
*** sridhar_ram has joined #tacker17:26
*** sripriya has joined #tacker17:27
*** deterrak_ has joined #tacker17:31
deterrak_what log files should I look at when onboarding a VNF fails?17:32
deterrak_?17:40
sripriyadeterrak_: you can take a look at tacker.log file to see the error17:42
deterrak_here is the error that I get.17:49
deterrak_2016-04-04 13:17:45.796 WARNING tacker.vm.drivers.heat.heat [-]17:49
deterrak_is there a heat log file?17:49
*** s3wong has joined #tacker17:51
sripriyadeterrak_: i do not see the full error here, can you use a paste link to share the error?18:00
sripriyadkushwaha: ping18:02
dkushwahasripriya, hi.18:05
sripriyadkushwaha: the comment was for the commit msg title reg: https://review.openstack.org/#/c/298630/18:06
dkushwahasripriya, oh,18:07
dkushwahasripriya, ok, I will fix it18:07
sripriyadkushwaha: can you do a quick respin, it is good to go otherwise.18:07
sripriyadkushwaha: thanks18:08
openstackgerritdharmendra kushwaha proposed openstack/tacker: Remove unused attach/detach interface method.  https://review.openstack.org/29863018:08
dkushwahasripriya, I have a query regarding odl. Is odl support flat network?18:10
deterrak_Isee that the log got truncated... here is the 2nd relevant line: Resource creation is not completed within 50 seconds as creation of Stack fc88c667-8e24-4fa0-9418:14
sripriyadkushwaha: i'm afraid i dont know the answer, we usually have our odl expert vishnoianil in the channel who could help with your question, i do not see him now :-)18:15
dkushwahasripriya, Ok, I will ping him, Thanks for your response. :-)18:18
sripriyadeterrak_: which release of openstack are your running?18:19
deterrak_it is a devstack. I've edited local.conf to pull the stable/mitaka git branch. I left the defauls for the openstack components which are milestone-proposed.18:23
*** mbound has quit IRC18:25
sripriyadeterrak_: your error implies the stack creation took more than 50 seconds to complete, the default wait time out was increased to 300 seconds before giving up in tacker.conf for stack_retries and stack_retry_wait18:26
sripriyadeterrak_: can you verify that18:26
sridhar_ramdeterrak_: fyi, the fix sripriya mentioned is available in mitaka .. but not in liberty18:38
sridhar_ramsripriya:  I think we shd cherrypick the fix https://review.openstack.org/#/c/251565/ to stable/liberty ?18:39
*** uck_ has joined #tacker18:47
*** uck has quit IRC18:47
sripriyasridhar_ram: agree19:11
sripriyasridhar_ram: i'll take an AI to cherrypick to liberty19:14
sridhar_ramsripriya: thx!19:17
*** mbound has joined #tacker19:25
*** zeih has quit IRC19:29
*** mbound has quit IRC19:30
deterrak_in /etc/tacker/tacker.conf I modified [servicevm_heat]; stack_retries = 10 --to-- stack_retries = 60. tried to deploy VNF and I get a new error.19:36
deterrak_  File "/opt/stack/tacker/tacker/vm/plugin.py", line 179, in add_device_to_monitor device_dict, action_cb) ### I am not specifying a monitor rule in the vdnf file.19:37
*** uck_ has quit IRC19:54
dkushwahaHi, I am trying to test tacker with ODL. Can anybody please let me know, how can I integrate to ODL with Tacker.19:58
*** trozet has quit IRC20:07
sripriyadeterrak_: can  you share your vnfd template? also it will be helpful if you paste the full trace of the error to debug20:08
*** uck has joined #tacker20:14
*** trozet has joined #tacker20:16
trozetdkushwaha: you could use my walkthrough?20:17
trozetsridhar_ram: ping?20:17
sridhar_ramtrozet: pong20:17
trozetsridhar_ram: did you happen to see my emails about making the VNFFG extension more vnffg-like ;) ?20:18
sridhar_ramtrozet: is this in the thread that anil started ?20:18
trozetsridhar_ram: no I sent it on Friday, for some reason it didn't go to you, so i re-copied you on it today20:19
sridhar_ramdkushwaha: Basic ODL integration involves getting Neutron to use ODL ML2 plugin. I'd suggest you to start with that first20:19
trozetsridhar_ram: but the suggestion I had is we make the VNFFG act more like a real vnffg20:19
sridhar_ramtrozet: I haven't seen the email yet.. I took Friday off and was traveling last 3 days20:20
* sridhar_ram is searching for that email...20:21
trozetsridhar_ram: Re: [opnfv-tech-discuss] [SFC] Creating non-linear SFC20:22
sridhar_ramtrozet: ah, opnfv filters should've caught it..20:22
trozetsridhar_ram: VNFFG is really defining a graph, where you can have multiple paths through20:22
trozetsridhar_ram: translating the ETSI VNFFG idea to IETF SFC, its really multiple classification and chains20:22
trozetsridhar_ram: so what I'm thinking is using the TOSCA template definitions for VNFFG and using those as the main input to the VNFFG extension, then the VNFFG extension figures out what classifiers and chains to create to the driver to assemble the VNFFG20:23
sridhar_ramtrozet: understood.. found that email thread. I would've missed it.. thanks for the poke20:23
trozetsridhar_ram: i think the extension is better served doing that.  It adds some real orchestration value there20:25
sridhar_ramtrozet: that would be awesome if we can go directly to VNFFG TOSCA template support and have it map to underlying SFC construct. As I've stated before, that's the ultimate goal..20:25
trozetsridhar_ram: right its that + being able to define the VNFFG and rendering it below as multiple chains and classifiers to create the full graph20:25
dkushwahatrozet, I didn't get that mail, gould you please forward me20:26
trozetsridhar_ram: going over the TOSCA this morning I had some questions about the way the VNFD was done in Tacker20:26
sridhar_ramtrozet: shoot20:26
trozetdkushwaha: https://github.com/trozet/sfc-random/blob/master/tacker_sfc_walkthrough.txt20:26
trozetsridhar_ram: so when I look at the sample vnfd: https://github.com/openstack/tacker/blob/master/devstack/samples/sample-vnfd.yaml20:27
dkushwahatrozet, thanks20:27
trozetsridhar_ram: pkt_in, pkt_out, those aren't defined as real tosca VND attributes are they?20:27
sridhar_ramtrozet: no20:27
sridhar_ramtrozet: btw..20:27
sridhar_ramtrozet: .. that sample you showed is using a old syntax, we will deprecate that in Newton20:28
trozetsridhar_ram: according to the NS/VNFFG part, I need to grab connection points, then assign them to "virtual links" which are really L2 networks20:28
sridhar_ramtrozet: the new TOSCA template sample would look like https://github.com/openstack/tacker/blob/master/devstack/samples/sample-tosca-vnfd.yaml20:28
trozetsridhar_ram: ah!20:29
sridhar_ramtrozet: :)20:29
trozetsridhar_ram: this makes a lot more sense with what i just said in ^^^20:29
sridhar_ramtrozet: to provide you some context.. in tacker Mitaka we cut over to use proper TOSCA parser and support portions of TOSCA NFV Profile20:30
trozetsridhar_ram: yeah i was going to ask you how I would reference the VL and CP of a VNF, now i know20:30
sridhar_ramtrozet: in fact, we had to "fix up" few things in the TOSCA spec which are not implementation like VDU, VL, CP..20:31
sridhar_ramtrozet: we stayed away from VNFFG portion of the TOSCA template in Mitaka as we wanted to get the basic correct / in place first20:31
sridhar_ramtrozet: a new version of TOSCA NFV profile spec is going to come out in few weeks.. with changes suggested by Tacker20:32
sripriyadkushwaha: ping20:32
trozetsridhar_ram: nice20:32
trozetsridhar_ram: this really helps20:32
deterrak_Traceback (most recent call last):20:32
sridhar_ramnow that we have done the, this is a good time to venture into VNFFG :)20:32
trozetsridhar_ram: so then are these changes to the template already reflected in the master code DB?20:32
s3wongsridhar_ram: is there VNFFG definition already for TOSCA?20:32
trozetsridhar_ram: becaues I will need to query VNFM for a VNF's CP and VL20:32
s3wongsridhar_ram: from here  http://docs.oasis-open.org/tosca/tosca-nfv/v1.0/csd01/tosca-nfv-v1.0-csd01.pdf , I see a blank page20:33
trozets3wong: yeah here http://docs.oasis-open.org/tosca/tosca-nfv/v1.0/tosca-nfv-v1.0.pdf20:33
*** deterrak_ has quit IRC20:33
trozets3wong, : yeah it was missing now its added20:33
sridhar_ramtrozet: master (and stable/mitaka) has the latest TOSCA parser code..20:33
dkushwahasripriya, hello20:33
s3wongtrozet: I see20:34
sridhar_ramtrozet: s3wong: what you mean by missing ? It was always there... but I couldn't vouch for its "implementability" :)20:34
sridhar_rams3wong: trozet: we want to do that exercise in Newton20:34
trozetsridhar_ram: it used to be incomplete when you scrolled down to VNFFG section it was empty20:35
sripriyadkushwaha: https://bugs.launchpad.net/tacker/+bug/1551910 it was previously assigned to another dev, you may want to just let the person know that you took the ownership to fix the bug20:35
openstackLaunchpad bug 1551910 in tacker "Remove device related abstractmethods attach interface and detach interfaces" [Low,In progress] - Assigned to dharmendra (dharmendra-kushwaha)20:35
s3wongsridhar_ram: see above link --- it was a blank page20:35
sridhar_ramtrozet: in short, are you proposing to NOT to expose tacker vnffg-xyz as APIs ... instead just go towards support VNFFG as a TOSCA template only ?20:35
s3wongsridhar_ram: I would imagine the current TOSCA-parser doesn't have support for VNFFG related objects/ types?20:36
sridhar_rams3wong: no, it doesn't20:36
trozetsridhar_ram: no, I would still like to give users the option to create their own chains via the CLI already proposed, but I will also add the capability to create graphs via TOSCA input20:36
trozetsridhar_ram: i think inputting a graph by hand in CLI is going to be too complicated20:37
sridhar_ramtrozet: absolutely, that's a no go20:37
s3wongagree with trozet here --- I think we absolutely still need APIs20:37
trozeti think we can still allow for20:37
trozettacker chain-create20:37
trozetthen tacker vnffg-create (tosca input only)20:37
trozetif you create vnffg I go parse all the VNFs VL's CPs, and build up the graph, then figure out how many chains and classifiers to render down as chain create calls to the driver20:38
trozetthat to me provides a lot of value add to the extension20:38
sridhar_ramtrozet: I'm fine taking up the VNFFG TOSCA template support .. but we should avoid providing multiple ways of doing the same thing20:38
s3wongtrozet: just read couple emails from the OPNFV thread you mentioned above (thanks for copying me at the first email). Seems like ODL SFC doesn't have support for graph20:39
trozets3wong: yeah but we can do it as individual building block chains20:39
s3wongtrozet: so in Tacker VNFFG common plugin code, you would need to manage all the chains20:39
trozets3wong: exactly20:39
s3wongtrozet: as the matter of fact, we would need to do that anyway as networking-sfc doesn't (and won't) have graph support20:40
trozets3wong: that was my next question.. networking-sfc :)20:40
trozets3wong: ok cool well ill fix up the spec tonight to account for this and let you guys know when its pushed20:41
trozets3wong: I think its more work, but it's the right way to do it and adds a lot more value20:41
s3wongtrozet: and since for OpenStack, Tacker VNFFG links directly with networking-sfc, at least for the VNFFG implementation for OpenStack, we would need to maintain the graph20:41
s3wongtrozet: agreed20:41
dkushwahasripriya, When i fixed issue, I didn't know that any bug is already logged related to the same. But yes, I should inform. Ok I will take care about it in future20:41
s3wongtrozet: also highlights Tacker's value greatly in the context of forwarding graphs20:41
sripriyadkushwaha: thanks20:42
sridhar_ramtrozet: if tacker vnffg-create can still create a singe chain.. satisfy the need for what 'tacker chain-create' why do I need to support the later ?20:42
sridhar_ramtrozet: a single chain is just a special case of a graph20:43
trozetsridhar_ram: its different, a graph can have multiple branching strategies20:43
trozetsridhar_ram: it gets more complex, so VNFFG would have to break down the graph and figure out the individual chains it needs to create to build the graph20:44
sridhar_ramtrozet: agree, that part make sense but ...20:44
trozetsridhar_ram: a user could go build all of those chains individually20:44
trozetsridhar_ram: with just the chain create command20:44
sridhar_ramtrozet: .. once you've that why do you need a single chain create API exposed to Tacker user ?20:44
s3wongsridhar_ram: wouldn't a graph be more cumbersome to create than an individual chain?20:45
trozetsridhar_ram: oh, you dont really.  I just wanted to keep it as a simple way to create a chain20:45
trozetsridhar_ram: but the value of keeping the single chain create is we validate the VNF exists and grab its neutron ports rather than telling networking-sfc directly to make a chain from neutron ports20:45
sridhar_rams3wong: my assumption is simple, single chain graph's template will be simple20:46
sridhar_ramtrozet: sure, there is value .. for it to be internally used but my concern, again, is exposing two ways of doing the same thing..20:47
sridhar_ramtrozet: this is what I had in mind...20:47
* s3wong is still reading the VNFFG TOSCA template spec20:47
sridhar_ramwe will introduce tacker vnffg API in the first release.. wire it to an underlying low-level SFC like networking-sfc or ODL ..20:47
sridhar_ram.. get some feedback and then..20:47
sridhar_ram.. introduce VNFFG TOSCA template support and ..20:48
sridhar_ram... deprecate the vnffg-API in favour of TOSCA template20:48
trozetsridhar_ram: so the new vnffg API would then just take the argument --template and remove --chain20:49
sridhar_ramyeap.. we could skip exposing the API and directly do template support..20:49
trozetsridhar_ram: ok I see your point, but I still run into problems now with the changes to VNFD20:50
sridhar_ram.. there will be some work in fixing up TOSCA VNFFG template to make it usable (based on my experience)20:50
trozetsridhar_ram: because before I assumed I would know VNF ingress and egress from those pkt_in, pkt_out values20:50
sridhar_ramtrozet: lets unblock you first ..20:50
trozetsridhar_ram: but now you are using VL and CP :)20:50
trozetsridhar_ram: so I can't make assumptions if someone just says make me a chain with VNF1 and VNF220:51
trozetsridhar_ram: assumptions about which ports they want me to use and which are ingress/egress20:51
sridhar_ramtrozet: frankly, this is a good problem to have..20:51
trozetsridhar_ram: hehe20:51
trozetsridhar_ram: which makes me think i should just go implement the tosca template itself20:51
sridhar_ramold template is sooo ad-hoc..20:51
sridhar_ramhere is a suggestion..20:51
* sridhar_ram is looking up something20:51
trozetsridhar_ram: what I could do is just implement VNFFG tosca, but only support a single chain and not a complex graph as the first iteration20:53
s3wongtrozet: we (VNFG side) becomes more dependent on VNFM side --- we need to look up CP -> neutron port mapping, right?20:53
trozets3wong: yeah20:53
trozets3wong: and the VL I think20:53
sridhar_ramtrozet: yes, that's an option..20:53
sridhar_ramtrozet: can you clarify how you plan to use ingress / egress, pkt_in / pkt_out ?20:54
s3wongtrozet: VL maps to a Neutron network?20:54
sridhar_ramtrozet: do they go out as metadata to ODL - SFC ?20:54
trozets3wong: yeah20:54
trozetsridhar_ram: no I need to know the ingress and egress ports of a VNF20:54
trozetsridhar_ram: the beauty of the POC CLI is you just provide a VNF instance20:54
trozetthen I go and figure out the neutron ports20:55
trozetonce I have those ports, I can go query ODL's topology map20:55
trozetODL's topo map has the ports in there and which OVS instance they are on20:55
trozetso then I can build the chain20:55
s3wongtrozet: how do you know which of an VNF's ports are ingress vs egress for a particular chain?20:55
sridhar_ramdoes that apply to a broad stroke of VNFs ? I assume it would ..20:56
trozets3wong: the old sample_vnfd provided a pkt_in, and pkt_out network type20:56
trozets3wong: so i could leverage that :)20:56
sridhar_ramtrozet: for NSH based chaining, can the ingress and egress be the same neutron port ?20:56
s3wongtrozet: unidirectional VNFs :-)20:56
trozetsridhar_ram: yup, in the POC its a single port per vnf to keep it simple20:56
trozetsridhar_ram: i actually hack it to use the mgmt_network :)20:57
s3wongtrozet: I sort of noticed that in your plugin code too, you just looked up one port :-)20:57
trozets3wong: dont tell anybody :)20:57
trozetsridhar_ram, s3wong: https://github.com/trozet/sfc-random/blob/master/test-vnfd.yaml20:57
s3wongsridhar_ram: one arm insertion is very common --- networking-sfc asks that you put that one port into both elements of the port-pair20:57
sridhar_ramtrozet: so if it is single neutron port, what use for pkt_in & pkt_out then20:58
sridhar_rams3wong: yeah, I noticed that usage..20:58
trozetsridhar_ram: well thats how I was going to implement it upstream, because I thought that's what you guys used to define ingress/egress20:58
trozetsridhar_ram: but now that you are using the proper TOSCA definitions...I'm thinking I should as well :)20:58
sridhar_ramtrozet: absolutely..20:59
trozetsridhar_ram: so you think writing it to parse a complex graph is too much for the first iteration of the spec, and save that for a follow up?20:59
sridhar_ramneedless to say I bit confused now :)20:59
s3wongtrozet, sridhar_ram: we can perhaps do some simple parsing of VNFFG in Tacker; once it stabilizes we can contribute the code back to tosca-parser20:59
trozetsridhar_ram: focus on a single chain defined graph now, with proper TOSCA templates?20:59
trozets3wong: is tosca-parser not part of Tacker?21:00
sridhar_ramtrozet: I'd definitely suggest that approach21:00
s3wongtrozet: no21:00
sridhar_rams3wong: +121:00
s3wongtrozet: it is another OpenStack project. Tacker is an user21:00
trozetsridhar_ram: makes sense to me, s3wong what do you think?21:00
sridhar_ramtrozet: trosca-parser is a library that tacker consumes...21:01
s3wongtrozet: +121:01
trozetok21:01
sridhar_ramI've specific question.. if it is a single vNIC / NSH aware ..21:01
trozetsridhar_ram, s3wong: so then how would I parse the TOSCA for vnffg, parse it myself?21:01
sridhar_ram.. do you still need to mark ingress / egress ?21:01
trozetsridhar_ram: I think for networking-sfc you do21:02
s3wongtrozet: you need to write the parsing code in Tacker directly21:02
trozets3wong: you guys used to parse the tosca yourselves right?  Anything there I could leverage?21:03
sridhar_ramtrozet: how about for ODL ?21:03
s3wongsridhar_ram and bobh_ can correct me if I am wrong --- but I believe we still parse TOSCA elements in Tacker21:04
s3wongtrozet: for example, monitoring21:04
sridhar_rams3wong: yes..21:04
s3wongtrozet: so extend that code to consume VNFFG TOSCA elements / objects in Tacker before sending a clean, fully standard based TOSCA template to tosca-parser21:05
sridhar_ramwe can introduce tacker specific node_types in Tacker and then push to tosca-parser .. or the other way around, send the requirement to tosca-parser and have it implement it in the next dot release. For VNFFG support I'd suggest you to explore working with tosca-parser first and use it in Tacker.21:06
trozetsridhar_ram: for ODL you specify a "data plane locator" which tells ODL how to find the VNF, you can specify more than one, but im not sure how you identify ingress/egress21:06
trozetsridhar_ram: I'll ask Brady or you can in Wed. SFC meeting21:06
sridhar_ramtrozet: okay.. will wait for an answer. the suggestion to unblock is use a new property in CP similar to the "management: true"21:07
trozetsridhar_ram, s3wong: ok thanks.  I'll update the spec either tonight or tmrw and include what we just went over21:07
sridhar_ramtrozet: https://github.com/openstack/tacker/blob/master/devstack/samples/sample-tosca-vnfd.yaml#L2421:07
s3wongsridhar_ram: the logic of building graph is in our side, so tosca-parser would translate stuff into HOT template, and do we need to expose resources to Heat?21:08
trozetsridhar_ram: well if I go with the TOSCA VNFFG i dont need to worry about any of that, becuase a user defines a forwarding path in the TOSCA21:08
sridhar_rams3wong: tosca-parser and heat-translator are related but separate project21:08
trozetsridhar_ram: which is an ordered list of CPs21:08
trozetsridhar_ram: so I don't have to make any assumptions :)21:08
s3wongsridhar_ram: I see :-)21:08
sridhar_ramtrozet: perfect..!21:09
trozetsridhar_ram: ok thanks guys, my daughter is waking up from her nap so I need to go tend to her.  I'll let you know when the spec is updated.  Thanks for hte input21:09
sridhar_ramtrozet: we got to change the scope of your blueprint to orient toward VNFFG template support21:09
sridhar_ramtrozet: go grab her... ! ttyl21:10
sridhar_ramgood discussion21:10
trozetlater :)21:10
s3wongtrozet: have fun! Attend to your daughter!21:10
sripriyasridhar_ram: bobh_: are we planning to handle fixed_ips and port_security_enabled properties for neutron port in tosca templates?21:31
sridhar_ramsripriya: yes, those needs to be supported. if not we need to raise bugs to fix them21:32
sripriyasridhar_ram: ok, i will go ahead and raise bugs21:32
sridhar_ramsripriya: thx!21:33
sripriyasridhar_ram: does that also mean we need to provide the fix in heat translator code or should we wire those in Tacker?21:33
bobh_sridhar_ram: we should be able to add them to the Tacker port definition and they should get copied into the Port object by heat-translator21:33
bobh_sridhar_ram: emphasis on "should" - let me check the heat-translator code quick21:33
sripriyabobh_: ok21:34
bobh_sridhar_ram: sripriya:  ip_address is already handled so it may be a property of the Port object already21:37
bobh_sripriya: sridhar_ram: any other properties that are added will be supported automatically by the code21:38
sridhar_rambobh_: you mean, any other "tosca.network.Network" property, correct21:39
sridhar_ram?21:39
sripriyabobh_: so i just add the 2 new properties under VL1 section in TOSCA template?21:39
bobh_sridhar_ram: The heat-translator code will map any property that it finds on the tosca.network.network.Port object into the OS::Neutron::Port21:40
sridhar_rambobh_: soooo future proof ;-)21:41
bobh_tosca.network.Network.Port already has an ip_address property that can be used with no changes21:41
bobh_sridhar_ram: something like that21:41
bobh_sridhar_ram: I thought I added the mapping for port_security_enabled already?21:42
sridhar_rambobh_: that's what I thought for static ip-address, this should should be some documentation and sample tosca template work.. still worth adding a functtional gate test21:42
* sridhar_ram thinks we need a running list of func gate tests to add at regular clip21:42
bobh_we already support mapping anti_spoofing_protection to port_security_enabled21:50
sridhar_rambobh_: you did, looks you just converting 'anti_spoof_protection' -> 'port_security_enabled' in https://github.com/openstack/tacker/blob/master/tacker/vm/tosca/utils.py#L6621:51
sridhar_rambobh_: so it should work.. and again if for any reason it doesn't we need a bug to go after and fix it21:52
bobh_sridhar_ram: yup21:52
bobh_sridhar_ram: should probably have a test for that scenario anyway21:52
sridhar_ramwhat do folks think about have a laundry list of func tests to add ? creating launchpad rfe bug is cumbersome21:54
sripriyasridhar_ram: shouldnt we add anti_spoof_protection for all CPs anyways?21:54
*** santoshk has joined #tacker21:58
sripriyasridhar_ram: we have been creating functional tests rfes on demand per feature, it will be good to create individual rfes for each of the scenarios. whoever is interested can take it up later22:00
sridhar_ramsripriya: that's sure is an option. I was thinking even a simple etherpad to maintain a list to go after22:01
sridhar_ramand call it our in our weekly meeting22:01
sripriyasridhar_ram: sure, we can later create rfes to add those individual cases22:02
sripriyabobh_: port_security_enabled works fine, just verified it22:15
bobh_sripriya: cool - thanks!22:15
sripriyabobh_: for the fixed_ips , i need to add it under CP1 properties similar to port_security?22:15
bobh_If you specify ip_address as a property on the CP object it should get mapped to fixed_ips automagically22:16
sripriyabobh_:toscaparser complains as UnKnownFieldError22:17
bobh_sripriya: let me look22:17
bobh_tosca.nodes.network.Port should accept ip_address, order, is_default, ip_range_start and ip_range_end as properties22:19
bobh_tosca.nodes.nfv.CP is derived from tosca.nodes.network.Port and adds the "type" property22:19
bobh_tosca.nodes.nfv.CP.TAcker is derived from tosca.nodes.nfv.CP and adds the management and anti_spoofing_protection properties22:20
bobh_sripriya: so if tosca-parser won't accept the tosca.nodes.network.Port properties that's a bug - I may know what the problem is22:21
bobh_sripriya: can you check the order and is_default properties and see if it has the same complaint?22:21
sripriyabobh_: ok let me check that22:22
sripriyabobh_: works fine for is_default22:24
sripriyabobh_: what does order property signify?22:24
bobh_sripriya: NIC order22:24
bobh_sripriya: I think it starts at 0 but I could be wrong22:24
sripriyabobh_: ok22:25
sripriyabobh_: works fine for order as well22:25
bobh_sripriya: interesting - sounds like a bug, there is an attribute defined for ip_address too - I wonder if the name conflict causes a problem in tosca-parser22:28
*** deterrak has quit IRC22:32
*** bobh_ has quit IRC22:33
*** prashantD_ has joined #tacker23:28
*** prashantD has quit IRC23:29
*** bobh_ has joined #tacker23:38
bobh_sripriya: ping23:56
sripriyabobh_: pong23:57
bobh_sripriya: I was just trying the ip_address property in tosca-parser and couldn't get it to fail23:57
bobh_sripriya: I'm just using tosca-parser and not tacker so that may be the cause23:57
sripriyabobh_: yes, i was giving the fixed_ips instead of ip_address that is why it was throwing the error, once i updated, the template parser went fine however heat translator now complains it needs to be an integer for ip. but tosca parser takes ip addr as string23:58
bobh_sripriya: interesting - it should be a string - do you have the heat-translator backtrace?23:59
sripriyabobh_: yup, i was just debugging that. give me a moment23:59

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