added platform config to emane models, to replace global config, moved core specific emane global configs to session options

This commit is contained in:
Blake Harnden 2021-05-18 21:29:38 -07:00
parent e2a9f6b1f4
commit 071023b1d9
4 changed files with 81 additions and 13 deletions

View file

@ -1,6 +1,7 @@
"""
EMANE Bypass model for CORE
"""
from pathlib import Path
from typing import List, Set
from core.config import Configuration
@ -30,6 +31,5 @@ class EmaneBypassModel(emanemodel.EmaneModel):
phy_config: List[Configuration] = []
@classmethod
def load(cls, emane_prefix: str) -> None:
# ignore default logic
pass
def load(cls, emane_prefix: Path) -> None:
cls._load_platform_config(emane_prefix)