Searched refs:ServerList (Results 1 – 4 of 4) sorted by relevance
/openbmc/phosphor-networkd/src/ |
H A D | ethernet_interface.hpp | 55 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 D | ethernet_interface.cpp | 519 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 D | mock_ethernet_interface.hpp | 18 MOCK_METHOD((ServerList), getNTPServerFromTimeSyncd, (), (override)); 19 MOCK_METHOD((ServerList), getNameServerFromResolvd, (), (const override));
|
H A D | test_ethernet_interface.cpp | 65 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()
|