Python-cinderclient.OpenStack Nova API ¿ë Ŭ¶óÀ̾ðÆ® ¶óÀ̺귯¸® | |
Áö±Ý ´Ù¿î·Îµå |
Python-cinderclient. ¼øÀ§ ¹× ¿ä¾à
±¤°í
- ƯÇã:
- The Apache License 2.0
- °¡°Ý:
- FREE
- °Ô½ÃÀÚ À̸§:
- Rackspace
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://rackspacecloud.com
Python-cinderclient. ű×
Python-cinderclient. ¼³¸í
Python-CinderClient´Â OpenStack º¼·ý API ¿ë Python Ŭ¶óÀ̾ðÆ®ÀÔ´Ï´Ù. Python API (CinderClient ¸ðµâ)¿Í ¸í·É ÁÙ ½ºÅ©¸³Æ® (Cinder)°¡ ÀÖ½À´Ï´Ù. °¢°¢ÀÇ OpenStack º¼·ý APIÀÇ 100 %¸¦ ±¸ÇöÇÕ´Ï´Ù. ¶ÇÇÑ °³³äÀÇ ¾ÆÀ̵ð¾î¸¦ ¾òÀ¸·Á¸é ù ¹ø° ºñÆ® (OpenStack Compute Developer Guide API)¸¦ ÀÐÀ» ¼öµµ ÀÖ½À´Ï´Ù. Rackspace´Â Amazon°ú Á¶±Ý ´Ù¸£°Ô ±¸¸§À» È£½ºÆÃÇÏ°í ÀÖÀ¸¸ç °³³äÀ» ¾ò´Â´Ù¸éÀÌ ¶óÀ̺귯¸®°¡ ´õ ¸¹Àº Àǹ̰¡ ÀÖ¾î¾ßÇÕ´Ï´Ù. ÇÁ·ÎÁ§Æ®´Â ¹ö±×¸¦ Á¦ÃâÇÒ ¼öÀÖ´Â ·±Ä¡ Æе忡¼ ÇÁ·ÎÁ§Æ®°¡ È£½ºÆõ˴ϴÙ. ÄÚµå´Â GitHub¿¡¼ È£½ºÆõ˴ϴÙ. ÆÐÄ¡´Â github not github ute request¸¦ »ç¿ëÇÏ¿© Á¦ÃâÇؾßÇÕ´Ï´Ù.ÀÌ ÄÚµå JacobianÀÇ Python-CloudserversÀÇ Æ÷Å©´Â Rackspace API¸¦ ÀüÀûÀ¸·Î API Áö¿ø ¶Ç´Â BSD ¶óÀ̼¾½º¸¦ ÇÊ¿ä·ÎÇÏ´Â °æ¿ì ÇØ´ç ÀúÀå¼Ò¸¦ »ç¿ëÇؾßÇÕ´Ï´Ù. Python-Client´Â openstack.command-line apiinstillingÀÇ ³ª¸ÓÁö Apache ¶óÀ̼¾½º¿¡¼ ¶óÀ̼¾½º°¡ ºÎ¿©µË´Ï´Ù.ÀÌ ÆÐÅ°Áö´Â rackspace ȣȯ API (OpenStack Æ÷ÇÔ)¿Í »óÈ£ ÀÛ¿ëÇÏ´Â µ¥ »ç¿ëÇÒ ¼öÀÖ´Â ½© ¸í·É ÀÎ Cinder¸¦ °¡Á®¿É´Ï´Ù. OpenStack »ç¿ëÀÚ À̸§°ú ¾ÏÈ£¸¦ Á¦°øÇϽʽÿÀ. -os_username, --os_password ¹× --os_tenant_name params ·ÎÀÌ ÀÛ¾÷À» ¼öÇà ÇÒ ¼ö ÀÖÁö¸¸ ȯ°æ º¯¼ö·Î ¼³Á¤ÇÏ´Â °ÍÀÌ ½±½À´Ï´Ù. export os_username = openstackexport os_password = yadayadaexport os_tenant_name = myProjectyou´Â ÀÎÁõ URLÀ» Á¤ÀÇÇؾßÇÕ´Ï´Ù. -os_auth_url°ú --versionÀÌÀÖ´Â API ¹öÀü. ¶Ç´Â ȯ°æ º¯¼ö·Î ¼³Á¤ÇϽʽÿÀ. os_auth_url = http : //example.com : 8774 / v1.1 / export os_compute_api_version = 1.1 Å°½ºÅæÀ» »ç¿ëÇÏ°íÀÖ´Â °æ¿ì, Å°½ºÅæ ¿£µå Æ÷ÀÎÆ®·Î cinder_urlÀ» ¼³Á¤ÇؾßÇÕ´Ï´Ù. export os_auth_url = http : //example.com / v000 / v2.0 / Å°½ºÅæÀº ¼ºñ½º Ä«Å»·Î±×¿¡¼ ¿©·¯ ¿µ¿ªÀ» ¹Ýȯ ÇÒ ¼ö ÀÖÀ¸¹Ç·Î --os_region_name (¶Ç´Â export os_region_name)À¸·Î ¿øÇÏ´Â °ÍÀ» ÁöÁ¤ÇÒ ¼ö ÀÖ½À´Ï´Ù. ±âº»°ªÀ¸·Î ±âº»°ªÀ¸·Î µ¹¾Æ°©´Ï´Ù. ½©¿¡¼ ½©¿¡ ¿ÏÀüÇÑ ¹®¼¸¦ ãÀ» ¼ö ÀÖ½À´Ï´Ù. »ç¿ë¹ý : »ç¿ë¹ý : Cinder <ºÎ¼Ó ¸í·É> ... OpenStack Nova API.Positional Àμö¿¡ ´ëÇÑ ¸í·É ÁÙ ÀÎÅÍÆäÀ̽º :
Python-cinderclient. °ü·Ã ¼ÒÇÁÆ®¿þ¾î