lp:~0x44/nova/config-drive

Created by Christopher MacGown and last modified
Get this branch:
bzr branch lp:~0x44/nova/config-drive
Only Christopher MacGown can upload to this branch. If you are Christopher MacGown please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Christopher MacGown
Project:
OpenStack Compute (nova)
Status:
Merged

Recent revisions

1478. By Christopher MacGown <email address hidden>

Moved migration and fixed tests from upstream

1477. By Christopher MacGown <email address hidden>

Merged trunk

1476. By Tushar Patil

Our goal is to add optional parameter to the Create server OS 1.0 and 1.1 API to achieve following objectives:-

1) Specify number and order of networks to the create server API.

In the current implementation every instance you launch for a project having 3 networks assigned to it will always have 3 vnics. In this case it is not possible to have one instance with 2 vnics ,another with 1 vnic and so on. This is not flexible enough and the network resources are not used effectively.

2) Specify fixed IP address to the vnic at the boot time. When you launch a server, you can specify the fixed IP address you want to be assigned to the vnic from a particular network. If this fixed IP address is already in use, it will give exception.

Example of Server Create API request XML:
<?xml version="1.0" encoding="UTF-8"?>

<server xmlns="http://docs.nttpflab.com/servers/api/v1.0"
        name="new-server-test" imageId="1" flavorId="1">
  <metadata>
    <meta key="My Server Name">Apache1</meta>
  </metadata>
  <personality>
    <file path="/etc/banner.txt">
        ICAgICAgDQoiQSBjbG91ZCBkb2VzIG5vdCBrbm93IHdoeSBp
    </file>
  </personality>
  <networks>
      <network uuid="6622436e-5289-460f-8479-e4dcc63f16c5" fixed_ip="10.0.0.3">
      <network uuid="d97efefc-e071-4174-b6dd-b33af0a37706" fixed_ip="10.0.1.3">
  </networks>
</server>

3) Networks is an optional parameter, so if you don't provide any networks to the server Create API, it will behave exactly the same as of today.

This feature is supported to all of the network models.

1475. By Alex Meade

Fixes bug 831627 where nova-manage does not exit when given a non-existent network address

1474. By Soren Hansen

Move documentation from nova.virt.fake into nova.virt.driver.

1473. By Alex Meade

The FixedIpCommandsTestCase in test_nova_manage previously accessed the database. This branch stubs out the database for these tests, lowering their run time from 104 secs -> .02 secs total.

I have verified the tested functionality is still being tested.

1472. By William Wolf

implemented tenant ids to be included in request uris.

1471. By Alex Meade

Adds accessIPv4 and accessIPv6 to servers requests and responses as per the current spec.

1470. By Sandy Walsh

Fixes utils.to_primitive (again) to handle modules, builtins and whatever other crap might be hiding in an object.

1469. By Tushar Patil

Added OS APIs to associate/disassociate security groups to/from instances.

I will add views to return list of security groups associated with the servers later after this branch is merged into trunk. The reason I will do this later is because my previous merge proposal (https://code.launchpad.net/~tpatil/nova/add-options-network-create-os-apis/+merge/68292) is dependent on this work. In this merge proposal I have added a new extension which still uses default OS v1.1 controllers and views, but I am going to override views in this extension to send extra information like security groups.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:~hudson-openstack/nova/trunk
This branch contains Public information 
Everyone can see this information.