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
ff9c1241
Commit
ff9c1241
authored
3 years ago
by
Juraj Paluba
Browse files
Options
Downloads
Patches
Plain Diff
created exception for missing terraform stack files
parent
a473c31a
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
kypo/cloud_commons/__init__.py
+2
-1
2 additions, 1 deletion
kypo/cloud_commons/__init__.py
kypo/cloud_commons/exceptions.py
+7
-0
7 additions, 0 deletions
kypo/cloud_commons/exceptions.py
with
9 additions
and
1 deletion
kypo/cloud_commons/__init__.py
+
2
−
1
View file @
ff9c1241
...
...
@@ -5,4 +5,5 @@ from kypo.cloud_commons.exceptions import KypoException, StackException, StackCr
InvalidTopologyDefinition
from
kypo.cloud_commons.topology_elements
import
MAN
,
SecurityGroups
,
Link
,
NodeToNodeLinkPair
from
kypo.cloud_commons.exceptions
import
KypoException
,
StackException
,
StackCreationFailed
,
\
InvalidTopologyDefinition
InvalidTopologyDefinition
,
StackNotFound
from
kypo.cloud_commons.cloud_client_elements
import
Image
,
Limits
,
QuotaSet
,
HardwareUsage
This diff is collapsed.
Click to expand it.
kypo/cloud_commons/exceptions.py
+
7
−
0
View file @
ff9c1241
...
...
@@ -24,6 +24,13 @@ class StackCreationFailed(StackException):
pass
class
StackNotFound
(
StackException
):
"""
This exception is raised if Terraform stack directory is not found.
"""
pass
class
InvalidTopologyDefinition
(
KypoException
):
"""
This exception is raised if topology definition cannot be transformed.
...
...
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