lp:~tpatil/nova/bug839269
- Get this branch:
- bzr branch lp:~tpatil/nova/bug839269
Branch merges
- OpenStack release team: Pending requested
-
Diff: 75 lines (+15/-6)4 files modifiednova/db/api.py (+4/-2)
nova/db/sqlalchemy/api.py (+7/-2)
nova/network/manager.py (+2/-1)
nova/tests/test_network.py (+2/-1)
- Dan Prince (community): Approve
- Brian Waldon (community): Approve
- William Wolf (community): Approve
- Devin Carlen (community): Approve
-
Diff: 75 lines (+15/-6)4 files modifiednova/db/api.py (+4/-2)
nova/db/sqlalchemy/api.py (+7/-2)
nova/network/manager.py (+2/-1)
nova/tests/test_network.py (+2/-1)
Branch information
Recent revisions
- 1523. By Kevin L. Mitchell
-
Glance can now perform its own authentication/
authorization checks when we're using keystone. - 1521. By Brian Waldon
-
- implements changes-since for servers resource
- default sort is now created_at desc for instances - 1519. By Anthony Young
-
fix for lp838583 - fixes bug in os-floating-ips view code that prevents instance_id from being returned for associated addresses.
- 1518. By Jesse Andrews
-
Accept keypair when you launch a new server. These properties would be stored along with the other server properties in the database (like they are currently for ec2 api).
- 1516. By Vish Ishaya
-
Simple usage extension for nova. Uses db to calculate tenant_usage for specified time periods.
Methods:
* index: return a list of tenant_usages, with option of incuding detailed server_usage
* show: returns a specific tenant_usage objecttenant_usage object:
* tenant_usage.total_ memory_ mb_usage: sum of memory_mb * hours for all instances in tenant for this period
* tenant_usage.total_ local_gb_ usage: sum of local_gb * hours for all instances in tenant for this period
* tenant_usage.total_ vcpus_usage: sum of vcpus * hours for all instances in tenant for this period
* tenant_usage.total_ hours: sum of all instance hours for this period
* tenant_usage.server_ usages: A detailed list of server_usages, which describe the usage of a specific server For larger instances db tables, indexes on instance.
launched_ at and instance. terminated_ at should significantly help performance.
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