Hello,

here's progress of contrail-api-cli packaging:

- I have backported required dependencies to trusty, these packages are
  available in tcpcloud/extra [1]
  - python-prompt-toolkit
  - python-pathlib
  - python-wcwidth

- pull request of contrail-api-cli packaging [2]

- package itself can be built easily and is available in our APT
  repository [3]

- unfortunately it fails on tests run when built on Launchpad [4]
  I can't reproduce the issue on our CI, my workstation or even in clean
  build environment where it works just fine.
  Before this is solved, package won't be available on Launchpad.

Filip

---
[1] https://launchpad.net/~tcpcloud/+archive/ubuntu/extra
[2] https://github.com/eonpatapon/contrail-api-cli/pull/5
[3] http://apt.tcpcloud.eu/nightly/pool/tcp/c/contrail-api-cli/
[4] 
https://launchpadlibrarian.net/227438844/buildlog_ubuntu-trusty-i386.contrail-api-cli_0.1a2-0tcp2_BUILDING.txt.gz

On 2015/11/09 09:37, Filip Pytloun wrote:
> Hello,
> 
> I am currently playing a little with packaging of contrail-api-cli.
> Currently there are two dependencies not satisfiable in Ubuntu Trusty:
> 
>  - prompt_toolkit
>    (https://github.com/jonathanslenders/python-prompt-toolkit)
>  - pathlib (python3 backport, https://pypi.python.org/pypi/pathlib2/)
> 
> Both should be packaged easily.
> I will let you know when I finish packaging and send reviews ;-)
> 
> Ad. move to contrail-controller, I would prefer this tool to stay in
> separate repository instead of moving everything into
> contrail-controller.
> 
> Filip
> 
> On 2015/11/03 22:17, Hampapur Ajay wrote:
> > Hi Jean-Phillippe,
> > 
> > Thanks for the nice work on 
> > contrail-api-cli<https://github.com/eonpatapon/contrail-api-cli/>! 
> > Following up on queries during the presentation about possibility of other 
> > users to leverage this work, would you be interested in hosting this on the 
> > main contrail-controller 
> > repo<https://github.com/Juniper/contrail-controller/>? This way it will be 
> > easy to bundle into debian/rpm package, follow the branching and leverage 
> > CI on this repo.
> > 
> > I do have some suggestions/queries based on some similar draft 
> > work<https://gist.github.com/ajayhn/ed2dd82acf1c1c7af399> I had done.
> > 1. Could we have a command passed to the program and have it return output 
> > in stdout. this way using bash(or your favorite shell) we can process with 
> > pipes + sed/awk etc. (see the examples in gist above)
> > 2. If we could also incorporate cmd2<https://pythonhosted.org/cmd2/> into 
> > your work and get its associated benefits like transcript-based testing etc.
> > 3. We could in future also have a ‘mount’ like concept with an associated 
> > file-system(backed by api) such that if you 'ls /neutron/network/<uuid>' or 
> > 'ls /nova/vm/<uuid>’ the neutron/nova api can be used to manipulate data.
> > 
> > Thanks
> > ajay
> > 
> 
> > _______________________________________________
> > Dev mailing list
> > [email protected]
> > http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org
> 



> _______________________________________________
> Dev mailing list
> [email protected]
> http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Dev mailing list
[email protected]
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org

Reply via email to