Improved Primitive support and better testing 94/6394/1 BUILD_v4.0.1_2
authorAdam Israel <adam.israel@canonical.com>
Thu, 2 Aug 2018 19:32:00 +0000 (15:32 -0400)
committerAdam Israel <adam.israel@canonical.com>
Thu, 2 Aug 2018 19:34:51 +0000 (15:34 -0400)
commitb09436613925b2eb334c10f219b743868e4b3fe5
tree0a096012dca203b727b09f174fb2e36cb85e0647
parent421c4a23dc5e60db9596b79ea87cdc19cc463e9b
Improved Primitive support and better testing

This changeset addresses several issues.

- Improve primitive support so the status and output of an executed
primitive can be retrieved
- Merge latest upstream libjuju (required for new primive features)
- New testing framework
    This is the start of a new testing framework with the ability to
create and configure LXD containers with SSH, to use while testing proxy
charms.
- Add support for using ssh keys with proxy charms
    See Feature 1429. This uses the per-proxy charm/unit ssh keypair

Signed-off-by: Adam Israel <adam.israel@canonical.com>
53 files changed:
README.md
modules/libjuju/.gitignore
modules/libjuju/.travis.yml
modules/libjuju/VERSION
modules/libjuju/docs/changelog.rst
modules/libjuju/docs/narrative/controller.rst
modules/libjuju/docs/narrative/model.rst
modules/libjuju/docs/readme.rst
modules/libjuju/docs/upstream-updates/index.rst
modules/libjuju/examples/action.py
modules/libjuju/examples/add_model.py
modules/libjuju/examples/config.py
modules/libjuju/examples/connect_current_model.py [new file with mode: 0644]
modules/libjuju/examples/controller.py
modules/libjuju/examples/credential.py [new file with mode: 0644]
modules/libjuju/examples/deploy.py
modules/libjuju/examples/future.py
modules/libjuju/examples/livemodel.py
modules/libjuju/examples/relate.py
modules/libjuju/examples/unitrun.py
modules/libjuju/juju/application.py
modules/libjuju/juju/client/connection.py
modules/libjuju/juju/client/connector.py
modules/libjuju/juju/client/facade.py
modules/libjuju/juju/client/gocookies.py
modules/libjuju/juju/client/overrides.py
modules/libjuju/juju/constraints.py
modules/libjuju/juju/controller.py
modules/libjuju/juju/machine.py
modules/libjuju/juju/model.py
modules/libjuju/juju/provisioner.py [new file with mode: 0644]
modules/libjuju/juju/tag.py
modules/libjuju/juju/unit.py
modules/libjuju/setup.py
modules/libjuju/tests/base.py
modules/libjuju/tests/bundle/invalid.yaml [new file with mode: 0644]
modules/libjuju/tests/bundle/mini-bundle.yaml [new file with mode: 0644]
modules/libjuju/tests/integration/test_application.py
modules/libjuju/tests/integration/test_controller.py
modules/libjuju/tests/integration/test_macaroon_auth.py [new file with mode: 0644]
modules/libjuju/tests/integration/test_machine.py
modules/libjuju/tests/integration/test_model.py
modules/libjuju/tests/integration/test_unit.py
modules/libjuju/tests/unit/test_client.py
modules/libjuju/tests/unit/test_constraints.py
modules/libjuju/tests/unit/test_controller.py [new file with mode: 0644]
modules/libjuju/tests/unit/test_gocookies.py [new file with mode: 0644]
modules/libjuju/tests/unit/test_model.py
modules/libjuju/tox.ini
n2vc/vnf.py
tests/__init__.py [new file with mode: 0644]
tests/test_single_vdu_proxy_charm.py [new file with mode: 0644]
tests/utils.py [new file with mode: 0644]