Hi all,

Right now when you create a Network it will be redundant or not
depending on its NetworkOffering. Which is correct. But the Network
entity doesn't have a "isRedundant():boolean" method/property. The
only thing you have instead is the "long networkOfferingId" that you
can use to get the NwOffering from DB and then finally ask this entity
if it's redundant. That is not good. On top of it, if you
remove/update the offering the Nw is going to remain redundant (or
not) just as it was, right? So this boolean property should be added
also to the Network itself. Something like:

new NetworkVO(..., nwOffering.getId(), nwOffering.getRedundantRouter());
instead of
new NetworkVO(..., nwOffering.getId());

The same goes for Vpc. The logic is the same, only that Vpc could not
be redundant, but now it's going to be possible to make redundant with
the changes we are working on.


Cheers

Antonio Fornie
Schuberg Philis

Reply via email to