Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
kypo-python-commons
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
MUNI-KYPO-CRP
backend-python
kypo-python-commons
Commits
e246ec5c
Commit
e246ec5c
authored
1 year ago
by
Radovan Krebs
Browse files
Options
Downloads
Patches
Plain Diff
Resolve "Implement hidden network support"
parent
8a5b3d01
No related branches found
No related tags found
1 merge request
!10
Resolve "Implement hidden network support"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
kypo/cloud_commons/topology_instance.py
+1
-1
1 addition, 1 deletion
kypo/cloud_commons/topology_instance.py
with
1 addition
and
1 deletion
kypo/cloud_commons/topology_instance.py
+
1
−
1
View file @
e246ec5c
...
@@ -110,7 +110,7 @@ class TopologyInstance:
...
@@ -110,7 +110,7 @@ class TopologyInstance:
Return a list of TI virtual machines that are not hidden directly
Return a list of TI virtual machines that are not hidden directly
or through their network.
or through their network.
"""
"""
hosts
=
[
self
.
get_node
(
m
.
name
)
for
m
in
self
.
topology_definition
.
net_mappings
hosts
=
[
self
.
get_node
(
m
.
host
)
for
m
in
self
.
topology_definition
.
net_mappings
if
not
self
.
get_node
(
m
.
host
).
hidden
and
not
self
.
get_network
(
m
.
network
).
hidden
]
if
not
self
.
get_node
(
m
.
host
).
hidden
and
not
self
.
get_network
(
m
.
network
).
hidden
]
# removes duplicates caused by hosts assigned to multiple networks
# removes duplicates caused by hosts assigned to multiple networks
...
...
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