Manuel,

Did this resolve your issue?  Thanks.

David

On Wed, Feb 21, 2018 at 2:49 AM, Manuel Buil <mb...@suse.com> wrote:

> Hi Juha,
>
> Thanks! We will try today :)
>
> Regards,
> Manuel
>
> On Wed, 2018-02-21 at 10:35 +0000, Kosonen, Juha (Nokia - FI/Espoo) wrote:
>
> Hi Dimitris & Manuel
>
>
> The name of credential file was changed few weeks back (
> https://gerrit.opnfv.org/gerrit/#/c/51283/), the new name is "env_file" (
> https://wiki.opnfv.org/pages/viewpage.action?pageId=13211751).
>
> As a such CONST is still there but you need to change
>
> os_env_file=CONST.__getattribute__('openstack_creds')
>
> to
>
> os_env_file=getattr(CONST, 'env_file')
>
>
> Regards,
>
>         JK
>
> ------------------------------
> *From:* opnfv-tech-discuss-boun...@lists.opnfv.org <
> opnfv-tech-discuss-boun...@lists.opnfv.org> on behalf of Manuel Buil <
> mb...@suse.com>
> *Sent:* Wednesday, February 21, 2018 11:43
> *To:* OPNFV-TECH-DISCUSS OPNFV
> *Subject:* [opnfv-tech-discuss] Problems with sfc - functest integration
> (mater branch)
>
> Hey functest guys,
>
> We need again help with funcetst-sfc integration because there is
> something broken now related to the removal of the CONST module from
> your repo. This is our script:
>
> https://github.com/opnfv/sfc/blob/master/sfc/lib/openstack_utils.py
>
> In that script, we used to fetch several things with
> CONST.__getattribute__:
>
> os_env_file=CONST.__getattribute__('openstack_creds'))
> CONST.__getattribute__('EXTERNAL_NETWORK')
> CONST.__getattribute__('OS_AUTH_URL')
> CONST.__getattribute__('OS_PASSWORD')
>
> We tried to "s/CONST.__getattribute__/env.get" but
> env.get('openstack_creds') returns None.
>
> We were checking your patch:
>
> https://gerrit.opnfv.org/gerrit/#/c/52221/4
>
> And we realized that some of those parameters are now gone, so we
> wondered how should we do it now. We were checking your documented API:
>
> http://functest.readthedocs.io/en/latest/apidoc/functest.html
>
> However, we cannot see the functest.utils package there (CONST and env
> belong to that), so we are a bit lost about what needs to be changed on
> our side. We guess we must be using the functest API again in a
> wrong/not-supported-anymore way :(. Any link or any explanation which
> shows us how to do it properly will be appreciated.
>
> Thanks,
> Dimitris & Manuel
> _______________________________________________
> opnfv-tech-discuss mailing list
> opnfv-tech-discuss@lists.opnfv.org
> https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss
> opnfv-tech-discuss Info Page
> <https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss>
> lists.opnfv.org
> This list is for general technical discussion about OPNFV. It’s open to
> anyone to join. If you have any questions, please contact Ray Paik at
> rp...@linuxfoundation.org.
>
>
> _______________________________________________
> opnfv-tech-discuss mailing list
> opnfv-tech-discuss@lists.opnfv.org
> https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss
>
>


-- 
*David McBride*
Release Manager, OPNFV
Mobile: +1.805.276.8018
Email/Google Talk: dmcbr...@linuxfoundation.org
Skype: davidjmcbride1
IRC: dmcbride
_______________________________________________
opnfv-tech-discuss mailing list
opnfv-tech-discuss@lists.opnfv.org
https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss

Reply via email to