Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
RECIRCLE
/
interface-openstack
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
2
Merge Requests
4
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
1247484a
authored
Apr 02, 2019
by
Belákovics Ádám
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Start client interface
parent
273aad13
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
92 additions
and
0 deletions
+92
-0
Pipfile
+1
-0
Pipfile.lock
+0
-0
interface-openstack/client_interface/vm/__init__.py
+0
-0
interface-openstack/client_interface/vm/instance.py
+73
-0
interface-openstack/client_interface/vm/templates.py
+18
-0
No files found.
Pipfile
View file @
1247484a
...
...
@@ -9,6 +9,7 @@ verify_ssl = true
aiohttp = "*"
cchardet = "*"
aiodns = "*"
openstacksdk = "*"
[requires]
python_version = "3.6"
Pipfile.lock
View file @
1247484a
This diff is collapsed.
Click to expand it.
interface-openstack/client_interface/vm/__init__.py
0 → 100644
View file @
1247484a
interface-openstack/client_interface/vm/instance.py
0 → 100644
View file @
1247484a
"""
General interface for using the CIRCLE portal API
It should be implemented for using other providers e. g. OpenStack
"""
class
InstanceInterface
:
def
create_vm
(
self
,
name
,
resource
):
pass
def
create_vm_from_template
(
self
,
template
,
resource
):
pass
def
create_multiple_vm_from_template
(
self
,
template
,
resource
,
number
):
pass
def
get_vm_by_id
(
self
,
id
):
pass
def
start_vm
(
self
):
pass
def
stop_vm
(
self
):
pass
def
suspend_vm
(
self
):
pass
def
wake_up_vm
(
self
):
pass
def
shut_off_vm
(
self
):
pass
def
reboot_vm
(
self
):
pass
def
reset_vm
(
self
):
pass
def
destroy_vm
(
self
):
pass
def
get_status
(
self
):
pass
def
list_all_vm
(
self
):
pass
def
install_ssh_key
(
self
,
key
):
pass
def
save_as_template
(
self
):
pass
def
get_vnc_console
(
self
):
pass
def
change_password
(
self
):
pass
def
get_password
(
self
):
pass
def
resize_vm
(
self
):
pass
def
create_template
(
self
):
pass
def
attach_volume
(
self
):
pass
interface-openstack/client_interface/vm/templates.py
0 → 100644
View file @
1247484a
class
TemplateInterface
:
def
get_template
(
self
):
pass
def
list_templates
(
self
):
pass
def
delete_template
(
self
):
pass
def
resize_template
(
self
):
pass
def
update_template
(
self
):
pass
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment