powervc-driver/nova-powervc/powervc/nova/driver
Jerry Cai fd05a48a19 Add/Remove/Modify vNIC post deployment Edit
User call the following hosting cli to add a vNIC with IP and port
specified:
    nova interface-attach --net-id {net_uuid} --fixed-ip {ipAddress}
<server_name>
PowerVC driver handle the request in the following driver method:
    def attach_interface(self, instance, image_meta, network_info):
then call the PowerVC restAPI to attach the interface to server.

User call the following hosting cli to remove a vNIC with port
specified:
    nova interface-detach <server-id> <port-id>
PowerVC driver handle the request in the following driver method:
    def detach_interface(self, instance, network_info):
then call the PowerVC restAPI to attach the interface to server.

Change-Id: If0ae14a86005da06dc35620c2af47f37112228d5
Closes-Bug: #1375132
2014-09-30 02:45:53 +08:00
..
compute Fix flake8 checking issue in powervc-driver and Unittest 2014-08-24 23:14:44 -04:00
virt Add/Remove/Modify vNIC post deployment Edit 2014-09-30 02:45:53 +08:00
__init__.py Initial code base commit. 2014-05-08 22:00:29 +08:00