Home
last modified time | relevance | path

Searched refs:macAddress (Results 1 – 15 of 15) sorted by relevance

/openbmc/webui-vue/tests/unit/views/Settings/Network/
H A DModalMacAddress.spec.js12 macAddress: '', property in AnonymousClassd44f8aa90101.props
38 expect(wrapper.vm.v$.form.macAddress).toBeDefined();
42 expect(wrapper.vm.v$.form.macAddress.required).toBeDefined();
46 expect(wrapper.vm.v$.form.macAddress.macAddress).toBeDefined();
50 expect(wrapper.vm.v$.form.macAddress.$dirty).toBe(false);
54 wrapper.vm.v$.form.macAddress.$touch();
56 expect(wrapper.vm.v$.form.macAddress.$dirty).toBe(true);
60 wrapper.vm.v$.form.macAddress.$touch();
65 expect(wrapper.vm.v$.form.macAddress.$dirty).toBe(false);
76 wrapper.vm.v$.form.macAddress,
[all …]
/openbmc/webui-vue/src/views/Settings/Network/
H A DModalMacAddress.vue12 :label="$t('pageNetwork.macAddress')"
13 label-for="macAddress"
17 v-model.trim="form.macAddress"
18 data-test-id="network-input-macAddress"
20 :state="getValidationState(v$.form.macAddress)"
21 @change="v$.form.macAddress.$touch()"
24 <div v-if="v$.form.macAddress.required.$invalid">
27 <div v-if="v$.form.macAddress.macAddress.$invalid">
56 // Custom macAddress validator (not available in @vuelidate/validators v2)
68 macAddress: {
[all …]
H A DNetworkInterfaceSettings.vue38 {{ $t('pageNetwork.macAddress') }}
50 {{ dataFormatter(macAddress) }}
91 macAddress: '',
116 this.macAddress = this.ethernetData[this.selectedInterface].MACAddress;
H A DNetwork.vue212 this.currentMacAddress = settings.macAddress;
/openbmc/phosphor-networkd/src/
H A Dneighbor.hpp51 using NeighborObj::macAddress;
52 std::string macAddress(std::string) override;
H A Dethernet_interface.cpp155 MacAddressIntf::macAddress(stdplus::toStr(*info.mac), skipSignal); in updateInfo()
279 it->second->NeighborObj::macAddress(stdplus::toStr(*info.mac)); in addStaticNeigh()
394 std::string macAddress) in neighbor() argument
412 lladdr.emplace(stdplus::fromStr<stdplus::EtherAddr>(macAddress)); in neighbor()
417 macAddress, "ERROR", e); in neighbor()
419 Argument::ARGUMENT_VALUE(macAddress.c_str())); in neighbor()
433 if (it->second->macAddress() == str) in neighbor()
437 it->second->NeighborObj::macAddress(str); in neighbor()
739 auto macStr = MacAddressIntf::macAddress(); in createVLAN()
837 auto mac = MacAddressIntf::macAddress(); in writeConfigurationFile()
[all …]
H A Dneighbor.cpp41 NeighborObj::macAddress(stdplus::toStr(lladdr), true); in Neighbor()
74 std::string Neighbor::macAddress(std::string /*macAddress*/) in macAddress() function in phosphor::network::Neighbor
H A Dethernet_interface.hpp135 ObjectPath neighbor(std::string ipAddress, std::string macAddress) override;
176 std::string macAddress(std::string value) override;
239 using MacAddressIntf::macAddress;
H A Dinventory_mac.cpp59 auto returnMAC = interface.second->macAddress(mac); in setFirstBootMACOnInterface()
/openbmc/webui-vue/tests/unit/
H A DtestUtils.js68 macAddress: 'MAC address',
55 macAddress: 'MAC address', global() property in createTestI18n.AnonymousClassea6385870101.messages.en-US.pageNetwork
/openbmc/bmcweb/redfish-core/lib/
H A Dethernet.hpp132 std::optional<std::string> macAddress; member
249 ethData.macAddress = *mac; in extractEthernetInterfaceData()
1330 const std::string& ifaceId, const std::string& macAddress, in handleMACAddressPatch() argument
1337 "xyz.openbmc_project.Network.MACAddress", "MACAddress", macAddress); in handleMACAddressPatch()
1909 if (ethData.macAddress) in parseInterfaceData()
1911 jsonResponse["MACAddress"] = *ethData.macAddress; in parseInterfaceData()
2340 std::optional<std::string> macAddress; in requestEthernetInterfacesRoutes() local
2378 "MACAddress", macAddress, // in requestEthernetInterfacesRoutes()
2393 fqdn = std::move(fqdn), macAddress = std::move(macAddress), in requestEthernetInterfacesRoutes()
2438 if (macAddress) in requestEthernetInterfacesRoutes()
[all …]
/openbmc/phosphor-networkd/test/
H A Dtest_ethernet_interface.cpp78 EXPECT_EQ("", interface.macAddress()); in TEST_F()
95 EXPECT_EQ(stdplus::toStr(mac), intf.macAddress()); in TEST_F()
/openbmc/entity-manager/src/fru_device/
H A Dfru_utils.cpp955 std::string macAddress = in readFRUContents() local
957 if (!macAddress.empty()) in readFRUContents()
962 std::string mac = std::format("MAC: {}", macAddress); in readFRUContents()
/openbmc/webui-vue/src/store/modules/Settings/
H A DNetworkStore.js55 macAddress: MACAddress,
/openbmc/phosphor-webui/app/common/services/
H A Dapi-utils.js281 var macAddress = '';
356 macAddress =
365 mac_address: macAddress,