aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/ovn-db/templates/ovsdb-relay.json.j2
blob: f4cfdead0ae5cc6ab3ba2a501bd37e4f1a06b19b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

{
    "remotes": {
        "ptcp:{{ ovn_sb_db_relay_port }}:{{ api_interface_address | put_address_in_context('url') }}": {
            "inactivity-probe": {{ ovn_sb_db_relay_passive_inactivity_probe }}
        }
    },
    "databases": {
        "OVN_Southbound": {
            "service-model": "relay",
            "source": {
                "{{ ovn_sb_connection_no_relay }}": {
                    "inactivity-probe": {{ ovn_sb_db_relay_active_inactivity_probe }},
                    "max-backoff": {{ ovn_sb_db_relay_max_backoff }}
                }
            }
        }
    }
}