Skip to content

Commit

Permalink
compose +- ok -> still need pcap -> then try with tester or shadow ?
Browse files Browse the repository at this point in the history
  • Loading branch information
ElNiak committed Oct 15, 2024
1 parent d4f58c6 commit f38e6ce
Show file tree
Hide file tree
Showing 23 changed files with 428 additions and 577 deletions.
1 change: 0 additions & 1 deletion panther/config/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
class ConfigLoader:
def __init__(self, config_dir: str):
self.config_dir = config_dir
self.global_config = self.load_global_config()
self.experiment_config = self.load_experiment_config()

def load_global_config(self):
Expand Down
23 changes: 15 additions & 8 deletions panther/config/experiment_config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
logging:
level: DEBUG
format: "%(asctime)s [%(levelname)s] - %(module)s - %(message)s"
paths:
output_dir: "outputs"
log_dir: "outputs/logs"
config_dir: "configs"
plugin_dir: "plugins"
docker:
build_docker_image: True
generate_new_certificates: True
tests:
- name: "QUIC Client-Server Communication Test"
description: "Verify that the Picoquic client can communicate with the Picoquic server over Docker Compose network."
Expand All @@ -7,22 +18,18 @@ tests:
services:
picoquic_server:
name: "picoquic_server" # Added 'name' key
implementation: "picoquic"
implementation: "picoquic" # parameters are presents in folder plugins/implementations/quic/picoquic/config.yaml
version: "rfc9000"
parameters:
role: "server"
role: "server"
ports:
- "4443:4443"
- "8080:8080" # Health check endpoint
picoquic_client:
name: "picoquic_client" # Added 'name' key
implementation: "picoquic"
version: "rfc9000"
parameters:
role: "client"
ticket-file: "/opt/ticket/ticket.pem" # Added 'ticket-file' if required
target: "picoquic_server" # Docker Compose service name
message: "Hello from Picoquic Client!"
role: "client"
target: "picoquic_server" # Docker Compose service name
ports:
- "5000:5000" # Example port if needed
- "8081:8081" # Changed to avoid port conflict
Expand Down
10 changes: 0 additions & 10 deletions panther/config/global_config.yaml

This file was deleted.

10 changes: 0 additions & 10 deletions panther/config/global_config.yaml.j2

This file was deleted.

27 changes: 27 additions & 0 deletions panther/config/gml/topology.gml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
graph [
directed 0
node [
id 1
label "Node1"
]
node [
id 2
label "Node2"
]
node [
id 3
label "Node3"
]
edge [
source 1
target 2
]
edge [
source 2
target 3
]
edge [
source 3
target 1
]
]
Loading

0 comments on commit f38e6ce

Please sign in to comment.