acrn-hypervisor/misc/config_tools/static_allocators
Yang,Yu-chu 3ed36ff02a config-tools: refine append_node and add get_node
Refine the "append_node" which can add new node with an attribute and
return the appended node.

The method "get_node" finds the xpath value and return it if there is an
unique node exists, otherwise it returns None.
It is used to get an xpath element node or can determine the xpath existence.

The "get_text" is replaced with "get_node". The only get_text in
hv_ram.py is modified accordingly.

Tracked-On: #5980
Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com>
Reviewed-by: Junjie Mao <junjie.mao@intel.com>
2021-05-07 14:39:08 +08:00
..
lib config-tools: add lib.py to static_allocators/lib 2021-05-07 14:39:08 +08:00
hv_ram.py config-tools: refine append_node and add get_node 2021-05-07 14:39:08 +08:00
main.py acrn-config: Reorg config tool folder 2021-01-27 11:08:28 +08:00