Charmed OpenSearch
- By Canonical Data Platform
- Databases
Channel | Revision | Published | Runs on |
---|---|---|---|
2/edge | 90 | 08 May 2024 |
juju deploy opensearch --channel 2/edge
Deploy universal operators easily with Juju, the Universal Operator Lifecycle Manager.
Platform:
22.04
charms.opensearch.v0.helper_networking
-
- Last updated 21 Oct 2022
- Revision Library version 0.1
Helpers for networking related operations.
Index
def
get_host_ip(
charm: CharmBase,
peer_relation_name: str
)
Description
Fetches the IP address of the current unit. None
def
get_hostname_by_unit(
charm: CharmBase,
unit_name: str
)
Description
Create a DNS name for an OpenSearch unit. None
def
unit_ip(
charm: CharmBase,
unit: Unit,
peer_relation_name: str
)
Description
Returns the ip address of a given unit. None
def
units_ips(
charm: CharmBase,
peer_relation_name: str
)
Description
Returns the mapping "unit id / ip address" of all units. None
def
is_reachable(
host: str,
port: int
)
Description
Attempting a socket connection to a host/port. None