/openbmc/openbmc-test-automation/redfish/managers/ |
H A D | test_multiple_interfaces_dhcp.robot | 2 Documentation Test BMC DHCP multiple network interface functionalities. 3 ... Run on setup eth0 in static and eth1 in DHCP. 40 Disable DHCP On Eth1 And Verify System Is Accessible By Eth0 41 [Documentation] Disable DHCP on eth1 using Redfish and verify 47 ${DHCPEnabled}= Get IPv4 DHCP Enabled Status ${2} 51 Enable DHCP On Eth1 And Verify System Is Accessible By Eth0 52 [Documentation] Enable DHCP on eth1 using Redfish and verify if system 58 ${DHCPEnabled}= Get IPv4 DHCP Enabled Status ${2} 65 [Template] Apply DHCP Config 92 Enable DHCP On Eth1 And Check No Impact On Eth0 [all …]
|
/openbmc/openbmc/meta-google/recipes-google/networking/gbmc-bridge/ |
H A D | gbmc-br-dhcp.sh | 16 # A list of functions which get executed for each bound DHCP lease. 22 # A dict of outstanding items that should prevent DHCP completion 36 gbmc_br_source_dir /usr/share/gbmc-br-dhcp || exit 62 update-dhcp-status 'ONGOING' "$json_output" 67 PID_FILE=/run/gbmc-br-dhcp.pid 69 # If we can't acquire the lock we already have a successful DHCP process in the works 76 # Don't let other DHCP processes start by hogging the pidfile indefinitely 85 update_netboot_status "dhcp" "Received dhcp response ${ipv6}, ${fqdn}, ${bootfile_url}" "START" 87 # Check for our multi-IP DHCP patch and emit messages about support 90 update_netboot_status "dhcp" "Multi-IP is supported" "ONGOING" [all …]
|
H A D | gbmc-start-dhcp.sh | 16 systemctl stop gbmc-br-dhcp@'*' 18 systemctl restart dhcp-done 20 # stop dhcp term service to prevent race condition 21 systemctl is-active --quiet gbmc-br-dhcp-term && systemctl stop gbmc-br-dhcp-term 23 # start the dhcp service 24 for intf in gbmcbr $(cat /run/gbmc-br-dhcp-intfs 2>/dev/null); do 25 systemctl start gbmc-br-dhcp@"$intf"
|
H A D | gbmc-br-dhcp@.service | 2 Description=gBMC DHCP Client 3 After=network.target dhcp-done.service 4 Wants=dhcp-done.service 12 …q -O fqdn -O bootfile_url -O bootfile_param -i %I -s /usr/libexec/gbmc-br-dhcp.sh -x search:${VERS…
|
H A D | gbmc-br-dhcp-term.sh | 56 if pid="$(cat /run/gbmc-br-dhcp.pid 2>/dev/null)" && [ -n "$pid" ]; then 57 # If the DHCP configuration process is running, wait for it to finish 58 echo "DHCP still running ($pid), waiting" >&2 71 echo 'Checking DHCP Active State' >&2 89 echo "Waiting ${w}s for DHCP process" >&2 93 echo "Stopping DHCP processing" >&2 94 systemctl stop --no-block gbmc-br-dhcp@'*'
|
/openbmc/phosphor-networkd/src/ |
H A D | dhcp_configuration.hpp | 17 namespace dhcp namespace 26 * @brief DHCP configuration. 28 * xyz.openbmc_project.Network.DHCP DBus interface. 42 /** @brief If true then DNS servers received from the DHCP server 45 * @param[in] value - true if DNS server needed from DHCP server 50 /** @brief If true then domain names received from the DHCP server 51 * @param[in] value - true if domain names needed from DHCP server 56 /** @brief If true then NTP servers received from the DHCP server 58 * @param[in] value - true if NTP server needed from DHCP server 63 /** @brief If true then Hostname received from the DHCP server will [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/dhcp/ |
H A D | dhcp-relay_4.4.3p1.bb | 2 SUMMARY = "Internet Software Consortium DHCP Relay Agent" 3 DESCRIPTION = "A DHCP relay agent passes DHCP requests from one \ 4 LAN to another, so that a DHCP server is not needed on every LAN." 13 SRC_URI = "https://downloads.isc.org/isc/dhcp/4.4.3-P1/dhcp-4.4.3-P1.tar.gz \ 24 UPSTREAM_CHECK_URI = "http://ftp.isc.org/isc/dhcp/" 27 S = "${WORKDIR}/dhcp-4.4.3-P1" 50 # Enable shared libs per dhcp README 56 install -Dm 0644 ${UNPACKDIR}/default-relay ${D}${sysconfdir}/default/dhcp-relay 65 install -m 0755 ${UNPACKDIR}/init-relay ${D}${sysconfdir}/init.d/dhcp-relay 71 # dhcp-relay contains a bundled "bind", thus their dev packages conflict each other
|
/openbmc/linux/tools/hv/ |
D | hv_get_dhcp_info.sh |
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Network/ |
H A D | EthernetInterface.interface.yaml | 43 Enable or disable IPv4 DHCP. 47 Enable or disable IPv6 DHCP. 58 DHCP provisioning is not enabled for name server configuration. As an 59 implementation option this may also be used in addition to DHCP 60 provided addresses, or in cases where the DHCP server provides no DNS 68 both DHCP and static NTP server addresses. 135 High level definitions of available DHCP states. These definitions do 137 contents. both: Enable IPv4 DHCP and IPv6 Stateful DHCP v4v6stateless: 138 Enable IPv4 DHCP and IPv6 SLAAC v6: Enable IPv6 Stateful DHCP 139 v6stateless: Enable IPv6 SLAAC v4: Enable IPv4 DHCP none: Disable DHCP
|
H A D | DHCPConfiguration.interface.yaml | 2 This defines DHCP client configuration. 7 if true then the DNS servers received from the DHCP server will be 12 if true then the NTP servers received from the DHCP server will be 18 if true then the hostname received from the DHCP server will be set as 23 if true then the domain names received from the DHCP server will be 29 if true then DHCP option 12 is enabled i.e machine`s hostname will be 30 sent to the DHCP server.
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/dhcp/files/ |
H A D | default-relay | 1 # Defaults for dhcp-relay initscript 2 # sourced by /etc/init.d/dhcp-relay 4 # What servers should the DHCP relay forward requests to? 8 # On what interfaces should the DHCP relay (dhrelay) serve DHCP requests? 11 # Additional options that are passed to the DHCP relay daemon?
|
H A D | init-relay | 7 if [ ! -f /etc/default/dhcp-relay ]; then 8 echo "/etc/default/dhcp-relay does not exist! - Aborting..." 14 # and the DHCP server we should forward requests to.) 15 . /etc/default/dhcp-relay 40 echo "Usage: /etc/init.d/dhcp-relay {start|stop|restart|force-reload}"
|
/openbmc/google-misc/subprojects/dhcp-done/ |
H A D | meson.build | 16 'dhcp-done', 35 'dhcp-done', 36 'dhcp-done.cpp', 45 'update-dhcp-status', 46 'update-dhcp-status.cpp', 58 configuration: {'BIN': libexecdir / 'dhcp-done'}, 59 input: 'dhcp-done.service.in', 60 output: 'dhcp-done.service',
|
H A D | dhcp-done.service.in | 2 Description=gBMC DHCP Status Daemon 6 ExecStartPre=update-dhcp-status 'ONGOING' 'Waiting on dhcp process' 7 ExecStart=@@BIN@ dhcp-done
|
/openbmc/openbmc/meta-google/recipes-google/networking/ |
H A D | gbmc-bridge.bb | 26 file://gbmc-br-dhcp.sh \ 29 file://gbmc-br-dhcp@.service \ 30 file://gbmc-br-dhcp-term.sh \ 31 file://gbmc-br-dhcp-term.service \ 34 file://gbmc-start-dhcp.sh \ 38 ${@'' if d.getVar('GBMC_DHCP_RELAY') != '1' else 'file://50-gbmc-br-dhcp.rules'} \ 47 ${datadir}/gbmc-br-dhcp \ 56 ${@'' if d.getVar('GBMC_DHCP_RELAY') != '1' else 'dhcp-relay'} \ 57 dhcp-done \ 67 gbmc-br-dhcp-term.service \ [all …]
|
H A D | dhcp-done_git.bb | 1 SUMMARY = "Google DHCP completion daemon" 2 DESCRIPTION = "Google DHCP completion daemon" 3 GOOGLE_MISC_PROJ = "dhcp-done" 12 SYSTEMD_SERVICE:${PN} += "dhcp-done.service" 19 SRC_URI += "file://50-dhcp-done.rules" 24 install -m0644 ${UNPACKDIR}/50-dhcp-done.rules $nftables_dir/
|
/openbmc/openbmc/poky/meta/recipes-core/init-ifupdown/init-ifupdown-1.0/ |
H A D | interfaces | 8 iface wlan0 inet dhcp 14 iface atml0 inet dhcp 18 iface eth0 inet dhcp 19 iface eth1 inet dhcp 23 iface eth inet dhcp 34 iface bnep0 inet dhcp
|
/openbmc/u-boot/lib/efi_selftest/ |
H A D | efi_selftest_snp.c | 10 * A DHCP discover message is sent. The test is successful if a 11 * DHCP reply is received. 59 struct dhcp { struct 103 struct dhcp p = {}; in send_dhcp_discover() 116 p.ip_udp.ip_len = htons(sizeof(struct dhcp) - in send_dhcp_discover() 130 p.ip_udp.udp_len = htons(sizeof(struct dhcp) - in send_dhcp_discover() 134 * Fill DHCP header in send_dhcp_discover() 145 p.opt[0] = 0x63; /* DHCP magic cookie */ in send_dhcp_discover() 161 ret = net->transmit(net, 0, sizeof(struct dhcp), &p, NULL, NULL, 0); in send_dhcp_discover() 163 efi_st_error("Sending a DHCP request failed\n"); in send_dhcp_discover() [all …]
|
/openbmc/openbmc/poky/meta/recipes-connectivity/kea/files/ |
H A D | 0001-Avoid-assert-on-empty-packet.patch | 6 /src/lib/dhcp/pkt_filter_lpf.cc 21 src/lib/dhcp/pkt_filter_lpf.cc | 10 +++++++--- 26 diff --git a/src/lib/dhcp/pkt_filter_lpf.cc b/src/lib/dhcp/pkt_filter_lpf.cc 28 --- a/src/lib/dhcp/pkt_filter_lpf.cc 29 +++ b/src/lib/dhcp/pkt_filter_lpf.cc 39 // Read the DHCP data. 44 // Decode DHCP data into the Pkt4 object. 120 src/lib/dhcp/pkt_filter_lpf.cc | 5 +++-- 123 diff --git a/src/lib/dhcp/pkt_filter_lpf.cc b/src/lib/dhcp/pkt_filter_lpf.cc 125 --- a/src/lib/dhcp/pkt_filter_lpf.cc [all …]
|
/openbmc/openbmc-test-automation/openpower/ext_interfaces/ |
H A D | test_vmi.robot | 60 ${origin}= Set Variable If ${vmi_ip["DHCPv4"]} == ${False} Static DHCP 150 Verify VMI Network Interface Details ${default} DHCP ${default} ${default} 186 Verify Persistency Of VMI DHCP IP Configuration After Multiple HOST Reboots 187 [Documentation] Verify Persistency Of VMI DHCP IP configuration After Multiple HOST Reboots 198 ... DHCP ${vmi_ip_config["IPv4_Gateway"]} ${vmi_ip_config["IPv4_SubnetMask"]} 202 Enable DHCP When Static IP Configured And Verify Static IP 203 [Documentation] Enable DHCP when static ip configured and verify static ip 249 Enable DHCP When No Static IP Configured And Verify DHCP IP 250 [Documentation] Enable DHCP when no static ip configured and verify dhcp ip 261 ... DHCP ${vmi_ip_config["IPv4_Gateway"]} ${vmi_ip_config["IPv4_SubnetMask"]} [all …]
|
/openbmc/u-boot/include/configs/ |
H A D | ti_armv7_keystone2.h | 195 "init_fw_rd_net=dhcp ${rdaddr} ${tftp_root}/${name_fw_rd}; " \ 206 "get_pmmc_net=dhcp ${loadaddr} ${tftp_root}/${name_pmmc}\0" \ 235 "init_nfs=setenv autoload no; dhcp; run args_all args_net\0" \ 238 "get_fdt_net=dhcp ${fdtaddr} ${tftp_root}/${name_fdt}\0" \ 241 "get_kern_net=dhcp ${loadaddr} ${tftp_root}/${name_kern}\0" \ 244 "get_mon_net=dhcp ${addr_mon} ${tftp_root}/${name_mon}\0" \ 247 "get_fit_net=dhcp ${fit_loadaddr} ${tftp_root}" \ 253 "get_uboot_net=dhcp ${loadaddr} ${tftp_root}/${name_uboot}\0" \ 263 "${nfs_options} ip=dhcp\0" \ 265 "get_fdt_ramfs=dhcp ${fdtaddr} ${tftp_root}/${name_fdt}\0" \ [all …]
|
/openbmc/openbmc/poky/meta/recipes-connectivity/connman/connman-gnome/ |
H A D | null_check_for_ipv4_config.patch | 1 In networks that don't have a DHCP server configured, ipv4 address 4 it contains "dhcp" string, a segmentation fault is generated. 19 - if (g_str_equal(ipv4_config.method, "dhcp") == TRUE) 20 + if (!ipv4_config.method || g_str_equal(ipv4_config.method, "dhcp") == TRUE) 32 - if (g_str_equal(ipv4_config.method, "dhcp") == TRUE) 33 + if (!ipv4_config.method || g_str_equal(ipv4_config.method, "dhcp") == TRUE)
|
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-core/init-ifupdown/files/juno/ |
H A D | interfaces | 8 iface wlan0 inet dhcp 19 iface eth0 inet dhcp 20 iface eth1 inet dhcp 31 iface bnep0 inet dhcp
|
/openbmc/phosphor-networkd/test/ |
H A D | test_config_parser.cpp | 87 << "[Network\nDHCP=true\n[DHCP]\nClientIdentifier= mac\n" in WriteSampleFile() 89 << " [ SEC ] \n'DHCP#'=\"#hi\"\nDHCP#=ho\n[Network]\n" in WriteSampleFile() 102 {{"DHCP", {"true"}}}, in ValidateSectionMap() 103 {{"DHCP", {"false #hi", "yes"}}}, in ValidateSectionMap() 106 {"DHCP", {{{"ClientIdentifier", {"mac"}}}}}, in ValidateSectionMap() 107 {" SEC ", {{{"'DHCP#'", {"\"#hi\""}}, {"DHCP#", {"ho"}}}}}, in ValidateSectionMap() 151 EXPECT_EQ("yes", *map.getLastValueString("Network", "DHCP")); in TEST_F() 157 EXPECT_THAT(map.getValueStrings("DHCP", "ClientIdentifier"), in TEST_F() 159 EXPECT_THAT(map.getValueStrings("Network", "DHCP"), in TEST_F() 161 EXPECT_THAT(map.getValueStrings(" SEC ", "'DHCP#'"), in TEST_F()
|
/openbmc/openbmc/poky/meta/recipes-connectivity/kea/ |
H A D | kea_2.6.1.bb | 1 SUMMARY = "ISC Kea DHCP Server" 2 DESCRIPTION = "Kea is the next generation of DHCP software developed by ISC. It supports both DHCPv… 13 file://kea-dhcp-ddns.service \ 16 file://kea-dhcp-ddns-server \ 33 SYSTEMD_SERVICE:${PN} = "kea-dhcp4.service kea-dhcp6.service kea-dhcp-ddns.service" 67 install -m 0644 ${UNPACKDIR}/kea-dhcp*service ${D}${systemd_system_unitdir} 71 ${D}${systemd_system_unitdir}/kea-dhcp*service ${D}${sbindir}/keactrl
|