Switching to static network address issues
Gunnar Mills
gmills at linux.vnet.ibm.com
Thu Apr 11 07:14:16 AEST 2019
On 4/10/2019 7:55 AM, Ratan Gupta wrote:
>
> Can you take a look at what are the rest url which is being executed
> underneath?
>
When the DHCP setting changes on the GUI (e.g. "OBTAIN AN IP ADDRESS
AUTOMATICALLY USING DHCP" to "ASSIGN A STATIC IP ADDRESS"), the
/xyz/openbmc_project/network/<interface>/attr/DHCPEnabled interface is
called on "Save settings".
https://github.com/openbmc/phosphor-webui/blob/2f481e4cb83f0c72a9f3aad11431e4abcf5d632c/app/common/services/api-utils.js#L428
Hope this helps.
>
> On 10/04/19 3:39 PM, Troy Lee wrote:
>> Hi William,
>>
>> This issue could be reproduce with WebUI or REST interface.
>> 1. Starts up romulus-bmc qemu as normal, so the IP address is acquired
>> from DHCP by default, let's say "10.1.1.2".
>> 2. Open the browser and login to https://10.1.1.2/,
>> 3. Switch to [Server Configuration] tab.
>> Then you will see the current setting is "OBTAIN AN IP ADDRESS
>> AUTOMATICALLY USING DHCP".
>> 4. Click on checkbox "ASSIGN A STATIC IP ADDRESS, and DO NOT CHANGE
>> the IP address, leave it the same as DHCP IP address "10.1.1.2".
>> 5. Click on "Save settings" button.
>>
More information about the openbmc
mailing list