Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -162,4 +162,6 @@ cython_debug/
#.idea/

*.bak
example-topologies/*/
example-topologies/*/

.envrc
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.11
7 changes: 5 additions & 2 deletions eda_containerlab_connector.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
import argparse
import logging
import requests
import os

import urllib3

from src.integrate import IntegrateCommand
from src.remove import RemoveCommand

urllib3.disable_warnings()

subcommands = [IntegrateCommand(), RemoveCommand()]

parser = argparse.ArgumentParser(
Expand Down Expand Up @@ -58,7 +61,7 @@
format="[%(asctime)s][%(levelname)s] %(message)s",
datefmt="%H:%M:%S",
)
requests.packages.urllib3.disable_warnings()

print(args)

# this will bite me in the ass someday
Expand Down
22 changes: 22 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[project]
name = "clab-connector"
version = "0.1.0"
description = "EDA Containerlab Connector"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"bcrypt==4.2.0",
"certifi==2024.8.30",
"cffi==1.17.1",
"charset-normalizer==3.3.2",
"cryptography==43.0.1",
"idna==3.10",
"jinja2==3.1.4",
"markupsafe==2.1.5",
"paramiko==3.5.0",
"pycparser==2.22",
"pynacl==1.5.0",
"pyyaml==6.0.2",
"requests==2.32.3",
"urllib3==2.2.3",
]
Loading