fabric-testbed / InformationModel

FABRIC Information Model library
MIT License
7 stars 1 forks source link

This PR addresses #14, #28 and #36 #37

Closed ibaldin closed 3 years ago

ibaldin commented 3 years ago

Still WiP - initial pull

ibaldin commented 3 years ago

Requesting review at this point - I removed one of the tickets I was going to address in this PR because it is already huge. This requires an update to the control framework code that looks at delegations. Instead of being dictionaries sometimes and sometimes lists of dictionaries, capacity and label delegations now have a single unified format:

See fim/slivers/delegations.py for implementation details - Delegations object knows how to serialize and deserialize itself.

Added more tests for merging/unmerging ADMs from CBM - it should be more robust now.