Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
GÉANT Service Orchestrator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GÉANT Orchestration and Automation Team
GAP
GÉANT Service Orchestrator
Commits
3d3e17a9
Commit
3d3e17a9
authored
2 years ago
by
JORGE SASIAIN
Browse files
Options
Downloads
Patches
Plain Diff
Fix product block reference names
parent
8e2e27ae
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
products/product_blocks/line_card.py
+3
-3
3 additions, 3 deletions
products/product_blocks/line_card.py
products/product_blocks/port.py
+3
-3
3 additions, 3 deletions
products/product_blocks/port.py
with
6 additions
and
6 deletions
products/product_blocks/line_card.py
+
3
−
3
View file @
3d3e17a9
...
...
@@ -7,15 +7,15 @@ from products.product_blocks.node import NodeBlock, NodeBlockInactive, NodeBlock
class
LineCardBlockInactive
(
ProductBlockModel
,
lifecycle
=
[
SubscriptionLifecycle
.
INITIAL
],
product_block_name
=
"
LineCardBlock
"
):
group
:
NodeBlockInactive
node_ref
:
NodeBlockInactive
line_card_id
:
Optional
[
int
]
=
None
class
LineCardBlockProvisioning
(
LineCardBlockInactive
,
lifecycle
=
[
SubscriptionLifecycle
.
PROVISIONING
]):
group
:
NodeBlockProvisioning
node_ref
:
NodeBlockProvisioning
line_card_id
:
Optional
[
int
]
=
None
class
LineCardBlock
(
LineCardBlockProvisioning
,
lifecycle
=
[
SubscriptionLifecycle
.
ACTIVE
]):
group
:
NodeBlock
node_ref
:
NodeBlock
line_card_id
:
int
This diff is collapsed.
Click to expand it.
products/product_blocks/port.py
+
3
−
3
View file @
3d3e17a9
...
...
@@ -7,7 +7,7 @@ from products.product_blocks.line_card import LineCardBlock, LineCardBlockInacti
class
PortBlockInactive
(
ProductBlockModel
,
lifecycle
=
[
SubscriptionLifecycle
.
INITIAL
],
product_block_name
=
"
PortBlock
"
):
group
:
LineCardBlockInactive
line_card_ref
:
LineCardBlockInactive
port_id
:
Optional
[
int
]
=
None
pic
:
Optional
[
int
]
=
None
position
:
Optional
[
int
]
=
None
...
...
@@ -15,7 +15,7 @@ class PortBlockInactive(ProductBlockModel, lifecycle=[SubscriptionLifecycle.INIT
class
PortBlockProvisioning
(
LineCardBlockInactive
,
lifecycle
=
[
SubscriptionLifecycle
.
PROVISIONING
]):
group
:
LineCardBlockProvisioning
line_card_ref
:
LineCardBlockProvisioning
port_id
:
Optional
[
int
]
=
None
pic
:
Optional
[
int
]
=
None
position
:
Optional
[
int
]
=
None
...
...
@@ -23,7 +23,7 @@ class PortBlockProvisioning(LineCardBlockInactive, lifecycle=[SubscriptionLifecy
class
PortBlock
(
LineCardBlockProvisioning
,
lifecycle
=
[
SubscriptionLifecycle
.
ACTIVE
]):
group
:
LineCardBlock
line_card_ref
:
LineCardBlock
port_id
:
int
pic
:
int
position
:
int
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment