2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2024-11-21 17:11:52 +00:00
15 Test Design of xcat inventory phase 1
Weihua Hu edited this page 2018-02-05 17:16:04 +08:00

Test Design of configuration management (phase 1)

1 Basic parameter check in CLI

1.1 Option h and help

[Test Case] xcat_inventory_option_h

[Description] This case is used to test xcat-inventory usage information

1.2 Option V

[Test Case] xcat_inventory_option_V

[Description] This case is used to test xcat-inventory option V which used to get version information

YS: -V is not supported yet

1.3 Option t

[Test Case] xcat_inventory_export_option_t_invalid_type

[Description] This case is used to test xcat-inventory export subcommand to handle invalid type for option t.This is a error injection test.

[Test Case] xcat_inventory_import_option_t_invalid_type

[Description] This case is used to test xcat-inventory import subcommand to handle invalid type for option t.This is a error injection test.

1.4 Option format

[Test Case] xcat_inventory_export_option_format_invalid_type

[Description] This case is used to test xcat-inventory export subcommand to handle invalid type for option format. This is a error injection test.

1.5 Option f

[Test Case] xcat_inventory_export_option_f_invalid_file

[Description] This case is used to test xcat-inventory export subcommand to handle invalid file for option f. This is a error injection test.

YS: -f is not supported in export yet

[Test Case] xcat_inventory_import_option_f_invalid_file

[Description] This case is used to test xcat-inventory import subcommand to handle invalid file for option f. This is a error injection test.

1.6 Miss Option

[Test Case] xcat_inventory_import_miss_option

[Description] This case is used to test xcat-inventory import subcommand to handle missing -t or -o option. This is a error injection test.

YS: -t and -a are not mandatory for import, the test case can be -o without -t

2 Node definition backup and restore

2.1 Single Witherspoon node

The cases in this section still can cover mgt=openbmcand mgt=mp scenario.

YS: is mgt=mp still available for witherspoon node?

[Test Case] export_import_single_witherspoon_by_yaml

[Description] This case is used to test xcat-inventory export and import one witherspoon definition by yaml between 2 exact same MNs. Before running this case, make sure these two MNs have been installed same exactly, and the current MN can connect the other MN by ssh without password.

YS: do we still need 2 MNs? is it ok to perform this in the same MN? the steps can be 1) export the node definition A with lsdef -z to A.stanza; 2) export the node definition A with xcat-inventory export to A.yaml; 3) remove the node definition A with rmdef 4)import A.yaml with xcat-inventory import 5)export the new definition A with lsdef -z to A'.stanza 6) diff -y A.stanza A'.stanza

[Test Case] export_import_single_witherspoon_by_json

[Description] This case is used to test xcat-inventory export and import one witherspoon definition by json between 2 exact same MNs. Before running this case, make sure these two MNs have been installed same exactly, and the current MN can connect the other MN by ssh without password.

The definition of witherspoon node with full set attribute is:

groups=bogusgroup
mgt=openbmc
nodetype=mp
addkcmdline=addkcmdline
appstatus=appstatus
appstatustime=appstatustime
arch=arch
authdomain=authdomain
bmc=bmc
bmcpassword=bmcpassword
bmcusername=bmcusername
bmcvlantag=bmcvlantag
cfgmgr=cfgmgr
cfgmgtroles=cfgmgtroles
cfgserver=cfgserver
chain=chain
chassis=chassis
cmdmapping=cmdmapping
cons=cons
conserver=conserver
consoleondemand=consoleondemand
consport=consport
cpucount=cpucount
cputype=cputype
currchain=currchain
currstate=currstate
dhcpinterfaces=dhcpinterfaces
disksize=disksize
domainadminpassword=domainadminpassword
domainadminuser=domainadminuser
domaintype=domaintype
getmac=getmac
hcp=hcp
height=height
hidden=hidden
hostcluster=hostcluster
hostinterface=hostinterface
hostmanager=hostmanager
hostnames=hostnames
hosttype=hosttype
hwtype=hwtype
id=id
initrd=initrd
installnic=installnic
interface=interface
ip=ip
iscsipassword=iscsipassword
iscsiserver=iscsiserver
iscsitarget=iscsitarget
iscsiuserid=iscsiuserid
kcmdline=kcmdline
kernel=kernel
mac=mac
memory=memory
migrationdest=migrationdest
monserver=monserver
mpa=mpa
mtm=mtm
nameservers=nameservers
netboot=netboot
nfsdir=nfsdir
nfsserver=nfsserver
nimserver=nimserver
node=node
ondiscover=ondiscover
os=os
osvolume=osvolume
otherinterfaces=otherinterfaces
ou=ou
pdu=pdu
postbootscripts=postbootscripts
postscripts=postscripts
power=power
prescripts-begin=prescripts-begin
prescripts-end=prescripts-end
primarynic=primarynic
primarysn=primarysn
productkey=productkey
profile=profile
provmethod=provmethod
rack=rack
room=room
routenames=routenames
serial=serial
serialflow=serialflow
serialport=serialport
serialspeed=serialspeed
servicenode=servicenode
setupconserver=setupconserver
setupdhcp=setupdhcp
setupftp=setupftp
setupipforward=setupipforward
setupldap=setupldap
setupnameserver=setupnameserver
setupnfs=setupnfs
setupnim=setupnim
setupntp=setupntp
setupproxydhcp=setupproxydhcp
setuptftp=setuptftp
sfp=sfp
side=side
slot=slot
status=status
statustime=statustime
storagcontroller=storagcontroller
storagetype=storagetype
supernode=supernode
supportedarchs=supportedarchs
supportproxydhcp=supportproxydhcp
switch=switch
switchinterface=switchinterface
switchport=switchport
switchvlan=switchvlan
syslog=syslog
termport=termport
termserver=termserver
tftpdir=tftpdir
tftpserver=tftpserver
unit=unit
updatestatus=updatestatus
updatestatustime=updatestatustime
usercomment=usercomment
vmbeacon=vmbeacon
vmbootorder=vmbootorder
vmcfgstore=vmcfgstore
vmcluster=vmcluster
vmmanager=vmmanager
vmmaster=vmmaster
vmnicnicmodel=vmnicnicmodel
vmphyslots=vmphyslots
vmstorage=vmstorage
vmstoragecache=vmstoragecache
vmstorageformat=vmstorageformat
vmstoragemodel=vmstoragemodel
vmtextconsole=vmtextconsole
vmvirtflags=vmvirtflags
vmvncport=vmvncport
xcatmaster=xcatmaster
zonename=zonename
nicaliases.eth0="moe larry curly"
nicaliases.eth1="tom|jerry"
niccustomscripts.eth0="configeth eth0"
niccustomscripts.ib0="configib ib0"
nicdevices.bond0="eth0|eth2"
nicdevices.br0=bond0
nicextraparams.eth0="MTU=1500"
nicextraparams.ib0="MTU=65520
CONNECTED_MODE=yes"
nichostnameprefixes.eth0="eth0-"
nichostnameprefixes.ib0="ib-"
nichostnamesuffixes.eth0="-eth0"
nichostnamesuffixes.ib0="-ib0"
nicips.ib0=10.10.100.9
nicips.enP48p1s0f0=129.40.234.11
nicips.ib1=10.11.100.9
nicnetworks.enP5p1s0f1.4=xcat_bmc
nicnetworks.enP48p1s0f1=xcat_util
nicnetworks.ib0=IB00
nicnetworks.enP48p1s0f0=pub_yellow
nicnetworks.ib3=IB03
nicnetworks.ib2=IB02
nicnetworks.enP5p1s0f1=xcat_compute
nicnetworks.ib1=IB01
nicnetworks.enP5p1s0f1.5=xcat_infra
nicnetworks.enP5p1s0f1.6=xcat_pdu
nicsadapter.enP3p3s0f1="mac=98:be:94:59:fa:cd linkstate=DOWN"
nicsadapter.enP3p3s0f2="mac=98:be:94:59:fa:ce candidatename=enP3p3s0f2/enx98be9459face"
nictypes.enP5p1s0f1.4=unused
nictypes.enP48p1s0f1=unused
nictypes.ib0=Infiniband
nictypes.enP48p1s0f0=Ethernet
nictypes.ib3=unused
nictypes.ib2=unused
nictypes.enP5p1s0f1=unused
nictypes.ib1=Infiniband
nictypes.enP5p1s0f1.5=unused
nictypes.enP5p1s0f1.6=unused

2.2 Single switch node

[Test Case] export_import_single_switch_by_yaml

[Description] This case is used to test xcat-inventory export and import one switch definition by yaml between 2 exact same MNs. Before running this case, make sure these two MNs have been installed same exactly, and the current MN can connect the other MN by ssh without password.

[Test Case] export_import_single_switch_by_json

[Description] This case is used to test xcat-inventory export and import one switch definition by json between 2 exact same MNs. Before running this case, make sure these two MNs have been installed same exactly, and the current MN can connect the other MN by ssh without password..

The definition of witherspoon node with full set attribute is:

groups=bogusgroup
mgt=switch
nodetype=switch
addkcmdline=addkcmdline
appstatus=appstatus
appstatustime=appstatustime
arch=arch
authdomain=authdomain
cfgmgr=cfgmgr
cfgmgtroles=cfgmgtroles
cfgserver=cfgserver
chain=chain
chassis=chassis
cmdmapping=cmdmapping
cons=cons
conserver=conserver
consoleondemand=consoleondemand
cpucount=cpucount
cputype=cputype
currchain=currchain
currstate=currstate
dhcpinterfaces=dhcpinterfaces
disksize=disksize
domainadminpassword=domainadminpassword
domainadminuser=domainadminuser
domaintype=domaintype
getmac=getmac
hcp=hcp
height=height
hidden=hidden
hostcluster=hostcluster
hostinterface=hostinterface
hostmanager=hostmanager
hostnames=hostnames
hosttype=hosttype
id=id
initrd=initrd
installnic=installnic
interface=interface
ip=ip
iscsipassword=iscsipassword
iscsiserver=iscsiserver
iscsitarget=iscsitarget
iscsiuserid=iscsiuserid
kcmdline=kcmdline
kernel=kernel
linkports=linkports
mac=mac
memory=memory
migrationdest=migrationdest
monserver=monserver
mpa=mpa
mtm=mtm
nameservers=nameservers
netboot=netboot
nfsdir=nfsdir
nfsserver=nfsserver
nimserver=nimserver
node=node
ondiscover=ondiscover
os=os
osvolume=osvolume
otherinterfaces=otherinterfaces
ou=ou
password=password
pdu=pdu
postbootscripts=postbootscripts
postscripts=postscripts
power=power
prescripts-begin=prescripts-begin
prescripts-end=prescripts-end
primarynic=primarynic
primarysn=primarysn
productkey=productkey
profile=profile
protocol=protocol
provmethod=provmethod
rack=rack
room=room
routenames=routenames
serial=serial
serialflow=serialflow
serialport=serialport
serialspeed=serialspeed
servicenode=servicenode
setupconserver=setupconserver
setupdhcp=setupdhcp
setupftp=setupftp
setupipforward=setupipforward
setupldap=setupldap
setupnameserver=setupnameserver
setupnfs=setupnfs
setupnim=setupnim
setupntp=setupntp
setupproxydhcp=setupproxydhcp
setuptftp=setuptftp
sfp=sfp
side=side
slot=slot
snmpauth=snmpauth
snmppassword=snmppassword
snmpprivacy=snmpprivacy
snmpusername=snmpusername
snmpversion=snmpversion
status=status
statustime=statustime
storagcontroller=storagcontroller
storagetype=storagetype
supernode=supernode
supportedarchs=supportedarchs
supportproxydhcp=supportproxydhcp
switch=switch
switchinterface=switchinterface
switchport=switchport
switchtype=switchtype
switchvlan=switchvlan
syslog=syslog
termport=termport
termserver=termserver
tftpdir=tftpdir
tftpserver=tftpserver
unit=unit
updatestatus=updatestatus
updatestatustime=updatestatustime
usercomment=usercomment
username=username
vmbeacon=vmbeacon
vmbootorder=vmbootorder
vmcfgstore=vmcfgstore
vmcluster=vmcluster
vmmanager=vmmanager
vmmaster=vmmaster
vmnicnicmodel=vmnicnicmodel
vmphyslots=vmphyslots
vmstorage=vmstorage
vmstoragecache=vmstoragecache
vmstorageformat=vmstorageformat
vmstoragemodel=vmstoragemodel
vmtextconsole=vmtextconsole
vmvirtflags=vmvirtflags
vmvncport=vmvncport
xcatmaster=xcatmaster
zonename=zonename
nicaliases.eth0="moe larry curly"
nicaliases.eth1="tom|jerry"
niccustomscripts.eth0="configeth eth0"
niccustomscripts.ib0="configib ib0"
nicdevices.bond0="eth0|eth2"
nicdevices.br0=bond0
nicextraparams.eth0="MTU=1500"
nicextraparams.ib0="MTU=65520 CONNECTED_MODE=yes"
nichostnameprefixes.eth0="eth0-"
nichostnameprefixes.ib0="ib-"
nichostnamesuffixes.eth0="-eth0"
nichostnamesuffixes.ib0="-ib0"
nicips.ib0=10.10.100.9
nicips.enP48p1s0f0=129.40.234.11
nicips.ib1=10.11.100.9
nicnetworks.enP5p1s0f1.4=xcat_bmc
nicnetworks.enP48p1s0f1=xcat_util
nicnetworks.ib0=IB00
nicnetworks.enP48p1s0f0=pub_yellow
nicnetworks.ib3=IB03
nicnetworks.ib2=IB02
nicnetworks.enP5p1s0f1=xcat_compute
nicnetworks.ib1=IB01
nicnetworks.enP5p1s0f1.5=xcat_infra
nicnetworks.enP5p1s0f1.6=xcat_pdu
nicsadapter.enP3p3s0f1="mac=98:be:94:59:fa:cd linkstate=DOWN"
nicsadapter.enP3p3s0f2="mac=98:be:94:59:fa:ce candidatename=enP3p3s0f2/enx98be9459face"
nictypes.enP5p1s0f1.4=unused
nictypes.enP48p1s0f1=unused
nictypes.ib0=Infiniband
nictypes.enP48p1s0f0=Ethernet
nictypes.ib3=unused
nictypes.ib2=unused
nictypes.enP5p1s0f1=unused
nictypes.ib1=Infiniband
nictypes.enP5p1s0f1.5=unused
nictypes.enP5p1s0f1.6=unused

2.3 Single boston node

The cases in this section still can cover p8 physical and x86 physical scenario.

[Test Case] export_import_single_boston_by_yaml

[Description] This case is used to test xcat-inventory export and import one boston definition by yaml between 2 exact same MNs. This case can also cover p8 physical|, x86 physical. Before running this case, make sure these two MNs have been installed same exactly, and the current MN can connect the other MN by ssh without password.

[Test Case] export_import_single_boston_by_json

[Description] This case is used to test xcat-inventory export and import one boston definition by json between 2 exact same MNs.This case also can cover p8 physical server and x86 physical server.Before running this case, make sure these two MNs have been installed same exactly, and the current MN can connect the other MN by ssh without password.

The definition of boston node with full set attribute is:

groups=bogusgroup
mgt=ipmi
addkcmdline=addkcmdline
appstatus=appstatus
appstatustime=appstatustime
arch=arch
authdomain=authdomain
bmc=bmc
bmcpassword=bmcpassword
bmcport=bmcport
bmcusername=bmcusername
bmcvlantag=bmcvlantag
cfgmgr=cfgmgr
cfgmgtroles=cfgmgtroles
cfgserver=cfgserver
chain=chain
chassis=chassis
cmdmapping=cmdmapping
cons=cons
conserver=conserver
consoleondemand=consoleondemand
cpucount=cpucount
cputype=cputype
currchain=currchain
currstate=currstate
dhcpinterfaces=dhcpinterfaces
disksize=disksize
domainadminpassword=domainadminpassword
domainadminuser=domainadminuser
domaintype=domaintype
getmac=getmac
hcp=hcp
height=height
hidden=hidden
hostcluster=hostcluster
hostinterface=hostinterface
hostmanager=hostmanager
hostnames=hostnames
hosttype=hosttype
hwtype=hwtype
id=id
initrd=initrd
installnic=installnic
interface=interface
ip=ip
iscsipassword=iscsipassword
iscsiserver=iscsiserver
iscsitarget=iscsitarget
iscsiuserid=iscsiuserid
kcmdline=kcmdline
kernel=kernel
mac=mac
memory=memory
migrationdest=migrationdest
monserver=monserver
mpa=mpa
mtm=mtm
nameservers=nameservers
netboot=netboot
nfsdir=nfsdir
nfsserver=nfsserver
nimserver=nimserver
node=node
ondiscover=ondiscover
os=os
osvolume=osvolume
otherinterfaces=otherinterfaces
ou=ou
pdu=pdu
postbootscripts=postbootscripts
postscripts=postscripts
power=power
prescripts-begin=prescripts-begin
prescripts-end=prescripts-end
primarynic=primarynic
primarysn=primarysn
productkey=productkey
profile=profile
provmethod=provmethod
rack=rack
room=room
routenames=routenames
serial=serial
serialflow=serialflow
serialport=serialport
serialspeed=serialspeed
servicenode=servicenode
setupconserver=setupconserver
setupdhcp=setupdhcp
setupftp=setupftp
setupipforward=setupipforward
setupldap=setupldap
setupnameserver=setupnameserver
setupnfs=setupnfs
setupnim=setupnim
setupntp=setupntp
setupproxydhcp=setupproxydhcp
setuptftp=setuptftp
sfp=sfp
side=side
slot=slot
slotid=slotid
status=status
statustime=statustime
storagcontroller=storagcontroller
storagetype=storagetype
supernode=supernode
supportedarchs=supportedarchs
supportproxydhcp=supportproxydhcp
switch=switch
switchinterface=switchinterface
switchport=switchport
switchvlan=switchvlan
syslog=syslog
termport=termport
termserver=termserver
tftpdir=tftpdir
tftpserver=tftpserver
unit=unit
updatestatus=updatestatus
updatestatustime=updatestatustime
usercomment=usercomment
vmbeacon=vmbeacon
vmbootorder=vmbootorder
vmcfgstore=vmcfgstore
vmcluster=vmcluster
vmmanager=vmmanager
vmmaster=vmmaster
vmnicnicmodel=vmnicnicmodel
vmphyslots=vmphyslots
vmstorage=vmstorage
vmstoragecache=vmstoragecache
vmstorageformat=vmstorageformat
vmstoragemodel=vmstoragemodel
vmtextconsole=vmtextconsole
vmvirtflags=vmvirtflags
vmvncport=vmvncport
xcatmaster=xcatmaster
zonename=zonename
nicaliases.eth0="moe larry curly"
nicaliases.eth1="tom|jerry"
niccustomscripts.eth0="configeth eth0"
niccustomscripts.ib0="configib ib0"
nicdevices.bond0="eth0|eth2"
nicdevices.br0=bond0
nicextraparams.eth0="MTU=1500"
nicextraparams.ib0="MTU=65520 CONNECTED_MODE=yes"
nichostnameprefixes.eth0="eth0-"
nichostnameprefixes.ib0="ib-"
nichostnamesuffixes.eth0="-eth0"
nichostnamesuffixes.ib0="-ib0"
nicips.ib0=10.10.100.9
nicips.enP48p1s0f0=129.40.234.11
nicips.ib1=10.11.100.9
nicnetworks.enP5p1s0f1.4=xcat_bmc
nicnetworks.enP48p1s0f1=xcat_util
nicnetworks.ib0=IB00
nicnetworks.enP48p1s0f0=pub_yellow
nicnetworks.ib3=IB03
nicnetworks.ib2=IB02
nicnetworks.enP5p1s0f1=xcat_compute
nicnetworks.ib1=IB01
nicnetworks.enP5p1s0f1.5=xcat_infra
nicnetworks.enP5p1s0f1.6=xcat_pdu
nicsadapter.enP3p3s0f1="mac=98:be:94:59:fa:cd linkstate=DOWN"
nicsadapter.enP3p3s0f2="mac=98:be:94:59:fa:ce candidatename=enP3p3s0f2/enx98be9459face"
nictypes.enP5p1s0f1.4=unused
nictypes.enP48p1s0f1=unused
nictypes.ib0=Infiniband
nictypes.enP48p1s0f0=Ethernet
nictypes.ib3=unused
nictypes.ib2=unused
nictypes.enP5p1s0f1=unused
nictypes.ib1=Infiniband
nictypes.enP5p1s0f1.5=unused
nictypes.enP5p1s0f1.6=unused

2.4 Single PDU node

[Test Case] export_import_single_pdu_by_json

[Description] This case is used to test xcat-inventory export and import one pdu definition by json between 2 exact same MNs.This case also can cover p8 physical server and x86 physical server.Before running this case, make sure these two MNs have been installed same exactly, and the current MN can connect the other MN by ssh without password.

[Test Case] export_import_single_pdu_by_yaml

[Description] This case is used to test xcat-inventory export and import one pdu definition by yaml between 2 exact same MNs. This case can also cover p8 physical server and x86 physical server. Before running this case, make sure these two MNs have been installed same exactly, and the current MN can connect the other MN by ssh without password.

groups=bogusgroup
mgt=pdu
nodetype=pdu
addkcmdline=addkcmdline
appstatus=appstatus
appstatustime=appstatustime
arch=arch
authdomain=authdomain
authkey=authkey
authtype=authtype
cfgmgr=cfgmgr
cfgmgtroles=cfgmgtroles
cfgserver=cfgserver
chain=chain
chassis=chassis
cmdmapping=cmdmapping
community=community
cons=cons
conserver=conserver
consoleondemand=consoleondemand
cpucount=cpucount
cputype=cputype
currchain=currchain
currstate=currstate
dhcpinterfaces=dhcpinterfaces
disksize=disksize
domainadminpassword=domainadminpassword
domainadminuser=domainadminuser
domaintype=domaintype
getmac=getmac
hcp=hcp
height=height
hidden=hidden
hostcluster=hostcluster
hostinterface=hostinterface
hostmanager=hostmanager
hostnames=hostnames
hosttype=hosttype
id=id
initrd=initrd
installnic=installnic
interface=interface
ip=ip
iscsipassword=iscsipassword
iscsiserver=iscsiserver
iscsitarget=iscsitarget
iscsiuserid=iscsiuserid
kcmdline=kcmdline
kernel=kernel
mac=mac
memory=memory
migrationdest=migrationdest
monserver=monserver
mpa=mpa
mtm=mtm
nameservers=nameservers
netboot=netboot
nfsdir=nfsdir
nfsserver=nfsserver
nimserver=nimserver
node=node
ondiscover=ondiscover
os=os
osvolume=osvolume
otherinterfaces=otherinterfaces
ou=ou
outlet=outlet
password=password
pdu=pdu
pdutype=pdutype
postbootscripts=postbootscripts
postscripts=postscripts
power=power
prescripts-begin=prescripts-begin
prescripts-end=prescripts-end
primarynic=primarynic
primarysn=primarysn
privkey=privkey
privtype=privtype
productkey=productkey
profile=profile
provmethod=provmethod
rack=rack
room=room
routenames=routenames
seclevel=seclevel
serial=serial
serialflow=serialflow
serialport=serialport
serialspeed=serialspeed
servicenode=servicenode
setupconserver=setupconserver
setupdhcp=setupdhcp
setupftp=setupftp
setupipforward=setupipforward
setupldap=setupldap
setupnameserver=setupnameserver
setupnfs=setupnfs
setupnim=setupnim
setupntp=setupntp
setupproxydhcp=setupproxydhcp
setuptftp=setuptftp
sfp=sfp
side=side
slot=slot
snmpuser=snmpuser
snmpversion=SNMPv1
status=status
statustime=statustime
storagcontroller=storagcontroller
storagetype=storagetype
supernode=supernode
supportedarchs=supportedarchs
supportproxydhcp=supportproxydhcp
switch=switch
switchinterface=switchinterface
switchport=switchport
switchvlan=switchvlan
syslog=syslog
termport=termport
termserver=termserver
tftpdir=tftpdir
tftpserver=tftpserver
unit=unit
updatestatus=updatestatus
updatestatustime=updatestatustime
usercomment=usercomment
username=username
vmbeacon=vmbeacon
vmbootorder=vmbootorder
vmcfgstore=vmcfgstore
vmcluster=vmcluster
vmmanager=vmmanager
vmmaster=vmmaster
vmnicnicmodel=vmnicnicmodel
vmphyslots=vmphyslots
vmstorage=vmstorage
vmstoragecache=vmstoragecache
vmstorageformat=vmstorageformat
vmstoragemodel=vmstoragemodel
vmtextconsole=vmtextconsole
vmvirtflags=vmvirtflags
vmvncport=vmvncport
xcatmaster=xcatmaster
zonename=zonename
nicaliases.eth0="moe larry curly"
nicaliases.eth1="tom|jerry"
niccustomscripts.eth0="configeth eth0"
niccustomscripts.ib0="configib ib0"
nicdevices.bond0="eth0|eth2"
nicdevices.br0=bond0
nicextraparams.eth0="MTU=1500"
nicextraparams.ib0="MTU=65520 CONNECTED_MODE=yes"
nichostnameprefixes.eth0="eth0-"
nichostnameprefixes.ib0="ib-"
nichostnamesuffixes.eth0="-eth0"
nichostnamesuffixes.ib0="-ib0"
nicips.ib0=10.10.100.9
nicips.enP48p1s0f0=129.40.234.11
nicips.ib1=10.11.100.9
nicnetworks.enP5p1s0f1.4=xcat_bmc
nicnetworks.enP48p1s0f1=xcat_util
nicnetworks.ib0=IB00
nicnetworks.enP48p1s0f0=pub_yellow
nicnetworks.ib3=IB03
nicnetworks.ib2=IB02
nicnetworks.enP5p1s0f1=xcat_compute
nicnetworks.ib1=IB01
nicnetworks.enP5p1s0f1.5=xcat_infra
nicnetworks.enP5p1s0f1.6=xcat_pdu
nicsadapter.enP3p3s0f1="mac=98:be:94:59:fa:cd linkstate=DOWN"
nicsadapter.enP3p3s0f2="mac=98:be:94:59:fa:ce candidatename=enP3p3s0f2/enx98be9459face"
nictypes.enP5p1s0f1.4=unused
nictypes.enP48p1s0f1=unused
nictypes.ib0=Infiniband
nictypes.enP48p1s0f0=Ethernet
nictypes.ib3=unused
nictypes.ib2=unused
nictypes.enP5p1s0f1=unused
nictypes.ib1=Infiniband
nictypes.enP5p1s0f1.5=unused
nictypes.enP5p1s0f1.6=unused

2.5 Single kvm node

The cases in this section still can cover p8 VM and x86 VM scenario.

[Test Case] export_import_single_kvm_by_json

[Description] This case is used to test xcat-inventory export and import one kvm definition by json between 2 exact same MNs. Before running this case, make sure these two MNs have been installed same exactly, and the current MN can connect the other MN by ssh without password.

[Test Case] export_import_single_kvm_by_yaml

[Description] This case is used to test xcat-inventory export and import one kvm definition by yaml between 2 exact same MNs. Before running this case, make sure these two MNs have been installed same exactly, and the current MN can connect the other MN by ssh without password.

The definition of kvm node with full set attribute is:

groups=bogusgroup
mgt=kvm
addkcmdline=addkcmdline
appstatus=appstatus
appstatustime=appstatustime
arch=arch
authdomain=authdomain
cfgmgr=cfgmgr
cfgmgtroles=cfgmgtroles
cfgserver=cfgserver
chain=chain
chassis=chassis
cmdmapping=cmdmapping
cons=cons
conserver=conserver
consoleondemand=consoleondemand
cpucount=cpucount
cputype=cputype
currchain=currchain
currstate=currstate
dhcpinterfaces=dhcpinterfaces
disksize=disksize
domainadminpassword=domainadminpassword
domainadminuser=domainadminuser
domaintype=domaintype
getmac=getmac
hcp=hcp
height=height
hidden=hidden
hostcluster=hostcluster
hostinterface=hostinterface
hostmanager=hostmanager
hostnames=hostnames
hosttype=hosttype
id=id
initrd=initrd
installnic=installnic
interface=interface
ip=ip
iscsipassword=iscsipassword
iscsiserver=iscsiserver
iscsitarget=iscsitarget
iscsiuserid=iscsiuserid
kcmdline=kcmdline
kernel=kernel
mac=mac
memory=memory
migrationdest=migrationdest
monserver=monserver
mpa=mpa
mtm=mtm
nameservers=nameservers
netboot=netboot
nfsdir=nfsdir
nfsserver=nfsserver
nimserver=nimserver
node=node
ondiscover=ondiscover
os=os
osvolume=osvolume
otherinterfaces=otherinterfaces
ou=ou
pdu=pdu
postbootscripts=postbootscripts
postscripts=postscripts
power=power
prescripts-begin=prescripts-begin
prescripts-end=prescripts-end
primarynic=primarynic
primarysn=primarysn
productkey=productkey
profile=profile
provmethod=provmethod
rack=rack
room=room
routenames=routenames
serial=serial
serialflow=serialflow
serialport=serialport
serialspeed=serialspeed
servicenode=servicenode
setupconserver=setupconserver
setupdhcp=setupdhcp
setupftp=setupftp
setupipforward=setupipforward
setupldap=setupldap
setupnameserver=setupnameserver
setupnfs=setupnfs
setupnim=setupnim
setupntp=setupntp
setupproxydhcp=setupproxydhcp
setuptftp=setuptftp
sfp=sfp
side=side
slot=slot
status=status
statustime=statustime
storagcontroller=storagcontroller
storagetype=storagetype
supernode=supernode
supportedarchs=supportedarchs
supportproxydhcp=supportproxydhcp
switch=switch
switchinterface=switchinterface
switchport=switchport
switchvlan=switchvlan
syslog=syslog
termport=termport
termserver=termserver
tftpdir=tftpdir
tftpserver=tftpserver
unit=unit
updatestatus=updatestatus
updatestatustime=updatestatustime
usercomment=usercomment
vmbeacon=vmbeacon
vmbootorder=vmbootorder
vmcfgstore=vmcfgstore
vmcluster=vmcluster
vmcpus=vmcpus
vmhost=vmhost
vmmanager=vmmanager
vmmaster=vmmaster
vmmemory=vmmemory
vmnicnicmodel=vmnicnicmodel
vmnics=vmnics
vmothersetting=vmothersetting
vmphyslots=vmphyslots
vmstorage=vmstorage
vmstoragecache=vmstoragecache
vmstorageformat=vmstorageformat
vmstoragemodel=vmstoragemodel
vmtextconsole=vmtextconsole
vmvirtflags=vmvirtflags
vmvncport=vmvncport
xcatmaster=xcatmaster
zonename=zonename
nicaliases.eth0="moe larry curly"
nicaliases.eth1="tom|jerry"
niccustomscripts.eth0="configeth eth0"
niccustomscripts.ib0="configib ib0"
nicdevices.bond0="eth0|eth2"
nicdevices.br0=bond0
nicextraparams.eth0="MTU=1500"
nicextraparams.ib0="MTU=65520 CONNECTED_MODE=yes"
nichostnameprefixes.eth0="eth0-"
nichostnameprefixes.ib0="ib-"
nichostnamesuffixes.eth0="-eth0"
nichostnamesuffixes.ib0="-ib0"
nicips.ib0=10.10.100.9
nicips.enP48p1s0f0=129.40.234.11
nicips.ib1=10.11.100.9
nicnetworks.enP5p1s0f1.4=xcat_bmc
nicnetworks.enP48p1s0f1=xcat_util
nicnetworks.ib0=IB00
nicnetworks.enP48p1s0f0=pub_yellow
nicnetworks.ib3=IB03
nicnetworks.ib2=IB02
nicnetworks.enP5p1s0f1=xcat_compute
nicnetworks.ib1=IB01
nicnetworks.enP5p1s0f1.5=xcat_infra
nicnetworks.enP5p1s0f1.6=xcat_pdu
nicsadapter.enP3p3s0f1="mac=98:be:94:59:fa:cd linkstate=DOWN"
nicsadapter.enP3p3s0f2="mac=98:be:94:59:fa:ce candidatename=enP3p3s0f2/enx98be9459face"
nictypes.enP5p1s0f1.4=unused
nictypes.enP48p1s0f1=unused
nictypes.ib0=Infiniband
nictypes.enP48p1s0f0=Ethernet
nictypes.ib3=unused
nictypes.ib2=unused
nictypes.enP5p1s0f1=unused
nictypes.ib1=Infiniband
nictypes.enP5p1s0f1.5=unused
nictypes.enP5p1s0f1.6=unused

2.6 Single PPC node

The cases in this section still can cover hmc scenario.

[Test Case] export_import_single_ppc_by_json

[Description] This case is used to test xcat-inventory export and import one ppc definition by json between 2 exact same MNs.this case can cover hmc,lpar Before running this case, make sure these two MNs have been installed same exactly, and the current MN can connect the other MN by ssh without password.

[Test Case] export_import_single_ppc_by_yaml

[Description] This case is used to test xcat-inventory export and import one ppc definition by yaml between 2 exact same MNs.This case can cover hmc,lpar. Before running this case, make sure these two MNs have been installed same exactly, and the current MN can connect the other MN by ssh without password.

The definition of PPC node with full set attribute is:

groups=bogusgroup
mgt=hmc
nodetype=ppc,osi
addkcmdline=addkcmdline
appstatus=appstatus
appstatustime=appstatustime
arch=arch
authdomain=authdomain
cfgmgr=cfgmgr
cfgmgtroles=cfgmgtroles
cfgserver=cfgserver
chain=chain
chassis=chassis
cmdmapping=cmdmapping
cons=cons
conserver=conserver
consoleondemand=consoleondemand
cpucount=cpucount
cputype=cputype
currchain=currchain
currstate=currstate
dhcpinterfaces=dhcpinterfaces
disksize=disksize
domainadminpassword=domainadminpassword
domainadminuser=domainadminuser
domaintype=domaintype
getmac=getmac
hcp=hcp
height=height
hidden=hidden
hostcluster=hostcluster
hostinterface=hostinterface
hostmanager=hostmanager
hostnames=hostnames
hosttype=hosttype
hwtype=hwtype
id=id
initrd=initrd
installnic=installnic
interface=interface
ip=ip
iscsipassword=iscsipassword
iscsiserver=iscsiserver
iscsitarget=iscsitarget
iscsiuserid=iscsiuserid
kcmdline=kcmdline
kernel=kernel
mac=mac
memory=memory
migrationdest=migrationdest
monserver=monserver
mpa=mpa
mtm=mtm
nameservers=nameservers
netboot=netboot
nfsdir=nfsdir
nfsserver=nfsserver
nimserver=nimserver
node=node
ondiscover=ondiscover
os=os
osvolume=osvolume
otherinterfaces=otherinterfaces
ou=ou
parent=parent
password=password
pdu=pdu
postbootscripts=postbootscripts
postscripts=postscripts
power=power
pprofile=pprofile
prescripts-begin=prescripts-begin
prescripts-end=prescripts-end
primarynic=primarynic
primarysn=primarysn
productkey=productkey
profile=profile
provmethod=provmethod
rack=rack
room=room
routenames=routenames
serial=serial
serialflow=serialflow
serialport=serialport
serialspeed=serialspeed
servicenode=servicenode
setupconserver=setupconserver
setupdhcp=setupdhcp
setupftp=setupftp
setupipforward=setupipforward
setupldap=setupldap
setupnameserver=setupnameserver
setupnfs=setupnfs
setupnim=setupnim
setupntp=setupntp
setupproxydhcp=setupproxydhcp
setuptftp=setuptftp
sfp=sfp
side=side
slot=slot
status=status
statustime=statustime
storagcontroller=storagcontroller
storagetype=storagetype
supernode=supernode
supportedarchs=supportedarchs
supportproxydhcp=supportproxydhcp
switch=switch
switchinterface=switchinterface
switchport=switchport
switchvlan=switchvlan
syslog=syslog
termport=termport
termserver=termserver
tftpdir=tftpdir
tftpserver=tftpserver
unit=unit
updatestatus=updatestatus
updatestatustime=updatestatustime
usercomment=usercomment
username=username
vmbeacon=vmbeacon
vmbootorder=vmbootorder
vmcfgstore=vmcfgstore
vmcluster=vmcluster
vmmanager=vmmanager
vmmaster=vmmaster
vmnicnicmodel=vmnicnicmodel
vmphyslots=vmphyslots
vmstorage=vmstorage
vmstoragecache=vmstoragecache
vmstorageformat=vmstorageformat
vmstoragemodel=vmstoragemodel
vmtextconsole=vmtextconsole
vmvirtflags=vmvirtflags
vmvncport=vmvncport
xcatmaster=xcatmaster
zonename=zonename
nicaliases.eth0="moe larry curly"
nicaliases.eth1="tom|jerry"
niccustomscripts.eth0="configeth eth0"
niccustomscripts.ib0="configib ib0"
nicdevices.bond0="eth0|eth2"
nicdevices.br0=bond0
nicextraparams.eth0="MTU=1500"
nicextraparams.ib0="MTU=65520 CONNECTED_MODE=yes"
nichostnameprefixes.eth0="eth0-"
nichostnameprefixes.ib0="ib-"
nichostnamesuffixes.eth0="-eth0"
nichostnamesuffixes.ib0="-ib0"
nicips.ib0=10.10.100.9
nicips.enP48p1s0f0=129.40.234.11
nicips.ib1=10.11.100.9
nicnetworks.enP5p1s0f1.4=xcat_bmc
nicnetworks.enP48p1s0f1=xcat_util
nicnetworks.ib0=IB00
nicnetworks.enP48p1s0f0=pub_yellow
nicnetworks.ib3=IB03
nicnetworks.ib2=IB02
nicnetworks.enP5p1s0f1=xcat_compute
nicnetworks.ib1=IB01
nicnetworks.enP5p1s0f1.5=xcat_infra
nicnetworks.enP5p1s0f1.6=xcat_pdu
nicsadapter.enP3p3s0f1="mac=98:be:94:59:fa:cd linkstate=DOWN"
nicsadapter.enP3p3s0f2="mac=98:be:94:59:fa:ce candidatename=enP3p3s0f2/enx98be9459face"
nictypes.enP5p1s0f1.4=unused
nictypes.enP48p1s0f1=unused
nictypes.ib0=Infiniband
nictypes.enP48p1s0f0=Ethernet
nictypes.ib3=unused
nictypes.ib2=unused
nictypes.enP5p1s0f1=unused
nictypes.ib1=Infiniband
nictypes.enP5p1s0f1.5=unused
nictypes.enP5p1s0f1.6=unused

2.7 Comma in node range

The cases in this section are used to test the comma in node range.

[Test Case] export_import_nodes_delimited_with_comma_by_yaml

[Description] This case is used to test xcat-inventory export and import the definition of nodes delimited with comma by yaml between 2 exact same MNs. Before running this case, make sure these two MNs have been installed same exactly, and the current MN can connect the other MN by ssh without password.

[Test Case] export_import_nodes_delimited_with_comma_by_json

[Description] This case is used to test xcat-inventory export and import the definition of nodes delimited with comma by json between 2 exact same MNs. Before running this case, make sure these two MNs have been installed same exactly, and the current MN can connect the other MN by ssh without password.

2.8 Export or import all definition which type is node

The cases in this section are used to test export or import all definition which belong to the same type. This is, just specify the type is node, without node range.

[Test Case] xcat_inventory_try_to_export_all_type_is_node_default_format

[Description] This case is used to test xcat-inventory export all definition which type is node by default format. I.e, do not specify the format of export, should be json.

[Test Case] xcat_inventory_try_to_export_all_type_is_node_yaml_format

[Description] This case is used to test xcat-inventory export all definition which type is node by yaml format.

[Test Case] xcat_inventory_try_to_export_all_type_is_node_json_format

[Description] This case is used to test xcat-inventory export all definition which type is node by json format.

[Test Case] xcat_inventory_try_to_import_all_type_is_node_yaml_format

[Description] This case is used to test xcat-inventory import all definition which type is node by yaml format.

[Test Case] xcat_inventory_try_to_import_all_type_is_node_json_format

[Description] This case is used to test xcat-inventory import all definition which type is node by json format.

YS: for node object, the import of node with same name but different device types should be tested, for example, there is a node object 'node0001', first export it , then modify the devicetype to 'pdu' or 'switch' and other attributes of the type of device, then import it, check whether 'node0001' has been a 'pdu' or 'switch' in xcat database, or export it and check the yaml/json

2.9 Export more nodes then import part nodes

[Test Case] export_more_nodes_import_part_nodes_json

[Description] This case is used to test xcat-inventory export more nodes then import part nodes by json between 2 exact same MNs. Before running this case, make sure these two MNs have been installed same exactly, and the current MN can connect the other MN by ssh without password.

[Test Case] export_more_nodes_import_part_nodes_yaml

[Description] This case is used to test xcat-inventory export more nodes then import part nodes by yaml between 2 exact same MNs. Before running this case, make sure these two MNs have been installed same exactly, and the current MN can connect the other MN by ssh without password.

2.10 group

[Test Case] export_import_single_group_json

[Description] This case is used to test xcat-inventory export and import one group by json between 2 exact same MNs. Before running this case, make sure these two MNs have been installed same exactly, and the current MN can connect the other MN by ssh without password.

[Test Case] export_import_single_group_yaml

[Description] This case is used to test xcat-inventory export and import one group by yaml between 2 exact same MNs. Before running this case, make sure these two MNs have been installed same exactly, and the current MN can connect the other MN by ssh without password.

2.11 Error injection

[Test Case] xcat_inventory_try_to_export_nonexisted_node

[Description] This case is used to test xcat-inventory export a nonexisted node.

[Test Case] xcat_inventory_try_to_import_nonexisted_node

[Description] This case is used to test xcat-inventory import a nonexisted node.

3 Site table backup and restore

3.1 The full set attribute of site table

[Test Case] export_import_site_by_yaml

[Description] This case is used to test xcat-inventory export and import site table by yaml between 2 excat same MNs. Before running this case, make sure these two MNs have been installed same excatly, and the current MN can connect the other MN by ssh without password.

[Test Case] export_import_site_by_json

[Description] This case is used to test xcat-inventory export and import site table by json between 2 excat same MNs. Before running this case, make sure these two MNs have been installed same excatly, and the current MN can connect the other MN by ssh without password.

The definition of site table with full set attribute is:

useSSHonAIX=0
useNFSv4onAIX=0
FQDNfirst=1
SNsyncfiledir='/var/xcat/syncfiles'
auditnosyslog=0
auditskipcmds=ALL
blademaxp=64
cleanupxcatpost=no
consoleondemand=no
databaseloc='/var/lib'
db2installloc='/mntdb2'
dbtracelevel=0
defserialflow=0
defserialport=0
defserialspeed=9600
dhcpinterfaces=eth0
dhcplease=43200
dhcpsetup=n
disjointdhcps=1
dnshandler=ddns
dnsinterfaces='xcatmn|eth1,eth2;service|bond0'
dnsupdaters=dnsupdaters
domain='pok.stglabs.ibm.com'
enableASMI=no
excludenodes=excludenodes
externaldns=externaldns
extntpservers=extntpservers
forwarders=$mnip
fsptimeout=0
genmacprefix='00:11:aa'
genpasswords=genpasswords
hierarchicalattrs=hierarchicalattrs
httpport=80
hwctrldispatch=y
installdir='/install/'
installloc='hostname:/path'
ipmidispatch=y
ipmimaxp=64
ipmiretries=3
ipmisdrcache=no
ipmitimeout=2
iscsidir='/iscsidir'
managedaddressmode=dhcp
master=$mnip
maxssh=8
mnroutenames=mnroutenames
nameservers=$mnip
nmapoptions='--min-rtt-timeout'
nodestatus=n
nodesyncfiledir='/var/xcat/node/syncfiles'
ntpservers=$mnip
persistkvmguests=y
powerinterval=0
ppcmaxp=64
ppcretry=3
ppctimeout=0
precreatemypostscripts=1
pruneservices=1
runbootscripts=yes
setinstallnic=1
sharedinstall=no
sharedtftp=1
skiptables=nics
skipvalidatelog=1
snmpc=snmpc
sshbetweennodes=ALLGROUPS
svloglocal=1
syspowerinterval=10
syspowermaxnodes=10
tftpdir='/tftprot/'
tftpflags='-v'
timezone='America/New_York'
useNmapfromMN=no
useflowcontrol=no
usexhrm=no
vcenterautojoin=no
vmwarereconfigonpower=no
vsftp=n
xcatconfdir='/etc/xcat'
xcatdebugmode=1
xcatdport=3001
xcatiport=3002
xcatlport=3003
xcatmaxbatchconnections=64
xcatmaxconnections=60
xcatsslciphers='3DES'
xcatsslversion=TLSv1

3.2 Export or import all definition which type is site

The cases in this section are used to test export or import all definition which belong to the same type. This is, just specify the type is site, without -o option.

[Test Case] xcat_inventory_try_to_export_all_type_is_site_default_format

[Description] This case is used to test xcat-inventory export all definition which type is site by default format. I.e, do not specify the format of export, should be json.

[Test Case] xcat_inventory_try_to_export_all_type_is_site_yaml_format

[Description] This case is used to test xcat-inventory export all definition which type is site by yaml format.

[Test Case] xcat_inventory_try_to_export_all_type_is_site_json_format

[Description] This case is used to test xcat-inventory export all definition which type is site by json format.

[Test Case] xcat_inventory_try_to_import_all_type_is_site_yaml_format

[Description] This case is used to test xcat-inventory import all definition which type is site by yaml format.

[Test Case] xcat_inventory_try_to_import_all_type_is_site_json_format

[Description] This case is used to test xcat-inventory import all definition which type is site by json format.

4 osimage definition backup and restore

4.1 The full set attribute of single osimage

[Test Case] export_import_single_osimage_by_yaml

[Description] This case is used to test xcat-inventory export and import one single osimage definition by json between 2 exact same MNs. Before running this case, make sure these two MNs have been installed same exactly, and the current MN can connect the other MN by ssh without password.

[Test Case] export_import_single_osimage_by_json

[Description] This case is used to test xcat-inventory export and import one single osimage definition by yaml between 2 exact same MNs. Before running this case, make sure these two MNs have been installed same exactly, and the current MN can connect the other MN by ssh without password.

The definition of single osimage with full set attribute is:

addkcmdline
boottarget
bosinst_data
cfmdir
configdump
crashkernelsize
description
driverupdatesrc
dump
exlist
fb_script
groups
home
image_data
imagename
imagetype
installp_bundle
installto
isdeletable
kerneldir
kernelver
kitcomponents
krpmver
lpp_source
mksysb
netdrivers
nimmethod
nimtype
nodebootif
osarch
osdistroname
osname
osupdatename
osvers
otherifce
otherpkgdir
otherpkglist
otherpkgs
paging
partitionfile
permission
pkgdir
pkglist
postbootscripts
postinstall
postscripts
profile
provmethod
resolv_conf
root
rootfstype
rootimgdir
script
serverrole
shared_home
shared_root
spot
synclists
template
tmp
usercomment
winpepath

4.2 Export or import all definition which type is osimage

The cases in this section are used to test export or import all definition which belong to the same type. This is, just specify the type is osimage, without -o option.

[Test Case] xcat_inventory_try_to_export_all_type_is_osimage_default_format

[Description] This case is used to test xcat-inventory export all definition which type is osimage by default format. I.e, do not specify the format of export, should be json.

[Test Case] xcat_inventory_try_to_export_all_type_is_osimage_yaml_format

[Description] This case is used to test xcat-inventory export all definition which type is osimage by yaml format.

[Test Case] xcat_inventory_try_to_export_all_type_is_osimage_json_format

[Description] This case is used to test xcat-inventory export all definition which type is osimage by json format.

[Test Case] xcat_inventory_try_to_import_all_type_is_osimage_yaml_format

[Description] This case is used to test xcat-inventory import all definition which type is osimage by yaml format.

[Test Case] xcat_inventory_try_to_import_all_type_is_osimage_json_format

[Description] This case is used to test xcat-inventory import all definition which type is site by osimage format.

5 Modify export file then import

5.1 single node

[Test Case] export_single_node_then_modify_json_then_import

[Description] This case is used to test xcat-inventory import a node definition by json, then modify some attributes in the json, then import the json to another MN.

[Test Case] export_single_node_then_modify_yaml_then_import

[Description] This case is used to test xcat-inventory import a node definition by yaml, then modify some attributes in the yaml, then import the json to another MN.

5.2 site table

[Test Case] export_site_table_then_modify_json_then_import

[Description] This case is used to test xcat-inventory import site table by json, then modify some attributes in the json, then import the json to another MN.

[Test Case] export_site_table_then_modify_yaml_then_import

[Description] This case is used to test xcat-inventory import site table by yaml, then modify some attributes in the yaml, then import the yaml to another MN.

5.3 single osimage

[Test Case] export_single_osimage_then_modify_json_then_import

[Description] This case is used to test xcat-inventory import a osimage definition by json, then modify some attributes in the json, then import the json to another MN.

[Test Case] export_single_osimage_then_modify_yaml_then_import

[Description] This case is used to test xcat-inventory import a osimage definition by yaml, then modify some attributes in the yaml, then import the json to another MN.

5.4 hybrid definition

[Test Case] export_hybrid_definition_then_modify_json_then_import

[Description] This case is used to test xcat-inventory import hybrid definition by json, including nodes, site table and osimages, then modify some attributes in the json, then import the json to another MN.

[Test Case] export_hybrid_definition_then_modify_yaml_then_import

[Description] This case is used to test xcat-inventory import a osimage definition by yaml, including nodes, site table and osimages, then modify some attributes in the yaml, then import the json to another MN.

6 Work between different database

The cases in this section are used to test all feature of xcat-inventory can work between different database. For example, export the definition from sqlite and import the definition into postgresql.

[Test Case] Run all cases between section 2 to section 5 between 2 sqlite databases.

[Test Case] Run all cases between section 2 to section 5 between 2 Mysql databases.

[Test Case] Run all cases between section 2 to section 5 between 2 postgresql databases.

[Test Case] Run all cases between section 2 to section 5 from sqlite database to mysql database

[Test Case] Run all cases between section 2 to section 5 from sqlite database to postgresql database

[Test Case] Run all cases between section 2 to section 5 from mysql database to sqlite database

[Test Case] Run all cases between section 2 to section 5 from mysql database to postgresql database

[Test Case] Run all cases between section 2 to section 5 from postgresql database to sqlite database

[Test Case] Run all cases between section 2 to section 5 from postgresql database to mysql database