Bug 1041043

Summary: [RFE][nova]: reset network should also re-inject updated network info
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: RFEsAssignee: RHOS Maint <rhos-maint>
Status: CLOSED UPSTREAM QA Contact:
Severity: low Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: markmc, yeylon
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/nova/+spec/reset-network
Whiteboard: upstream_milestone_none upstream_status_unknown upstream_definition_obsolete
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-19 17:02:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description RHOS Integration 2013-12-12 13:29:09 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/nova/+spec/reset-network.

Description:

The compute manager has a mechanism for reseting a guest instance's networking. I originally intended for this functionality to be used to include any possibly altered network information by requesting it from network.

I see two possible ways of doing this, one is to add a new function which updates the network info in whatever way the virt drivers handle it. The other is to alter the reset_network function in the compute manager to get the instance's network info (which will come from network and be fresh) and pass it to an altered virt reset_network that accepts network info and handles it in the virt driver's way.

USE CASE:
I have an existing instance. I have decided to add a fixed ip to it. The guest (agent) needs to be aware of this ip and configure it.
I have an existing instance. I have decided to connect this instance to a new network which requires creating a new virtual interface with corresponding network infrastructure behind it, and then attaching it to a guest. The guest (agent) then needs to configure the interface.

I don't see this as being more than a week's work. It's little enough work that I was considering just making a bug for it.

I plan on doing the work in the next few days.

Specification URL (additional information):

None