diff options
author | Tatiana Jamison <tjamison@jaguarlandrover.com> | 2016-02-24 11:26:30 -0800 |
---|---|---|
committer | Tatiana Jamison <tjamison@jaguarlandrover.com> | 2016-02-24 11:26:30 -0800 |
commit | 04c54e8dd6728387209ff18071af488dcd49f6fd (patch) | |
tree | b7876e852974d8d7a3a7c4ee16c4a3d35e66749b | |
parent | 5bfeebd7c59a531977ed50c1f4009fd6dcbd94e3 (diff) | |
download | rvi_core-04c54e8dd6728387209ff18071af488dcd49f6fd.tar.gz |
[53177] Update Ubuntu install documentation
Add steps for verifying successful Ubuntu installation
-rw-r--r-- | INSTALL_ubuntu.md | 45 |
1 files changed, 43 insertions, 2 deletions
diff --git a/INSTALL_ubuntu.md b/INSTALL_ubuntu.md index fa4a8f7..c9be22b 100644 --- a/INSTALL_ubuntu.md +++ b/INSTALL_ubuntu.md @@ -89,11 +89,52 @@ Then install RVI via dpkg: To confirm that RVI has installed successfully, run: - sudo service rvi status + sudo service rvi start Expected output: - TODO + * Starting Remote Vehicle Interaction Node... rvi [ OK ] + +Find out which services are registered through `rvi_get_services`: + + /usr/lib/rvi_core/rvi_get_services + +The command should return no output, since we have not registered any services yet. + +Register a service by calling `rvi_service` -- start with "hello": + + /usr/lib/rvi_core/rvi_service hello + +Expected output: + + RVI General Service. + RVI node URL: http://localhost:9001 + Service: genivi.org/vin/default_vin/hello + Press enter to quit: + +In another terminal, call `rvi_get_services` again to see the newly registered service: + + genivi.org/vin/default_vin/hello + +Invoke the service through `rvi_call` and the full service name: + + /usr/lib/rvi_core/rvi_call genivi.org/vin/default_vin/hello + +In terminal 1 (where you called `rvi_service`), you should see the following output: + + Service invoked! + args: {} + +In terminal 2 (where you called `rvi_call`), you should see the following output: + + RVI Node: http://localhost:9001 + Service: genivi.org/vin/default_vin/hello + args: {} + +You can pass arguments to a service call with the format name=value: + + /usr/lib/rvi_core/rvi_call genivi.org/vin/default_vin/hello \ + a=b message=hello ## CREATE A RELEASE ## |