2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-24 05:11:12 +00:00
Commit Graph

67 Commits

Author SHA1 Message Date
Mark Gurevich
a5d5ee03be Additional testcase and postscript changes for AlmaLinux 2023-02-07 14:54:35 -05:00
Mark Gurevich
231fa5284e Modify regression testcases to run on Rocky 2021-08-04 14:28:43 -04:00
besawn
3ddbd7d1f8 Merge pull request #7008 from peterwywong/correct_standa_2
Correct misspelling in test cases from .standa to .stanza
2021-07-20 16:22:20 -04:00
Wai Yee Wong
3fefbaf0b1 Correct misspelling in test cases from .standa to .stanza 2021-07-19 18:11:36 -04:00
Wai Yee Wong
9a81dba5f5 Simplify the checking of the br0 netmask 2021-07-19 15:10:37 -04:00
Wai Yee Wong
5137e0ec4f Verify the correct network mask returned by get_network_attr in nicutils.sh 2021-07-16 15:41:39 -04:00
Mark Gurevich
783618dea5 Add timeout to confignetwork testcases 2021-05-14 15:06:35 -04:00
Wai Yee Wong
7ef173824e Remove check:rc==0 for nmcli con reload 2021-02-03 13:45:04 -05:00
Wai Yee Wong
fc380e1ea3 Modify two confignetwork test cases so that <nmcli con reload> is done after network-scripts is restored under /etc/sysconfig 2021-02-01 19:32:56 -05:00
Mark Gurevich
d96faa7430 Use yum list to check if package is available 2020-10-21 16:37:30 -04:00
Mark Gurevich
75bccc6d7f Only install bridge-utils on RH7.x 2020-10-21 13:15:50 -04:00
Mark Gurevich
d9a1f127dc Add extra output to confignetwork testcase 2020-09-04 11:25:52 -04: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
cxhong
fc2d810a6e Modify the confignetwork_2eth_bridge_br22_br33 test cases 2020-02-05 14:17:41 -05:00
bybai
e071aa2b87 fix confignetwork confignetwork_installnic_2eth_bridge_br22_br33 failure 2019-05-16 23:36:17 -04:00
bybai
d548bc5bf9 optimize confignetwork_2eth_bridge_br22_br33 test case 2019-05-13 05:10:46 -04:00
litingt
97fc55f4ca update confignetwork cases to support new os 2019-05-06 02:47:00 -04:00
litingt
7788b72009 update according to comments 2019-05-04 23:11:09 -04:00
litingt
7e699899be update confignetwork cases to support rhels8 change 2019-04-30 05:24:41 -04:00
bybai
4aff025a9c refine confignetwork 4 basic test cases 2019-03-26 04:09:05 -04:00
litingt
886ae70b93 update genimage and confignetwork cases 2019-03-26 02:11:09 -04:00
bybai
e5f7697baa refine configeth using nmcli 2019-03-25 06:10:42 -04:00
Yuan Bai
deb1ac1620 Merge pull request #6154 from zet809/update_configvlan_case
Update configvlan case
2019-03-22 13:37:02 +08:00
ertaozh
4d74166a73 Refine case confignetwork_vlan_false and confignetwork_vlan_eth0 not echo Donothing 2019-03-22 00:56:27 -04:00
bybai
875788f2e4 enhance confignetwork test case 2019-03-22 00:50:39 -04:00
ertaozh
75e14118a3 update case confignetwork_vlan_false 2019-03-21 23:02:02 -04:00
bybai
e86674ec2f enhance configure bond and bridge 2 test cases 2019-03-21 22:42:06 -04:00
ertaozh
1833b53b50 Update confignetwork_vlan_eth0 for RH8 2019-03-21 22:32:56 -04:00
litingt
edd3d387f8 remove commented lines 2019-02-27 21:28:46 -05:00
litingt
5061ac9789 update more cases 2019-02-26 02:06:08 -05:00
litingt
d403f865a6 go ahead to update cases 2019-02-25 03:00:18 -05:00
litingt
8a6bf7fd37 refine some confignetwork test cases to avoid using the same bogus IP address 2019-02-21 01:46:02 -05:00
Weihua Hu
df3b703791 Merge pull request #5941 from tingtli/task549
implement a script to achieve retry mechanism against rinstall
2019-01-23 16:00:41 +08:00
litingt
09edffb750 update cases to let rinstall try several times 2019-01-23 01:37:03 -05:00
litingt
3fc938dea9 add lsdef to get more debug info 2019-01-15 01:51:18 -05:00
litingt
d37f276389 add test case for issue 3602: confignetwork cannot work when regular expression is used in nics table 2019-01-15 01:21:12 -05:00
bxuxa
67a9fab15b confignetworks case support CentOS MN (https://github.com/xcat2/xcat2-task-management/issues/543) 2018-12-29 14:40:00 +08:00
litingt
74e207adbd update confignetwork cases to remove invoke_provision for some cases 2018-11-15 02:14:12 -05:00
litingt
bf37448db6 add labels for all cases which has no labels 2018-11-04 22:23:08 -05:00
GONG Jie
55fe788b36 Remove trailing spaces in file xCAT-test/autotest/testcase/confignetwork/cases0 2017-12-31 23:59:59 +00:00
bybai
aa78a856f9 fix typo in confignetwork test cases 2017-10-31 03:15:18 -04:00
bybai
7c57e44b36 enhance confignetwork_secondarynic_nictype_updatenode_false based on code change 2017-10-19 22:07:52 -04:00
bybai
a7a1ebde6b fix 12.1.0.100 existed error 2017-09-08 01:54:40 -04:00
Yuan Bai
3b2245d6e6 Fix confignetwork issue and modify test case accordingly (#3814)
* Fix confignetwork issue and modify test case accordingly

* polished

* enhance test cases

* polished

* enhance test case
2017-08-31 14:21:22 +08:00
Yuan Bai
b0249c798f Merge pull request #3756 from tingtli/confignetworkup
fix bug 3753  typo in confignetworks cases, refine cases
2017-08-24 17:59:44 +08:00
litingt@cn.ibm.com
5abc661531 fix bug 3753 typo in confignetworks cases, refine cases 2017-08-24 04:25:45 -04:00
GONG Jie
06c3ad5b37 Revise the test case confignetwork_static_installnic 2017-08-24 16:13:13 +08:00
GONG Jie
3d3a880f78 Revise the test case confignetwork_static_installnic 2017-08-23 17:39:15 +08:00
GONG Jie
f4c047d018 Revise the test case confignetwork_static_installnic 2017-08-17 15:45:21 +08:00
GONG Jie
3c8f16b4c8 Add a test case against confignetwork 2017-08-11 16:15:12 +08:00