This patch move the all v2.1 api sample tests under 'functional/api_sample_tests'. Also move sample files under 'doc/api-samples'. Co-Authored-By: Ed Leafe <ed@leafe.com> Co-Authored-By: Alex Xu <hejie.xu@intel.com> Partial-Bug: #1462901 Change-Id: I2b924f2ad7687a23a018a9b658e8acd9e04d7963
		
			
				
	
	
		
			56 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			56 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
    "server": {
 | 
						|
        "addresses": {
 | 
						|
            "private": [
 | 
						|
                {
 | 
						|
                    "addr": "192.168.0.3",
 | 
						|
                    "version": 4
 | 
						|
                }
 | 
						|
            ]
 | 
						|
        },
 | 
						|
        "adminPass": "99WHAxN8gpvg",
 | 
						|
        "created": "2013-11-06T07:51:09Z",
 | 
						|
        "flavor": {
 | 
						|
            "id": "1",
 | 
						|
            "links": [
 | 
						|
                {
 | 
						|
                    "href": "http://openstack.example.com/openstack/flavors/1",
 | 
						|
                    "rel": "bookmark"
 | 
						|
                }
 | 
						|
            ]
 | 
						|
        },
 | 
						|
        "hostId": "5c8072dbcda8ce3f26deb6662bd7718e1a6d349bdf2296911d1be4ac",
 | 
						|
        "id": "53a63a19-c145-47f8-9ae5-b39d6bff33ec",
 | 
						|
        "image": {
 | 
						|
            "id": "70a599e0-31e7-49b7-b260-868f441e862b",
 | 
						|
            "links": [
 | 
						|
                {
 | 
						|
                    "href": "http://openstack.example.com/openstack/images/70a599e0-31e7-49b7-b260-868f441e862b",
 | 
						|
                    "rel": "bookmark"
 | 
						|
                }
 | 
						|
            ]
 | 
						|
        },
 | 
						|
        "links": [
 | 
						|
            {
 | 
						|
                "href": "http://openstack.example.com/v2/openstack/servers/53a63a19-c145-47f8-9ae5-b39d6bff33ec",
 | 
						|
                "rel": "self"
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "href": "http://openstack.example.com/openstack/servers/53a63a19-c145-47f8-9ae5-b39d6bff33ec",
 | 
						|
                "rel": "bookmark"
 | 
						|
            }
 | 
						|
        ],
 | 
						|
        "metadata": {
 | 
						|
            "meta_var": "meta_val"
 | 
						|
        },
 | 
						|
        "name": "new-server-test",
 | 
						|
        "accessIPv4": "4.3.2.1",
 | 
						|
        "accessIPv6": "80fe::",
 | 
						|
        "progress": 0,
 | 
						|
        "status": "ACTIVE",
 | 
						|
        "tenant_id": "openstack",
 | 
						|
        "updated": "2013-11-06T07:51:11Z",
 | 
						|
        "user_id": "fake"
 | 
						|
    }
 | 
						|
}
 |