slapos_crm&cloud&pdm: Factorize get to allocation cell like Upgrade

  Move shared code into InstanceTree_getNodeAndAllocationSupplyCellList
  and reuse into CRM and PDM for get the related Allocation Supply.

  This preserve the logic into a single location.

  Include more tests and extend implementation to now support Instance
  Node too.
21 jobs for master in 0 seconds
Status Job ID Name Coverage
  External
failed SlapOS-Master.UnitTest-Master

08:06:53

passed SlapOS.Eggs.UnitTest-Master.Python2

00:29:39

failed SlapOS.Eggs.UnitTest-Master.Python3

00:46:13

passed SlapOS-Master.UnitTest-Master

02:22:41

failed SlapOS-Master.UnitTest-Master

02:27:31

failed SlapOS.Eggs.UnitTest-Master.Python2

00:27:37

failed SlapOS.Eggs.UnitTest-Master.Python2

00:27:29

passed SlapOS.Eggs.UnitTest-Master.Python2

02:20:05

failed SlapOS.Eggs.UnitTest-Master.Python2

00:26:30

failed SlapOS.Eggs.UnitTest-Master.Python2

00:27:48

passed SlapOS.Eggs.UnitTest-Master.Python2

00:29:44

failed SlapOS.Eggs.UnitTest-Master.Python2

00:27:36

failed SlapOS.Eggs.UnitTest-Master.Python2

00:26:56

passed SlapOS.Eggs.UnitTest-Master.Python3

00:28:44

failed SlapOS.Eggs.UnitTest-Master.Python3

02:02:04

failed SlapOS.Eggs.UnitTest-Master.Python3

00:29:46

passed SlapOS.Eggs.UnitTest-Master.Python3

00:26:49

failed SlapOS.Eggs.UnitTest-Master.Python3

00:31:31

passed SlapOS.Eggs.UnitTest-Master.Python3

00:28:56

failed SlapOS.Eggs.UnitTest-Master.Python3

00:40:03

passed SlapOS.Eggs.UnitTest-Master.Python3

00:27:34