add cases0
This commit is contained in:
parent
2aabbf40e6
commit
1179350392
40
xCAT-test/autotest/testcase/restapi/service/cases0
Normal file
40
xCAT-test/autotest/testcase/restapi/service/cases0
Normal file
@ -0,0 +1,40 @@
|
||||
start:post_dns
|
||||
description: post_dns
|
||||
cmd:restapitest -m POST -r /services/dns
|
||||
check:rc==201
|
||||
end
|
||||
|
||||
start:post_dhcp
|
||||
description: post_dhcp
|
||||
cmd:restapitest -m POST -r /services/dns
|
||||
check:rc==201
|
||||
end
|
||||
|
||||
start:post_host
|
||||
description: post_host
|
||||
cmd:restapitest -m POST -r /services/host
|
||||
check:rc==201
|
||||
end
|
||||
|
||||
start:post_host
|
||||
description: post_host
|
||||
cmd:restapitest -m POST -r /services/host
|
||||
check:rc==201
|
||||
end
|
||||
|
||||
start:get_slpnodes
|
||||
description: get_slpnodes
|
||||
cmd:restapitest -m GET -r /services/slpnodes
|
||||
check:rc==200
|
||||
cmdcheck:restapitest -o '{"ngpcmm01":{"mpa":"ngpcmm01"}}' -O ==
|
||||
end
|
||||
|
||||
start:get_slpnodes_withst
|
||||
description: get_slpnodes_withst
|
||||
cmd:restapitest -m GET -r /services/slpnodes/FSP
|
||||
check:rc==200
|
||||
cmdcheck:restapitest -o '{"Server--SNY014BG27A01K":{"mpa":"Server--SNY014BG27A01K"}}' -O ==
|
||||
end
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user