You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,6 +43,10 @@ The package is available via the [Python Package Index (PyPI)](https://pypi.org/
43
43
pip install videoipath-automation-tool
44
44
```
45
45
46
+
**Note:** By default, the latest Long-Term Support (LTS) version (currently **2024.4.12**) is used for schema validation and IntelliSense.
47
+
48
+
To switch to a specific version, see the [Driver Versioning Guide](https://github.com/SWR-MoIP/VideoIPath-Automation-Tool/blob/main/docs/driver-versioning.md)
49
+
46
50
### A Simple Example: Adding a Device to the Inventory
47
51
48
52
```python
@@ -76,7 +80,7 @@ except Exception as e:
76
80
77
81
-[Getting Started Guide](https://github.com/SWR-MoIP/VideoIPath-Automation-Tool/blob/main/docs/getting-started-guide/README.md)
Driver schemas are auto-generated from the VideoIPath API's JSON schema, enabling IntelliSense support during development and runtime validation of custom settings.
5
+
6
+
By default, the system uses the latest Long-Term Support (LTS) version, currently **2024.4.12**.
7
+
8
+
To switch to a different version after installation, run:
9
+
10
+
```bash
11
+
set-videoipath-version <version>
12
+
```
13
+
14
+
For example:
15
+
16
+
```bash
17
+
set-videoipath-version 2024.3.3
18
+
```
19
+
20
+
If no version is specified, the latest available LTS version is automatically used.
Copy file name to clipboardExpand all lines: docs/getting-started-guide/01_Setup_and_connect_to_Server.md
+11-2Lines changed: 11 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,8 +10,14 @@ The `VideoIPathApp` class provides all necessary methods to interact with the Vi
10
10
11
11
Before establishing a connection to the VideoIPath Server, ensure that the following requirements are met:
12
12
13
-
-**User Authorization**: The user account must be authorized using the `VideoIPath` authentication method.
14
-
-**Permissions**: For a straightforward setup, enable both `API` and `Administrator` options for the user account (User Info). This ensures that the user has all necessary permissions to interact with the VideoIPath Server.
13
+
### User Account Settings (User Info)
14
+
15
+
-**User Authorization**:<br>The user account must be authorized using the `VideoIPath` authentication method.
16
+
-**Permissions**:<br>For a straightforward setup, enable both `API` and `Administrator` options for the user account (User Info). This ensures that the user has all necessary permissions to interact with the VideoIPath Server.
17
+
18
+
### Driver Versioning
19
+
20
+
To ensure IntelliSense support and runtime validation of custom settings, the VideoIPath Server should be running a compatible version of the driver schema. By default, the package uses the latest Long-Term Support (LTS) version, which is currently **2024.4.12**. If you need to use a different version, refer to the [Driver Versioning Guide](../driver-versioning.md).
15
21
16
22
## Example 1: Establishing a Connection to the VideoIPath Server via Environment Variables
-`verify_ssl_cert`: Set to `True` if the SSL certificate should be verified.
71
78
-`log_level`: The log level for the logging module, possible values are `DEBUG`, `INFO`, `WARNING`, `ERROR`, and `CRITICAL`. If not set as a parameter or environment variable, it falls back to the root logger's level (default is set to `WARNING`).
72
79
-`environment`: The environment of the VideoIPath Server, possible values are `DEV`, `TEST`, and `PROD` (for future use)
80
+
-`advanced_driver_schema_check`: If set to `True`, the local driver schema is checked against the server's driver schema (custom settings fields).
73
81
74
82
### Environment Variables
75
83
@@ -82,6 +90,7 @@ print(app.get_server_version())
82
90
|`VIPAT_USE_HTTPS`|`true`, `false`| Optional: Use HTTPS for the connection. Defaults to `true`. |
83
91
|`VIPAT_VERIFY_SSL_CERT`|`true`, `false`| Optional: Verify the SSL certificate. Defaults to `true`. |
84
92
|`VIPAT_LOG_LEVEL`|`debug`, `info`, `warning`, `error`, `critical`| Optional: Set the log level. |
0 commit comments