Searched refs:ServerList (Results 1 – 4 of 4) sorted by relevance
/openbmc/phosphor-networkd/src/ |
H A D | ethernet_interface.hpp | 49 using ServerList = std::vector<std::string>; typedef 168 ServerList ntpServers(ServerList value) override; 173 ServerList staticNTPServers(ServerList value) override; 176 ServerList nameservers() const override; 182 ServerList staticNameServers(ServerList value) override; 224 virtual ServerList getNTPServerFromTimeSyncd(); 229 virtual ServerList getNameServerFromResolvd() const;
|
H A D | ethernet_interface.cpp | 443 ServerList EthernetInterface::staticNameServers(ServerList value) in staticNameServers() 489 ServerList EthernetInterface::getNTPServerFromTimeSyncd() in getNTPServerFromTimeSyncd() 491 ServerList servers; // Variable to capture the NTP Server IPs in getNTPServerFromTimeSyncd() 501 std::variant<ServerList> response; in getNTPServerFromTimeSyncd() 503 servers = std::get<ServerList>(response); in getNTPServerFromTimeSyncd() 515 ServerList EthernetInterface::nameservers() const in nameservers() 520 ServerList EthernetInterface::getNameServerFromResolvd() const in getNameServerFromResolvd() 522 ServerList servers; in getNameServerFromResolvd() 623 ServerList EthernetInterface::staticNTPServers(ServerList value) in staticNTPServers() 633 ServerList EthernetInterface::ntpServers(ServerList /*servers*/) in ntpServers() argument
|
/openbmc/phosphor-networkd/test/ |
H A D | test_ethernet_interface.cpp | 59 ServerList ntpServers = {"10.1.1.1", "10.2.2.2", "10.3.3.3"}; in setNtpServers() 63 ServerList getNtpServers() in getNtpServers() 145 ServerList servers = {"9.1.1.1", "9.2.2.2", "9.3.3.3"}; in TEST_F() 154 ServerList servers = {"9.1.1.1", "9.2.2.2", "9.3.3.3"}; in TEST_F() 162 ServerList servers = {"10.1.1.1", "10.2.2.2", "10.3.3.3"}; in TEST_F() 172 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()
|
H A D | mock_ethernet_interface.hpp | 18 MOCK_METHOD((ServerList), getNTPServerFromTimeSyncd, (), (override)); 19 MOCK_METHOD((ServerList), getNameServerFromResolvd, (), (const override));
|