Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

FlatManager and db.project_get_network

When using (network)FlatManager what is the relationship between a network and a project? Should the project_id column of the network table always be null (i.e. no relationship)?

Let's say I have started afresh (new DB) I have created a flat network.

When db.project_get_network is called (regardless of the networking model), a call to associate_network is made, which then cause the project_id field of the only network entry in the table to be set to the project_id given in input.

Is this correct? What happens when I have multiple projects when using Flat networking? Every time I launch an instance using a different project id, will I overwrite the project_id field of the network entry in the DB?

Hope I was able to get the point across!

Thanks, Armando