mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-04 05:12:30 +00:00 
			
		
		
		
	add cases0
This commit is contained in:
		
							
								
								
									
										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
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user