mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-30 17:46:38 +00:00
update confignetwork cases to remove invoke_provision for some cases
This commit is contained in:
parent
cb3dca58d9
commit
74e207adbd
@ -152,7 +152,7 @@ end
|
||||
|
||||
start:confignetwork_s_installnic_secondarynic_updatenode
|
||||
description: this case is to test confignetwork -s could configure installnic and secondarynic successfully with updatenode.
|
||||
label:others,network,invoke_provision
|
||||
label:others,network
|
||||
cmd:lsdef $$CN;if [ $? -eq 0 ]; then lsdef -l $$CN -z >/tmp/CN.standa ;fi
|
||||
check:rc==0
|
||||
cmd:xdsh $$CN "rm -rf /tmp/backupnet/"
|
||||
@ -184,7 +184,7 @@ end
|
||||
|
||||
start:confignetwork_secondarynic_updatenode
|
||||
description: this case is to test confignetwork could configure secondarynic successfully with updatenode.
|
||||
label:others,network,invoke_provision
|
||||
label:others,network
|
||||
cmd:lsdef $$CN;if [ $? -eq 0 ]; then lsdef -l $$CN -z >/tmp/CN.standa ;fi
|
||||
check:rc==0
|
||||
cmd:xdsh $$CN "rm -rf /tmp/backupnet/"
|
||||
@ -214,7 +214,7 @@ end
|
||||
|
||||
start: confignetwork_secondarynic_nicaliases_updatenode
|
||||
description: this case is to test confignetwork could config secondarynic nicaliases successfully with updatenode.
|
||||
label:others,network,invoke_provision
|
||||
label:others,network
|
||||
cmd:lsdef $$CN;if [ $? -eq 0 ]; then lsdef -l $$CN -z >/tmp/CN.standa ;fi
|
||||
check:rc==0
|
||||
cmd:xdsh $$CN "rm -rf /tmp/backupnet/"
|
||||
@ -257,7 +257,7 @@ end
|
||||
|
||||
start:confignetwork_secondarynic_nicextraparams_updatenode
|
||||
description: this case is to test confignetwork could configure secondarynic nicextraparams successfully with updatenode.
|
||||
label:others,network,invoke_provision
|
||||
label:others,network
|
||||
cmd:lsdef $$CN;if [ $? -eq 0 ]; then lsdef -l $$CN -z >/tmp/CN.standa ;fi
|
||||
check:rc==0
|
||||
cmd:xdsh $$CN "rm -rf /tmp/backupnet/"
|
||||
@ -301,7 +301,7 @@ end
|
||||
|
||||
start:confignetwork_secondarynic_nicnetworks_updatenode_false
|
||||
description: this case is to test confignetwork could return error message when there is no not enough attributes when configing secondarynic with updatenode.
|
||||
label:others,network,invoke_provision
|
||||
label:others,network
|
||||
cmd:lsdef $$CN;if [ $? -eq 0 ]; then lsdef -l $$CN -z >/tmp/CN.standa ;fi
|
||||
check:rc==0
|
||||
cmd:mkdef -t network -o 11_1_0_0-255_255_0_0 net=11.1.0.0 mask=255.255.0.0 mgtifname=$$SECONDNIC
|
||||
@ -318,7 +318,7 @@ end
|
||||
|
||||
start:confignetwork_secondarynic_nicips_updatenode_false
|
||||
description: this case is to test confignetwork could return error message when there is no not enough attributes when configing secondarynic with updatenode.
|
||||
label:others,network,invoke_provision
|
||||
label:others,network
|
||||
cmd:lsdef $$CN;if [ $? -eq 0 ]; then lsdef -l $$CN -z >/tmp/CN.standa ;fi
|
||||
check:rc==0
|
||||
cmd:mkdef -t network -o 11_1_0_0-255_255_0_0 net=11.1.0.0 mask=255.255.0.0 mgtifname=$$SECONDNIC
|
||||
@ -335,7 +335,7 @@ end
|
||||
|
||||
start:confignetwork_secondarynic_nictype_updatenode_false
|
||||
description: this case is to test confignetwork could return error message when there is no not enough attributes when configing secondarynic with updatenode.
|
||||
label:others,network,invoke_provision
|
||||
label:others,network
|
||||
cmd:lsdef $$CN;if [ $? -eq 0 ]; then lsdef -l $$CN -z >/tmp/CN.standa ;fi
|
||||
check:rc==0
|
||||
cmd:mkdef -t network -o 11_1_0_0-255_255_0_0 net=11.1.0.0 mask=255.255.0.0 mgtifname=$$SECONDNIC
|
||||
@ -353,7 +353,7 @@ end
|
||||
|
||||
start:confignetwork_disable_set_to_yes
|
||||
description: this case is to test if confignetwork could work correctly when disable is set to yes in nics table
|
||||
label:others,network,invoke_provision
|
||||
label:others,network
|
||||
cmd:lsdef $$CN;if [ $? -eq 0 ]; then lsdef -l $$CN -z >/tmp/CN.standa ;fi
|
||||
check:rc==0
|
||||
cmd:mkdef -t network -o 11_1_0_0-255_255_0_0 net=100.1.0.0 mask=255.255.0.0 mgtifname=$$SECONDNIC
|
||||
@ -374,7 +374,7 @@ end
|
||||
|
||||
start:confignetwork_disable_set_to_1
|
||||
description: this case is to test if confignetwork could work correctly when disable is set to 1 in nics table
|
||||
label:others,network,invoke_provision
|
||||
label:others,network
|
||||
cmd:lsdef $$CN;if [ $? -eq 0 ]; then lsdef -l $$CN -z >/tmp/CN.standa ;fi
|
||||
check:rc==0
|
||||
cmd:mkdef -t network -o 11_1_0_0-255_255_0_0 net=100.1.0.0 mask=255.255.0.0 mgtifname=$$SECONDNIC
|
||||
@ -395,7 +395,7 @@ end
|
||||
|
||||
start:confignetwork_niccustomscripts
|
||||
description: this case is to test confignetwork could config secondarynic and envoke scripts to execute.
|
||||
label:others,network,invoke_provision
|
||||
label:others,network
|
||||
cmd:lsdef $$CN;if [ $? -eq 0 ]; then lsdef -l $$CN -z >/tmp/CN.standa ;fi
|
||||
check:rc==0
|
||||
cmd:echo "echo hello > /tmp/confignetwork_niccustomscript" > /tmp/script1
|
||||
@ -423,7 +423,7 @@ end
|
||||
|
||||
start:confignetwork_secondarynic_thirdnic_multiplevalue_updatenode
|
||||
description:this case is to verify if confignetwork could config serveral nics' multiple value at the same time.
|
||||
label:others,network,invoke_provision
|
||||
label:others,network
|
||||
cmd:lsdef $$CN;if [ $? -eq 0 ]; then lsdef -l $$CN -z >/tmp/CN.standa ;fi
|
||||
check:rc==0
|
||||
cmd:xdsh $$CN "rm -rf /tmp/backupnet/"
|
||||
@ -483,7 +483,7 @@ end
|
||||
|
||||
start:confignetwork_vlan_eth0
|
||||
description: this case is to verify if confignetwork could config vlan for CN.When CN has Ethernet nic eth0, user wants to confgure 2 vlans, Configure vlan eth0.6 60.5.106.9 and eth0.7 70.5.106.9 based on ethernet nic eth0
|
||||
label:others,network,invoke_provision
|
||||
label:others,network
|
||||
cmd:lsdef $$CN;if [ $? -eq 0 ]; then lsdef -l $$CN -z >/tmp/CN.standa ;fi
|
||||
check:rc==0
|
||||
cmd:xdsh $$CN "rm -rf /tmp/backupnet/"
|
||||
@ -535,7 +535,7 @@ end
|
||||
|
||||
start:confignetwork_vlan_false
|
||||
description:this case is to verify if confignetwork could process the false value when vlan nicdevice is not correctly set
|
||||
label:others,network,invoke_provision
|
||||
label:others,network
|
||||
cmd:lsdef $$CN;if [ $? -eq 0 ]; then lsdef -l $$CN -z >/tmp/CN.standa ;fi
|
||||
check:rc==0
|
||||
cmd:xdsh $$CN "rm -rf /tmp/backupnet/"
|
||||
@ -580,7 +580,7 @@ end
|
||||
|
||||
start:confignetwork_bond_eth2_eth3
|
||||
description: this case is to verify if confignetwork could config bond for CN.CN has 2 Ethernet nics, eth2 and eth3, user configures bond bond0 using ethernet nic eth2 and eth3.
|
||||
label:others,network,invoke_provision
|
||||
label:others,network
|
||||
cmd:lsdef $$CN;if [ $? -eq 0 ]; then lsdef -l $$CN -z >/tmp/CN.standa ;fi
|
||||
check:rc==0
|
||||
cmd:xdsh $$CN "rm -rf /tmp/backupnet/"
|
||||
@ -635,7 +635,7 @@ end
|
||||
|
||||
start:confignetwork_bond_false
|
||||
description: this case is to verify if confignetwork could process when bond is not correctly set.
|
||||
label:others,network,invoke_provision
|
||||
label:others,network
|
||||
cmd:lsdef $$CN;if [ $? -eq 0 ]; then lsdef -l $$CN -z >/tmp/CN.standa ;fi
|
||||
check:rc==0
|
||||
cmd:xdsh $$CN "rm -rf /tmp/backupnet/"
|
||||
@ -684,7 +684,7 @@ end
|
||||
|
||||
start:confignetwork_vlan_bond
|
||||
description: this case is to verify if confignetwork could config bond for CN.CN has 2 Ethernet nic eth2 and eth3, user wants to bond them to bond0, then make 2 vlan bond0.2 and bond0.3 for data network.
|
||||
label:others,network,invoke_provision
|
||||
label:others,network
|
||||
cmd:lsdef $$CN;if [ $? -eq 0 ]; then lsdef -l $$CN -z >/tmp/CN.standa ;fi
|
||||
check:rc==0
|
||||
cmd:xdsh $$CN "rm -rf /tmp/backupnet/"
|
||||
@ -750,7 +750,7 @@ end
|
||||
|
||||
start:confignetwork_2eth_bridge_br0
|
||||
description:this case is to verify if confignetwork could config bridge for CN.CN has 2 Ethernet nics eth2 and eth3, user want to configure bond bond0 using eth2 and eth3, creates bridge br0 based on bond0.
|
||||
label:others,network,invoke_provision
|
||||
label:others,network
|
||||
cmd:lsdef $$CN;if [ $? -eq 0 ]; then lsdef -l $$CN -z >/tmp/CN.standa ;fi
|
||||
check:rc==0
|
||||
cmd:xdsh $$CN "rm -rf /tmp/backupnet/"
|
||||
@ -805,7 +805,7 @@ end
|
||||
|
||||
start:confignetwork_2eth_bridge_br22_br33
|
||||
description:this case is to verify if confignetwork could config bridge for CN.CN has 2 Ethernet nics eth2 and eth3, user wants to bond them as bond0, then make vlan bond0.2 and bond0.3, using bond0.2 create bridge br22,using bond0.3 create bridge br33. Use confignetwork to configure bond bond0, create vlan bond0.2 and bond0.3, create bridge br22 and br33.
|
||||
label:others,network,invoke_provision
|
||||
label:others,network
|
||||
cmd:lsdef $$CN;if [ $? -eq 0 ]; then lsdef -l $$CN -z >/tmp/CN.standa ;fi
|
||||
check:rc==0
|
||||
cmd:xdsh $$CN "rm -rf /tmp/backupnet/"
|
||||
@ -872,7 +872,7 @@ end
|
||||
|
||||
start:confignetwork_installnic_2eth_bridge_br22_br33
|
||||
description:this case is to test if confignetwork could config installnic and 2 bridges at the same time
|
||||
label:others,network,invoke_provision
|
||||
label:others,network
|
||||
cmd:lsdef $$CN;if [ $? -eq 0 ]; then lsdef -l $$CN -z >/tmp/CN.standa ;fi
|
||||
check:rc==0
|
||||
cmd:xdsh $$CN "rm -rf /tmp/backupnet/"
|
||||
@ -942,7 +942,7 @@ end
|
||||
|
||||
start:confignetwork__bridge_false
|
||||
description:this case is to test if confignetwork could process false value when the bridge is not correctly set.
|
||||
label:others,network,invoke_provision
|
||||
label:others,network
|
||||
cmd:lsdef $$CN;if [ $? -eq 0 ]; then lsdef -l $$CN -z >/tmp/CN.standa ;fi
|
||||
check:rc==0
|
||||
cmd:xdsh $$CN "rm -rf /tmp/backupnet/"
|
||||
@ -975,7 +975,7 @@ end
|
||||
|
||||
start:confignetwork_static_installnic
|
||||
description:Reconfigure installnic without dhclient lease file
|
||||
label:others,network,invoke_provision
|
||||
label:others,network
|
||||
cmd:lsdef $$CN -z && lsdef -l $$CN -z >/tmp/CN.stanza
|
||||
check:rc==0
|
||||
cmd:xdsh $$CN "mkdir -p /tmp/backupnet"
|
||||
|
Loading…
x
Reference in New Issue
Block a user