Home
last modified time | relevance | path

Searched refs:ServerList (Results 1 – 4 of 4) sorted by relevance

/openbmc/phosphor-networkd/src/
H A Dethernet_interface.hpp55 using ServerList = std::vector<std::string>; typedef
187 ServerList ntpServers(ServerList value) override;
192 ServerList staticNTPServers(ServerList value) override;
195 ServerList nameservers() const override;
201 ServerList staticNameServers(ServerList value) override;
243 virtual ServerList getNTPServerFromTimeSyncd();
248 virtual ServerList getNameServerFromResolvd() const;
H A Dethernet_interface.cpp519 ServerList EthernetInterface::staticNameServers(ServerList value) in staticNameServers()
565 ServerList EthernetInterface::getNTPServerFromTimeSyncd() in getNTPServerFromTimeSyncd()
567 ServerList servers; // Variable to capture the NTP Server IPs in getNTPServerFromTimeSyncd()
577 std::variant<ServerList> response; in getNTPServerFromTimeSyncd()
579 servers = std::get<ServerList>(response); in getNTPServerFromTimeSyncd()
591 ServerList EthernetInterface::nameservers() const in nameservers()
596 ServerList EthernetInterface::getNameServerFromResolvd() const in getNameServerFromResolvd()
598 ServerList servers; in getNameServerFromResolvd()
699 ServerList EthernetInterface::staticNTPServers(ServerList value) in staticNTPServers()
709 ServerList EthernetInterface::ntpServers(ServerList /*servers*/) in ntpServers() argument
/openbmc/phosphor-networkd/test/
H A Dmock_ethernet_interface.hpp18 MOCK_METHOD((ServerList), getNTPServerFromTimeSyncd, (), (override));
19 MOCK_METHOD((ServerList), getNameServerFromResolvd, (), (const override));
H A Dtest_ethernet_interface.cpp65 ServerList ntpServers = {"10.1.1.1", "10.2.2.2", "10.3.3.3"}; in setNtpServers()
69 ServerList getNtpServers() in getNtpServers()
151 ServerList servers = {"9.1.1.1", "9.2.2.2", "9.3.3.3"}; in TEST_F()
160 ServerList servers = {"9.1.1.1", "9.2.2.2", "9.3.3.3"}; in TEST_F()
168 ServerList servers = {"10.1.1.1", "10.2.2.2", "10.3.3.3"}; in TEST_F()
178 ServerList servers = {"10.1.1.1", "10.2.2.2", "10.3.3.3"}; in TEST_F()
184 ServerList servers = {"10.1.1.1", "10.2.2.2", "10.3.3.3"}; in TEST_F()