/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/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-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}, ${fqd}, ${bootfile_url}" "START" 93 update_netboot_status "dhcp" "Invalid address prefix ${ipv6}" "FAIL" 99 update_netboot_status "dhcp" "Invalid address ${ipv6}" "FAIL" [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-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/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/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. 133 High level definitions of available DHCP states. These definitions do 135 contents. both: Enable IPv4 DHCP and IPv6 Stateful DHCP v4v6stateless: 136 Enable IPv4 DHCP and IPv6 SLAAC v6: Enable IPv6 Stateful DHCP 137 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/linux/tools/hv/ |
H A D | hv_get_dhcp_info.sh | 4 # This example script retrieves the DHCP state of a given interface. 7 # DHCP setting for the specific interface. 12 # that DHCP is enabled on the interface. If DHCP is not enabled, 17 # this script can be based on the Network Manager APIs for retrieving DHCP 22 dhcp=$(grep "dhcp" $if_file 2>/dev/null) 24 if [ "$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-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/openbmc/meta-google/recipes-google/networking/ |
H A D | gbmc-bridge.bb | 24 file://gbmc-br-dhcp.sh \ 27 file://gbmc-br-dhcp@.service \ 28 file://gbmc-br-dhcp-term.sh \ 29 file://gbmc-br-dhcp-term.service \ 32 file://gbmc-start-dhcp.sh \ 38 ${datadir}/gbmc-br-dhcp \ 47 dhcp-done \ 57 gbmc-br-dhcp-term.service \ 153 install -m0755 ${UNPACKDIR}/gbmc-br-dhcp.sh ${D}${libexecdir}/ 154 install -m0755 ${UNPACKDIR}/gbmc-br-dhcp-term.sh ${D}${libexecdir}/ [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/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | btcoex.c | 23 /* BT registers values during DHCP */ 37 * enum brcmf_btcoex_state - BT coex DHCP state machine states 39 * @BRCMF_BT_DHCP_START: DHCP started, wait before 41 * @BRCMF_BT_DHCP_OPPR_WIN: graceful DHCP opportunity ended, 56 * @timer: timer for DHCP state machine 58 * @timer_on: DHCP timer active 59 * @dhcp_done: DHCP finished before T1/T2 timer expiration 60 * @bt_state: DHCP state machine state 61 * @work: DHCP state machine work 134 * during DHCP window [all …]
|
/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-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/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/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/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/bmcweb/redfish-core/schema/dmtf/json-schema/ |
H A D | EthernetInterface.v1_12_4.json | 43 "None": "Continue attempting DHCP without a fallback address.", 47 "AutoConfig": "DHCP shall fall back to an address generated by the implementation.", 48 …"None": "DHCP shall continue trying to obtain an address without falling back to a fixed address.", 49 … "Static": "DHCP shall fall back to a static address specified by `IPv4StaticAddresses`." 56 "longDescription": "This type shall describe the configuration of DHCP v4.", 73 … "description": "An indication of whether DHCP v4 is enabled on this Ethernet interface.", 74 …"longDescription": "This property shall indicate whether DHCP v4 is enabled for this Ethernet inte… 97 … "description": "An indication of whether this interface uses DHCP v4-supplied DNS servers.", 98 …ongDescription": "This property shall indicate whether the interface uses DHCP v4-supplied DNS ser… 107 … "description": "An indication of whether this interface uses a DHCP v4-supplied domain name.", [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/ |
H A D | EthernetInterface.v1_12_4.json | 43 "None": "Continue attempting DHCP without a fallback address.", 47 "AutoConfig": "DHCP shall fall back to an address generated by the implementation.", 48 …"None": "DHCP shall continue trying to obtain an address without falling back to a fixed address.", 49 … "Static": "DHCP shall fall back to a static address specified by `IPv4StaticAddresses`." 56 "longDescription": "This type shall describe the configuration of DHCP v4.", 73 … "description": "An indication of whether DHCP v4 is enabled on this Ethernet interface.", 74 …"longDescription": "This property shall indicate whether DHCP v4 is enabled for this Ethernet inte… 97 … "description": "An indication of whether this interface uses DHCP v4-supplied DNS servers.", 98 …ongDescription": "This property shall indicate whether the interface uses DHCP v4-supplied DNS ser… 107 … "description": "An indication of whether this interface uses a DHCP v4-supplied domain name.", [all …]
|
/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 \ 31 SYSTEMD_SERVICE:${PN} = "kea-dhcp4.service kea-dhcp6.service kea-dhcp-ddns.service" 65 install -m 0644 ${UNPACKDIR}/kea-dhcp*service ${D}${systemd_system_unitdir} 69 ${D}${systemd_system_unitdir}/kea-dhcp*service ${D}${sbindir}/keactrl
|