Home
last modified time | relevance | path

Searched refs:defaultGateway (Results 1 – 13 of 13) sorted by relevance

/openbmc/webui-vue/src/views/Settings/Network/
H A DModalDefaultGateway.vue13 label-for="defaultGateway"
16 id="defaultGateway"
17 v-model.trim="form.defaultGateway"
20 :state="getValidationState(v$.form.defaultGateway)"
21 @change="v$.form.defaultGateway.$touch()"
24 <div v-if="v$.form.defaultGateway.required.$invalid">
27 <div v-if="v$.form.defaultGateway.validateGateway.$invalid">
66 defaultGateway: {
80 defaultGateway: '',
85 defaultGateway() {
[all …]
H A DModalIpv4.vue101 defaultGateway: {
122 defaultGateway() {
123 this.form.gateway = this.defaultGateway;
162 this.form.gateway = this.defaultGateway;
H A DNetwork.vue37 <modal-ipv4 :default-gateway="defaultGateway" @ok="saveIpv4Address" />
96 defaultGateway: '',
140 this.defaultGateway =
143 ].defaultGateway;
H A DTableIpv6.vue39 {{ dataFormatter(defaultGateway) }}
145 defaultGateway: '',
198 this.defaultGateway = this.ethernetData[this.tabIndex].IPv6DefaultGateway;
/openbmc/phosphor-networkd/test/
H A Dtest_ethernet_interface.cpp192 interface.defaultGateway(gateway); in TEST_F()
193 EXPECT_EQ(interface.defaultGateway(), gateway); in TEST_F()
197 EXPECT_EQ(interface.defaultGateway(), gateway); in TEST_F()
198 interface.defaultGateway(""); in TEST_F()
199 EXPECT_EQ(interface.defaultGateway(), ""); in TEST_F()
200 interface.defaultGateway("0.0.0.0"); in TEST_F()
201 EXPECT_EQ(interface.defaultGateway(), ""); in TEST_F()
/openbmc/phosphor-webui/app/configuration/controllers/
H A Dnetwork-controller.js24 $scope.defaultGateway = '';
73 if ($scope.defaultGateway != dataService.defaultgateway) {
182 return APIUtils.setDefaultGateway($scope.defaultGateway)
289 $scope.defaultGateway = data.defaultgateway;
/openbmc/phosphor-networkd/src/
H A Dethernet_interface.hpp219 std::string defaultGateway(std::string gateway) override;
236 using EthernetInterfaceIntf::defaultGateway;
H A Dnetwork_manager.cpp385 it->second->EthernetInterfaceIntf::defaultGateway( in addDefGw()
438 if (it->second->defaultGateway() == tsh(addr)) in removeDefGw()
440 it->second->EthernetInterfaceIntf::defaultGateway( in removeDefGw()
H A Dethernet_interface.cpp113 EthernetInterface::defaultGateway(stdplus::toStr(*info.defgw4), true); in EthernetInterface()
816 auto gateway4 = EthernetInterfaceIntf::defaultGateway(); in writeConfigurationFile()
997 std::string EthernetInterface::defaultGateway(std::string gateway) in defaultGateway() function in phosphor::network::EthernetInterface
1000 if (gateway != defaultGateway()) in defaultGateway()
1002 gateway = EthernetInterfaceIntf::defaultGateway(std::move(gateway)); in defaultGateway()
/openbmc/bmcweb/redfish-core/lib/
H A Dhypervisor_system.hpp290 const std::string* defaultGateway = in extractHypervisorInterfaceData() local
292 if (defaultGateway != nullptr) in extractHypervisorInterfaceData()
294 ethData.defaultGateway = *defaultGateway; in extractHypervisorInterfaceData()
476 ipv4["Gateway"] = ethData.defaultGateway; in parseInterfaceData()
H A Dethernet.hpp118 std::string defaultGateway; member
356 const std::string* defaultGateway = in extractEthernetInterfaceData() local
358 if (defaultGateway != nullptr) in extractEthernetInterfaceData()
360 std::string defaultGatewayStr = *defaultGateway; in extractEthernetInterfaceData()
363 ethData.defaultGateway = "0.0.0.0"; in extractEthernetInterfaceData()
367 ethData.defaultGateway = defaultGatewayStr; in extractEthernetInterfaceData()
1139 ipv4.gateway = ethData.defaultGateway; in getEthernetIfaceData()
1679 if (!ethData.defaultGateway.empty() && ethData.defaultGateway != gatewayOut) in handleIPv4StaticPatch()
1730 if (!gatewayOut.empty() && ethData.defaultGateway != gatewayOut) in handleIPv4StaticPatch()
/openbmc/webui-vue/src/store/modules/Settings/
H A DNetworkStore.js43defaultGateway: IPv4StaticAddresses[0]?.Gateway, //First static gateway is the default gateway
/openbmc/phosphor-webui/app/common/services/
H A Dapi-utils.js388 setDefaultGateway: function(defaultGateway) { argument
394 data: JSON.stringify({'data': defaultGateway})