2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-17 18:11:10 +00:00
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
2020-05-12 14:58:49 -04:00
2020-05-06 17:26:27 -04:00
2020-04-29 09:06:57 -04:00
2018-10-11 15:54:39 -04:00
2020-04-08 11:07:25 -04:00
2019-11-13 09:24:57 -05:00
2020-05-11 09:29:03 -04:00
2018-10-11 15:54:39 -04:00
2018-10-03 11:19:27 -04:00
2018-10-11 15:54:39 -04:00
2018-11-28 10:28:17 +08:00
2017-03-14 11:27:56 -04:00
2018-11-20 18:46:13 +08:00
2018-02-09 01:03:46 -05:00
2019-09-17 15:02:21 -04:00
2017-12-31 23:59:59 +00:00
2019-05-14 16:28:29 -04:00
2020-03-05 14:00:40 -05:00

xCAT

xCAT is a toolkit for deployment and administration of clusters of all sizes.

Documentation

xCAT Documentation is hosted on Read The Docs: https://xcat-docs.readthedocs.io

Status

xCAT Version Build Status
Latest (master branch) Documentation Status
Stable (latest release) Documentation Status

Looking for older versions?

Open Source License

xCAT is made available under the EPL license: https://opensource.org/licenses/eclipse-1.0.php

Developers

Want to help? Check out the developers guide!

Description
No description provided
Readme EPL-1.0 230 MiB
Languages
Perl 78.5%
Shell 11.4%
JavaScript 7.1%
Python 1.8%
PHP 0.4%
Other 0.4%