ilomconfig modify in OHMP 2.2.7 is not working in XML files when comments present (Doc ID 1587056.1)

Last updated on MAY 02, 2017

Applies to:

SPARC T4-2 - Version All Versions to All Versions [Release All Releases]
Information in this document applies to any platform.

Symptoms

ilomconfig modify in  OHMP 2.2.7 is not working in  XML files when comments present

 

Example with network :

 

(1) You list the contents of configfile.xml

root@dev3-t4-2:/export# ilomconfig list network --xmlfile=/export/configfile.xml
Network - IPv4
==============
Pending IP Address: 10.30.139.120
Pending IP Discovery: static
Pending IP Netmask: 255.255.255.0
Pending IP Gateway: 10.30.139.1
Management Port: MGMT
Interface State: enabled

(2) You modify the content of configfile.xml (network)

root@dev3-t4-2:/export# ilomconfig modify network --xmlfile=/export/configfile.xml
--ipaddress=10.30.139.99 --state=disabled
Set 'pendingipaddress' to '10.30.139.99'
Set 'state' to 'disabled'
Set 'commitpending' to 'true'

(3) You list again  configfile.xml  but the content not change

root@dev3-t4-2:/export# ilomconfig list network --xmlfile=/export/configfile.xml
Network - IPv4
==============
Pending IP Address: 10.30.139.120<-- does not change
Pending IP Discovery: static
Pending IP Netmask: 255.255.255.0
Pending IP Gateway: 10.30.139.1
Management Port: MGMT
Interface State: enabled

root@dev3-t4-2:/export# less configfile.xml
:
  <property>/SP/network/pendingipaddress</property>
  <!--- Description: Pending IP address -->
  <value>10.30.139.120</value>  

 

Changes

 Issue in OHMP 2.2.7

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms