Helpers to simplify generation of facility models with complex port configurations, and addition of a `Virtual` field to `xir.ResourceAllocation`
- Add convenience function
SwpStart()
to support Swp allocation from a given starting index - Add
BreakoutMultiTrunk()
to support running multiple trunks (bonds) over a single breakout cable configuration - Add
Virtual
field toxir.ResourceAllocation
to make it easier for the portal to track hypervisor resource usage- this is done in such a way (appending to the end) so as to not break existing users of the ResourceAllocation type
1 and 2 were needed in developing the redstar facility model. 3 supports efficient tracking of hypervisor resources, which currently is in use in the portal's implementation of the GetResources
API call
Edited by Brian Kocoloski