Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Allow to set a specific interface for outgoing replication/net.box connections #11803

@sergepetrenko

Description

@sergepetrenko

Allow to set interface for outgoing replication / net.box connections.

For example:

-- Legacy configuration.
box.cfg{
    replication = {
        {uri = 'localhost:3310', interface = 'eth0'}
    }
}

-- Net.box
net_box.connect({
    uri = 'localhost:3310',
    interface = 'eth0',
})

-- Yaml config
iproto.advertise.peer.interface: 'eth0'

JIRA issue: https://jira.vk.team/browse/TNTP-3650

Metadata

Metadata

Assignees

Labels

featureA new functionality

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions