 5ed82cf7ed
			
		
	
	5ed82cf7ed
	
	
	
		
			
			This patch changes 'image_ref'/'flavor_ref' to 'imageRef'/'flavorRef' that same with v2 api. And also change the related unittest. The differences between v2 and v3 are described on the wiki page https://wiki.openstack.org/wiki/NovaAPIv2tov3. Partially implements blueprint v2-on-v3-api Change-Id: Ic17334e0a9de89488d5e0c8b75950027d51a3cd4
		
			
				
	
	
		
			11 lines
		
	
	
		
			305 B
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			305 B
		
	
	
	
		
			JSON
		
	
	
	
	
	
| {
 | |
|     "server" : {
 | |
|         "name" : "new-server-test",
 | |
|         "imageRef" : "http://glance.openstack.example.com/images/70a599e0-31e7-49b7-b260-868f441e862b",
 | |
|         "flavorRef" : "http://openstack.example.com/flavors/1",
 | |
|         "metadata" : {
 | |
|             "My Server Name" : "Apache1"
 | |
|         }
 | |
|     }
 | |
| }
 |