On 9/23/24 16:54, yosef salmal via discuss wrote:
> Hi, 
> I'm working on kolla-ansible to add ovn-relay,
> https://review.opendev.org/c/openstack/kolla-ansible/+/929646 
> <https://review.opendev.org/c/openstack/kolla-ansible/+/929646>
> 
> I am trying to configure relay using config file:
> ```
> {
> "remotes": { "{{ ovn_sb_connection_shuffled}}": {
> "inactivity-probe": 60000
> } },
> "databases": {
> "OVN_Southbound": {
> "service-model": "relay",
> "source": {
> "ptcp:{{ api_interface_address}}:{{ ovn_sb_db_relay_port}}": {
> "inactivity-probe": 60000
> },
> }
> }
> }
> }
> ```
> Here which remote is the good old --remote that will be exposed on relay host?

It's the one in "remotes".  Relay will accept connections on that one
(should likely be a passive connection, e.g. ptcp: or pssl:).
The "source" is from where this relay will get the data, i.e. the
source of the data, the address of the main database (should likely
be an active connection, e.g tcp: or ssl:).

Best regards, Ilya Maximets.
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to