¿ù°£ Àα⠰Խù°

°Ô½Ã¹° 708°Ç
   
block_device_mapping_v2
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2017-02-10 (±Ý) 17:25 Á¶È¸ : 2584
                                

ÀνºÅϽº »ý¼º½Ã º¼·ý±îÁö....
·ÎÄÃÀ̹ÌÁö/º¼·ýÀº image-list ¿¡¼­....


# nova --debug boot --image <os_image_id> --flavor <SPEC> --nic net-id=<net_id> --block-device source=image,id=<volume01_image_id>,dest=volume,size=<disk_size>,shutdown=shutdown,bootindex=1 --block-device source=image,id=<volume02_image_id>,dest=volume,size=<disk_size>,shutdown=shutdown,bootindex=2 <name>

curl -g -i -X POST http://iwinv1-controller:8774/v2.1/b45f36aa0e79464c98c9c038dbc031af/os-volumes_boot -H "User-Agent: python-novaclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-OpenStack-Nova-API-Version: 2.25" -H "X-Auth-Token: {SHA1}8e3770c4dc2fed4b95f61d579934ace773a4b635" -d '{"server": {"name": "asg1", "imageRef": "<os_image_id>", "block_device_mapping_v2": [{"source_type": "image", "delete_on_termination": true, "boot_index": 0, "uuid": "<os_image_id>", "destination_type": "local"}, {"boot_index": "1", "uuid": "<volume01_image_id>", "volume_size": "100", "source_type": "image", "destination_type": "volume", "delete_on_termination": false}, {"boot_index": "2", "uuid": "<volume02_image_id>", "volume_size": "100", "source_type": "image", "destination_type": "volume", "delete_on_termination": false}], "flavorRef": "<flavor_id>", "max_count": 1, "min_count": 1, "networks": [{"uuid": "<network_id>"}]}}'


À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.