|
33 | 33 | "description": "Core link",
|
34 | 34 | "tag": "CORE_LINK",
|
35 | 35 | "status": "active",
|
36 |
| - "product_blocks": [ |
37 |
| - "CoreLink", |
38 |
| - "CorePort", |
39 |
| - ], |
| 36 | + "root_product_block": "CoreLink", |
40 | 37 | "fixed_inputs": {
|
41 | 38 | "speed": CoreLinkSpeed._10000.value,
|
42 | 39 | },
|
|
47 | 44 | "description": "Core link",
|
48 | 45 | "tag": "CORE_LINK",
|
49 | 46 | "status": "active",
|
50 |
| - "product_blocks": [ |
51 |
| - "CoreLink", |
52 |
| - "CorePort", |
53 |
| - ], |
| 47 | + "root_product_block": "CoreLink", |
54 | 48 | "fixed_inputs": {
|
55 | 49 | "speed": CoreLinkSpeed._100000.value,
|
56 | 50 | },
|
57 | 51 | },
|
58 | 52 | },
|
59 | 53 | "product_blocks": {
|
60 |
| - "CoreLink": { |
61 |
| - "product_block_id": uuid4(), |
62 |
| - "description": "core link product block", |
63 |
| - "tag": "CORE_LINK", |
64 |
| - "status": "active", |
65 |
| - "resources": { |
66 |
| - "ports": "core ports", |
67 |
| - "ims_id": "ID of the core link in the inventory management system", |
68 |
| - "ipv6_prefix_ipam_id": "IPAM ID of IP prefix used to number ports of this core link", |
69 |
| - "nrm_id": "ID of the core link in the network resource manager", |
70 |
| - "under_maintenance": "core link under maintenance?", |
71 |
| - }, |
72 |
| - "depends_on_block_relations": [], |
73 |
| - }, |
74 | 54 | "CorePort": {
|
75 | 55 | "product_block_id": uuid4(),
|
76 | 56 | "description": "core port product block",
|
|
81 | 61 | "enabled": "is port enabled in inventory management system?",
|
82 | 62 | "ims_id": "ID of the port in the inventory management system",
|
83 | 63 | "nrm_id": "ID of the port in the network resource manager",
|
84 |
| - "node": "link to the Node product block the port is residing on", |
85 | 64 | "ipv6_ipam_id": "ID of the port's IPv6 address in IPAM",
|
86 | 65 | },
|
87 |
| - "depends_on_block_relations": [], |
| 66 | + "depends_on_block_relations": [ |
| 67 | + "Node", |
| 68 | + ], |
| 69 | + }, |
| 70 | + "CoreLink": { |
| 71 | + "product_block_id": uuid4(), |
| 72 | + "description": "core link product block", |
| 73 | + "tag": "CORE_LINK", |
| 74 | + "status": "active", |
| 75 | + "resources": { |
| 76 | + "ims_id": "ID of the core link in the inventory management system", |
| 77 | + "ipv6_prefix_ipam_id": "IPAM ID of IP prefix used to number ports of this core link", |
| 78 | + "nrm_id": "ID of the core link in the network resource manager", |
| 79 | + "under_maintenance": "core link under maintenance?", |
| 80 | + }, |
| 81 | + "depends_on_block_relations": [ |
| 82 | + "CorePort", |
| 83 | + ], |
88 | 84 | },
|
89 | 85 | },
|
90 | 86 | "workflows": {},
|
|
0 commit comments