2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-17 11:50:32 +00:00
Files
xcat-core/xCAT-test/autotest/testcase
Chen Hanxiao 1c34dce084 test: confignetwork: update regexp to fix IP matching
update regexp to get the right IP address

Issue:

xcat-com001: configure nic and its device : eth0
xcat-com001: [I]: configure eth0
xcat-com001: [I]: call: NMCLI_USED=0 configeth eth0 10092.168.200.20 confignetworks_test1
xcat-com001: [I]: configeth on xcat-com001: os type: redhat
xcat-com001: configeth on xcat-com001: old configuration: 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
xcat-com001:     link/ether 52:54:00:7d:fe:76 brd ff:ff:ff:ff:ff:ff
xcat-com001:     inet6 fe80::5054:ff:fe7d:fe76/64 scope link
xcat-com001:        valid_lft forever preferred_lft forever
xcat-com001: [I]: configeth on xcat-com001: new configuration
xcat-com001:        10092.168.200.20, 100.168.0.0, 255.255.0.0,				<==== here

Command:
 XCATTEST_MN=192.168.200.10 XCATTEST_SN=192.168.200.10 XCATTEST_ISO=/opt/xcat/CentOS-7-x86_64-DVD-1804.iso XCATTEST_SECONDNIC=eth0 XCATTEST_THIRDNIC=eth2 XCATTEST_CN=xcat-com001 xcattest -t confignetwork_vlan_eth0

# lsdef -t node xcat-com001
Object name: xcat-com001
    arch=x86_64
    currchain=shell
    currstate=runimage=http://192.168.102.124/install/my_image/my_image.tgz
    groups=compute,all
    ip=192.168.200.20
    mac=52:54:00:16:ba:39
    mgt=ipmi
    monserver=192.168.200.10
    netboot=xnba
    nfsserver=192.168.200.10
    postbootscripts=otherpkgs
    postscripts=syslog,remoteshell,syncfiles
    serialport=0
    serialspeed=115200
    status=powering-off
    statustime=05-12-2020 05:39:46
    tftpserver=192.168.200.10
    xcatmaster=192.168.200.10

Signed-off-by: Chen Hanxiao <chen_han_xiao@126.com>
2020-05-14 15:05:24 +08:00
..
2019-06-27 16:24:40 -04:00
2018-07-02 05:27:01 -04:00
2020-04-20 18:18:07 -04:00
2018-11-05 01:19:21 -05:00
2018-04-18 16:48:28 +08:00
2018-11-04 23:41:03 -05:00
2018-11-05 01:19:21 -05:00
2019-03-27 04:23:39 -04:00
2019-01-15 03:34:11 -05:00
2018-11-05 03:24:53 -05:00
2018-11-07 00:45:52 -05:00
2019-10-10 10:17:27 -04:00
2018-11-28 01:51:26 -05:00
2018-11-05 01:19:21 -05:00
2019-05-14 11:52:19 -04:00
2019-03-27 03:42:46 -04:00
2020-04-03 15:12:52 -04:00
2018-11-05 01:19:21 -05:00
2018-11-28 01:51:26 -05:00
2019-04-03 02:16:17 -04:00
2018-11-27 22:44:59 -05:00
2019-03-20 04:04:47 -04:00
2018-11-15 02:44:58 -05:00