亚欧色一区w666天堂,色情一区二区三区免费看,少妇特黄A片一区二区三区,亚洲人成网站999久久久综合,国产av熟女一区二区三区

  • 發布文章
  • 消息中心
點贊
收藏
評論
分享

nova基本命令 libvirt相關

2023-10-31 02:20:16
19
0

  • <tr id='p73v4'><strong id='p73v4'></strong><small id='p73v4'></small><button id='p73v4'></button><li id='p73v4'><noscript id='p73v4'><big id='p73v4'></big><dt id='p73v4'></dt></noscript></li></tr><ol id='p73v4'><option id='p73v4'><table id='p73v4'><blockquote id='p73v4'><tbody id='p73v4'></tbody></blockquote></table></option></ol><u id='p73v4'></u><kbd id='p73v4'><kbd id='p73v4'></kbd></kbd>

      <code id='p73v4'><strong id='p73v4'></strong></code>

      <fieldset id='p73v4'></fieldset>
            <span id='p73v4'></span>

                <ins id='p73v4'></ins>
                    <acronym id='p73v4'><em id='p73v4'></em><td id='p73v4'><div id='p73v4'></div></td></acronym><address id='p73v4'><big id='p73v4'><big id='p73v4'></big><legend id='p73v4'></legend></big></address>

                      <i id='p73v4'><div id='p73v4'><ins id='p73v4'></ins></div></i>
                      <i id='p73v4'></i>
                        • <dl id='p73v4'></dl>
                            類別 Nova V2 REST API Action Nova CLI Horizon 解釋 虛機操作 POST boot Launch Instance

                            啟動一個新的虛機

                              DELETE delete Terminate Instance

                            關閉和刪除一個虛機

                            1. call dom.destroy
                            2. call dom.undefineFlags
                              confirmResize  resize-confirm  N/A

                            確認 resize 操作 

                              revertResize  resize-revert N/A 

                            取消 resize 操作

                              reboot  reboot [--hard]

                            Soft Reboot Instance

                            Hard Reboot Instance 

                            重啟虛機

                              changePassword  root-password    libvirt driver 沒有實現   resize  resize  Resize Instance 遷移虛機或者改變虛機的flavor   rebuild  rebuild  Rebuild Instance  先調用 driver.destroy (destroy domain,detach volume connections,plug VIF), 然后再調用 driver.spawn   createImage  image-create  N/A   快照   os-start  start  Launch Instance  = hard reboot   os-stop  stop  Shut Off Instance  call dom.destroy admin action pause  pause  Pause Instance  call dom.suspend   unpause  unpause  Resume Instance  call dom.resume   suspend  suspend  N/A
                            1.  _detach_pci_devices
                            2. _detach_sriov_ports
                            3. dom.managedSave(0)
                              resume  resume N/A 
                            1.  get domain xml
                            2. _create_domain_and_network
                            3. attach pci devices
                            4. attach sriov port
                              migrate  migrate  N/A 遷移   resetNetwork   N/A   libvirt 沒有實現   injectNetworkInfo   N/A   Set up basic filtering (MAC, IP, and ARP spoofing protection),調用 _conn.nwfilterDefineXML(xml)   lock  lock  N/A  直接在數據庫中 instance 上面設置 lock = true   unlock  unlock  N/A  直接在數據庫中 instance 上面設置 lock = false   createBackup  backup N/A 

                             同 createImage,可以指定類型(daily 或者 weekly),和保存的 image 的最大數目,老的 image 會被刪除

                            {"backup_type": "daily", "rotation": "2", "name": "bk"}

                              os-migrateLive  live-migration N/A   熱遷移   os-resetState  reset-state  N/A  傳入 state 參數,直接修改數據庫中 instance 的狀態 bare metal add_interface  baremetal-interface-add   TBD   remove_interface  baremetal-interface-remove   TBD  cloudpipe update  cloudpipe-configure   TBD console os-getVNCConsole  get-vnc-console  Console

                             

                              os-getSPICEConsole  get-spice-console   TBD   os-getRDPConsole  get-rdp-console   TBD    os-getSerialConsole     TBD    os-getConsoleOutput console-log  View Log  讀取 虛機的 console.log 文件并返回其內容;如果沒有這文件的話,則使用 “pty”,將其內容寫入到 consolue文件并返回其內容。 delete restore  restore  Terminate Instance  Restore a previously deleted (but not reclaimed) instance。直接修改數據庫。   forceDelete  force-delete  N/A

                             有 snapshot,則全部刪除;然后從 DB 中刪除 instance.

                            evacuate evacuate  evacuate    從 DB 中讀取 instance 數據,在一個新的主機上 rebuild。 flavor access addTenantAccess  flavor-access-add  Flavor - Modify Access  修改 DB 中 flavor 表   removeTenantAccess  flavor-access-remove  Flavor - Modify Access  修改 DB 中 flavor 表 flavor manage delete  flavor-delete  Flavor - Delete Flavor 直接 DB 操作   create  flavor-create  Flavor - Create Flavor  直接 DB 操作 floating ip addFloatingIp  floating-ip-create  Associate Floating IP  調用 network_api.associate_floating_ip   removeFloatingIp  floating-ip-delete  Disassociate Floating IP  調用 network_api.disassociate_floating_ip NIC addFixedIp  fixed-ip-reserve  

                             參數 "networkId"。

                            1. call network_api.add_fixed_ip_to_instance
                            2. call firewall_driver.setup_basic_filtering
                              removeFixedIp  fixed-ip-unreserve  

                             參數 "address"。

                            1. call network_api.remove_fixed_ip_from_instance
                            2. call firewall_driver.setup_basic_filtering(instance, nw_info) 
                            network associate disassociate_host      Associate or disassociate host or project to network。 call network_api.associate   disassociate_project  network-disassociate    call network_api.associate   associate_host  network-associate-host    call network_api.associate os network disassociate      call network_api.associate rescue rescue  rescue       unrescue  unrescue     security group addSecurityGroup  add-secgroup    call security_group_rpcapi.refresh_security_group_rules   removeSecurityGroup  secgroup-delete    call security_group_rpcapi.refresh_security_group_rules shelve shelve  shelve       shelveOffload  shelve-offload       unshelve  unshelve    
                            0條評論
                            0 / 1000
                            y****n
                            4文章數
                            0粉絲數
                            y****n
                            4 文章 | 0 粉絲

                            nova基本命令 libvirt相關

                            2023-10-31 02:20:16
                            19
                            0
                            類別 Nova V2 REST API Action Nova CLI Horizon 解釋
                            虛機操作 POST boot Launch Instance

                            啟動一個新的虛機

                              DELETE delete Terminate Instance

                            關閉和刪除一個虛機

                            1. call dom.destroy
                            2. call dom.undefineFlags
                              confirmResize  resize-confirm  N/A

                            確認 resize 操作 

                              revertResize  resize-revert N/A 

                            取消 resize 操作

                              reboot  reboot [--hard]

                            Soft Reboot Instance

                            Hard Reboot Instance 

                            重啟虛機

                              changePassword  root-password    libvirt driver 沒有實現
                              resize  resize  Resize Instance 遷移虛機或者改變虛機的flavor
                              rebuild  rebuild  Rebuild Instance  先調用 driver.destroy (destroy domain,detach volume connections,plug VIF), 然后再調用 driver.spawn
                              createImage  image-create  N/A   快照
                              os-start  start  Launch Instance  = hard reboot
                              os-stop  stop  Shut Off Instance  call dom.destroy
                            admin action pause  pause  Pause Instance  call dom.suspend
                              unpause  unpause  Resume Instance  call dom.resume
                              suspend  suspend  N/A
                            1.  _detach_pci_devices
                            2. _detach_sriov_ports
                            3. dom.managedSave(0)
                              resume  resume N/A 
                            1.  get domain xml
                            2. _create_domain_and_network
                            3. attach pci devices
                            4. attach sriov port
                              migrate  migrate  N/A 遷移
                              resetNetwork   N/A   libvirt 沒有實現
                              injectNetworkInfo   N/A   Set up basic filtering (MAC, IP, and ARP spoofing protection),調用 _conn.nwfilterDefineXML(xml)
                              lock  lock  N/A  直接在數據庫中 instance 上面設置 lock = true
                              unlock  unlock  N/A  直接在數據庫中 instance 上面設置 lock = false
                              createBackup  backup N/A 

                             同 createImage,可以指定類型(daily 或者 weekly),和保存的 image 的最大數目,老的 image 會被刪除

                            {"backup_type": "daily", "rotation": "2", "name": "bk"}

                              os-migrateLive  live-migration N/A   熱遷移
                              os-resetState  reset-state  N/A  傳入 state 參數,直接修改數據庫中 instance 的狀態
                            bare metal add_interface  baremetal-interface-add   TBD
                              remove_interface  baremetal-interface-remove   TBD 
                            cloudpipe update  cloudpipe-configure   TBD
                            console os-getVNCConsole  get-vnc-console  Console

                             

                              os-getSPICEConsole  get-spice-console   TBD
                              os-getRDPConsole  get-rdp-console   TBD 
                              os-getSerialConsole     TBD 
                              os-getConsoleOutput console-log  View Log  讀取 虛機的 console.log 文件并返回其內容;如果沒有這文件的話,則使用 “pty”,將其內容寫入到 consolue文件并返回其內容。
                            delete restore  restore  Terminate Instance  Restore a previously deleted (but not reclaimed) instance。直接修改數據庫。
                              forceDelete  force-delete  N/A

                             有 snapshot,則全部刪除;然后從 DB 中刪除 instance.

                            evacuate evacuate  evacuate    從 DB 中讀取 instance 數據,在一個新的主機上 rebuild。
                            flavor access addTenantAccess  flavor-access-add  Flavor - Modify Access  修改 DB 中 flavor 表
                              removeTenantAccess  flavor-access-remove  Flavor - Modify Access  修改 DB 中 flavor 表
                            flavor manage delete  flavor-delete  Flavor - Delete Flavor 直接 DB 操作
                              create  flavor-create  Flavor - Create Flavor  直接 DB 操作
                            floating ip addFloatingIp  floating-ip-create  Associate Floating IP  調用 network_api.associate_floating_ip
                              removeFloatingIp  floating-ip-delete  Disassociate Floating IP  調用 network_api.disassociate_floating_ip
                            NIC addFixedIp  fixed-ip-reserve  

                             參數 "networkId"。

                            1. call network_api.add_fixed_ip_to_instance
                            2. call firewall_driver.setup_basic_filtering
                              removeFixedIp  fixed-ip-unreserve  

                             參數 "address"。

                            1. call network_api.remove_fixed_ip_from_instance
                            2. call firewall_driver.setup_basic_filtering(instance, nw_info) 
                            network associate disassociate_host      Associate or disassociate host or project to network。 call network_api.associate
                              disassociate_project  network-disassociate    call network_api.associate
                              associate_host  network-associate-host    call network_api.associate
                            os network disassociate      call network_api.associate
                            rescue rescue  rescue    
                              unrescue  unrescue    
                            security group addSecurityGroup  add-secgroup    call security_group_rpcapi.refresh_security_group_rules
                              removeSecurityGroup  secgroup-delete    call security_group_rpcapi.refresh_security_group_rules
                            shelve shelve  shelve    
                              shelveOffload  shelve-offload    
                              unshelve  unshelve    
                            文章來自個人專欄
                            文章 | 訂閱
                            0條評論
                            0 / 1000
                            請輸入你的評論
                            0
                            0