diff --git a/README.md b/README.md index cf4b941..53cac60 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ pip install netboxlabs-diode-sdk ### Example -* `target` should be the address of the Diode service, e.g. `grpc://localhost:8081` for insecure connection +* `target` should be the address of the Diode service, e.g. `grpc://localhost:8080/diode` for insecure connection or `grpcs://example.com` for secure connection. ```python @@ -39,7 +39,7 @@ from netboxlabs.diode.sdk.ingester import ( def main(): with DiodeClient( - target="grpc://localhost:8081", + target="grpc://localhost:8080/diode", app_name="my-test-app", app_version="0.0.1", ) as client: diff --git a/docs/entities.md b/docs/entities.md index 49681fc..d320391 100644 --- a/docs/entities.md +++ b/docs/entities.md @@ -33,7 +33,7 @@ from netboxlabs.diode.sdk.ingester import ( def main(): with DiodeClient( - target="grpc://localhost:8081", + target="grpc://localhost:8080/diode", app_name="my-test-app", app_version="0.0.1", ) as client: @@ -141,7 +141,7 @@ from netboxlabs.diode.sdk.ingester import ( def main(): with DiodeClient( - target="grpc://localhost:8081", + target="grpc://localhost:8080/diode", app_name="my-test-app", app_version="0.0.1", ) as client: @@ -241,7 +241,7 @@ from netboxlabs.diode.sdk.ingester import ( def main(): with DiodeClient( - target="grpc://localhost:8081", + target="grpc://localhost:8080/diode", app_name="my-test-app", app_version="0.0.1", ) as client: @@ -324,7 +324,7 @@ from netboxlabs.diode.sdk.ingester import ( def main(): with DiodeClient( - target="grpc://localhost:8081", + target="grpc://localhost:8080/diode", app_name="my-test-app", app_version="0.0.1", ) as client: @@ -399,7 +399,7 @@ from netboxlabs.diode.sdk.ingester import ( def main(): with DiodeClient( - target="grpc://localhost:8081", + target="grpc://localhost:8080/diode", app_name="my-test-app", app_version="0.0.1", ) as client: @@ -452,7 +452,7 @@ from netboxlabs.diode.sdk.ingester import ( def main(): with DiodeClient( - target="grpc://localhost:8081", + target="grpc://localhost:8080/diode", app_name="my-test-app", app_version="0.0.1", ) as client: @@ -506,7 +506,7 @@ from netboxlabs.diode.sdk.ingester import ( def main(): with DiodeClient( - target="grpc://localhost:8081", + target="grpc://localhost:8080/diode", app_name="my-test-app", app_version="0.0.1", ) as client: @@ -574,7 +574,7 @@ from netboxlabs.diode.sdk.ingester import ( def main(): with DiodeClient( - target="grpc://localhost:8081", + target="grpc://localhost:8080/diode", app_name="my-test-app", app_version="0.0.1", ) as client: @@ -679,7 +679,7 @@ from netboxlabs.diode.sdk.ingester import ( def main(): with DiodeClient( - target="grpc://localhost:8081", + target="grpc://localhost:8080/diode", app_name="my-test-app", app_version="0.0.1", ) as client: @@ -770,7 +770,7 @@ from netboxlabs.diode.sdk.ingester import ( def main(): with DiodeClient( - target="grpc://localhost:8081", + target="grpc://localhost:8080/diode", app_name="my-test-app", app_version="0.0.1", ) as client: @@ -820,7 +820,7 @@ from netboxlabs.diode.sdk.ingester import ( def main(): with DiodeClient( - target="grpc://localhost:8081", + target="grpc://localhost:8080/diode", app_name="my-test-app", app_version="0.0.1", ) as client: @@ -875,7 +875,7 @@ from netboxlabs.diode.sdk.ingester import ( def main(): with DiodeClient( - target="grpc://localhost:8081", + target="grpc://localhost:8080/diode", app_name="my-test-app", app_version="0.0.1", ) as client: @@ -987,7 +987,7 @@ from netboxlabs.diode.sdk.ingester import ( def main(): with DiodeClient( - target="grpc://localhost:8081", + target="grpc://localhost:8080/diode", app_name="my-test-app", app_version="0.0.1", ) as client: @@ -1137,7 +1137,7 @@ from netboxlabs.diode.sdk.ingester import ( def main(): with DiodeClient( - target="grpc://localhost:8081", + target="grpc://localhost:8080/diode", app_name="my-test-app", app_version="0.0.1", ) as client: @@ -1289,7 +1289,7 @@ from netboxlabs.diode.sdk.ingester import ( def main(): with DiodeClient( - target="grpc://localhost:8081", + target="grpc://localhost:8080/diode", app_name="my-test-app", app_version="0.0.1", ) as client: