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
4d34907b
authored
Apr 24, 2020
by
Arnau Comas Codina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Interface for network interfaces
parent
a5a2ad01
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
interface/network/interfaces.py
+20
-0
No files found.
interface/network/interfaces.py
0 → 100644
View file @
4d34907b
"""
General interface for using the CIRCLE portal API
It should be implemented for using other providers e. g. OpenStack
"""
class
NetworkInterfacesInterface
:
def
create_interface
(
self
,
vlan
):
raise
NotImplementedError
def
remove_interface
(
self
,
vlan
):
raise
NotImplementedError
def
list_all_vlans
(
self
):
raise
NotImplementedError
def
list_all_interfaces
(
self
):
raise
NotImplementedError
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