X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FN2VC.git;a=blobdiff_plain;f=README.md;h=dc0f747b11a48d7f3daf585e94731f03888a88c1;hp=7f6558422c478786b40b8c60bcfaa3eb7c98a4a9;hb=8b1bcf0b86fe042703a59f14ba62537406d69eee;hpb=c9df96f0699cb656166a696219749646f12052d1 diff --git a/README.md b/README.md index 7f65584..dc0f747 100644 --- a/README.md +++ b/README.md @@ -55,12 +55,19 @@ A basic test has been written to exercise the functionality of the library, and Export a few environment variables so the test knows where to find the VCA, and the compiled pingpong charm from the devops repository. ```bash +# The directory where the Juju configuration is stored +export VCA_PATH=~/.local/share/juju + # You can find the ip of the VCA by running `juju status -m controller` and looking for the DNS for Machine 0 -export VCA_HOST= +export VCA_HOST=`juju show-controller --format=json | jq -r '.osm["details"]["api-endpoints"][0]'|awk -F: '{print $1}'` export VCA_PORT=17070 + # You can find these variables in ~/.local/share/juju/accounts.yaml export VCA_USER=admin export VCA_SECRET=PASSWORD + +export LXD_HOST=`ifconfig lxdbr0 | grep 'inet '| cut -d: -f2 | awk '{ print $2}'` +export LXD_SECRET= ``` ### Run the test(s) @@ -124,3 +131,15 @@ Traceback (most recent call last): raise RuntimeError('Event loop is closed') RuntimeError: Event loop is closed ``` + +## Modules + +To update the libjuju module: + +Needs to be fully tested: +```bash +git checkout master +git subtree pull --prefix=modules/libjuju/ --squash libjuju master + +git merge --continue +```