Home
last modified time | relevance | path

Searched refs:defaultGateway6 (Results 1 – 5 of 5) sorted by relevance

/openbmc/phosphor-networkd/test/
H A Dtest_ethernet_interface.cpp194 EXPECT_THROW(interface.defaultGateway6("127.0.0.10"), InvalidArgument); in TEST_F()
195 EXPECT_THROW(interface.defaultGateway6("0.0.0.0"), InvalidArgument); in TEST_F()
196 EXPECT_THROW(interface.defaultGateway6("224.1.0.0"), InvalidArgument); in TEST_F()
207 interface.defaultGateway6(gateway6); in TEST_F()
208 EXPECT_EQ(interface.defaultGateway6(), gateway6); in TEST_F()
209 EXPECT_THROW(interface.defaultGateway6("::1"), InvalidArgument); in TEST_F()
210 EXPECT_EQ(interface.defaultGateway6(), gateway6); in TEST_F()
211 interface.defaultGateway6(""); in TEST_F()
212 EXPECT_EQ(interface.defaultGateway6(), ""); in TEST_F()
213 interface.defaultGateway6("::"); in TEST_F()
[all …]
/openbmc/phosphor-networkd/src/
H A Dethernet_interface.hpp224 std::string defaultGateway6(std::string gateway) override;
237 using EthernetInterfaceIntf::defaultGateway6;
H A Dnetwork_manager.cpp392 it->second->EthernetInterfaceIntf::defaultGateway6( in addDefGw()
450 if (it->second->defaultGateway6() == tsh(addr)) in removeDefGw()
452 it->second->EthernetInterfaceIntf::defaultGateway6( in removeDefGw()
H A Dethernet_interface.cpp117 EthernetInterface::defaultGateway6(stdplus::toStr(*info.defgw6), true); in EthernetInterface()
827 auto gateway6 = EthernetInterfaceIntf::defaultGateway6(); in writeConfigurationFile()
1009 std::string EthernetInterface::defaultGateway6(std::string gateway) in defaultGateway6() function in phosphor::network::EthernetInterface
1012 if (gateway != defaultGateway6()) in defaultGateway6()
1014 gateway = EthernetInterfaceIntf::defaultGateway6(std::move(gateway)); in defaultGateway6()
/openbmc/bmcweb/redfish-core/lib/
H A Dethernet.hpp363 const std::string* defaultGateway6 = in extractEthernetInterfaceData() local
365 if (defaultGateway6 != nullptr) in extractEthernetInterfaceData()
368 *defaultGateway6; in extractEthernetInterfaceData()