-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
tests: | ||
remoteaccess/configuration_create-passthrough_Create a SSH passthrough configuration to the localhost: | ||
remoteaccess/configurations_create-passthrough_Create a SSH passthrough configuration to the localhost: | ||
command: | | ||
c8y remoteaccess configurations create-passthrough --device mydevice | ||
c8y remoteaccess configurations create-passthrough --device device01 | ||
exit-code: 0 | ||
stdout: | ||
json: | ||
method: POST | ||
path: /service/remoteaccess/devices/mydevice/configurations | ||
remoteaccess/configuration_create-passthrough_Create a SSH passthrough configuration with custom details: | ||
path: /service/remoteaccess/devices/device01/configurations | ||
remoteaccess/configurations_create-passthrough_Create a SSH passthrough configuration with custom details: | ||
command: | | ||
c8y remoteaccess configurations create-passthrough --device mydevice --hostname customhost --port 1234 --name "My custom configuration" | ||
c8y remoteaccess configurations create-passthrough --device device01 --hostname customhost --port 1234 --name "My custom configuration" | ||
exit-code: 0 | ||
stdout: | ||
json: | ||
body.hostname: customhost | ||
body.name: My custom configuration | ||
body.port: "1234" | ||
method: POST | ||
path: /service/remoteaccess/devices/mydevice/configurations | ||
path: /service/remoteaccess/devices/device01/configurations |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
tests: | ||
remoteaccess/configuration_delete_Delete an existing remote access configuration: | ||
command: c8y remoteaccess configurations delete --device mydevice --id 1 | ||
remoteaccess/configurations_delete_Delete an existing remote access configuration: | ||
command: c8y remoteaccess configurations delete --device device01 --id 1 | ||
exit-code: 0 | ||
stdout: | ||
json: | ||
method: DELETE | ||
path: /service/remoteaccess/devices/mydevice/configurations/1 | ||
path: /service/remoteaccess/devices/device01/configurations/1 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
tests: | ||
remoteaccess/configurations_get_Get existing remote access configuration: | ||
command: c8y remoteaccess configurations get --device device01 --id 1 | ||
exit-code: 0 | ||
stdout: | ||
json: | ||
method: GET | ||
path: /service/remoteaccess/devices/device01/configurations/1 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
tests: | ||
remoteaccess/configurations_list_List remote access configurations for a given device: | ||
command: c8y remoteaccess configurations list --device device01 | ||
exit-code: 0 | ||
stdout: | ||
json: | ||
method: GET | ||
path: /service/remoteaccess/devices/device01/configurations |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
tests: | ||
remoteaccess/configuration_update_Update an existing remote access configuration: | ||
command: c8y remoteaccess configurations update --device mydevice --id 1 | ||
remoteaccess/configurations_update_Update an existing remote access configuration: | ||
command: c8y remoteaccess configurations update --device device01 --id 1 | ||
exit-code: 0 | ||
stdout: | ||
json: | ||
method: PUT | ||
path: /service/remoteaccess/devices/mydevice/configurations/1 | ||
path: /service/remoteaccess/devices/device01/configurations/1 |