diff --git a/daemon/core/api/grpc/wrappers.py b/daemon/core/api/grpc/wrappers.py index b7c9257c..bae0eadc 100644 --- a/daemon/core/api/grpc/wrappers.py +++ b/daemon/core/api/grpc/wrappers.py @@ -147,21 +147,6 @@ def to_proto(self) -> services_pb2.Service: ) -@dataclass -class ServiceConfig: - node_id: int - name: str - templates: dict[str, str] - config: dict[str, str] - - @classmethod - def from_proto(cls, proto: services_pb2.ServiceConfig) -> "ServiceConfig": - return ServiceConfig( - templates=dict(proto.templates), - config=dict(proto.config), - ) - - @dataclass class ServiceData: templates: dict[str, str] = field(default_factory=dict) diff --git a/daemon/proto/core/api/grpc/core.proto b/daemon/proto/core/api/grpc/core.proto index b3a89d12..b997ef72 100644 --- a/daemon/proto/core/api/grpc/core.proto +++ b/daemon/proto/core/api/grpc/core.proto @@ -581,7 +581,7 @@ message Node { int32 canvas = 14; map wlan_config = 15; map mobility_config = 16; - map service_configs= 17; + map service_configs = 17; repeated emane.NodeEmaneConfig emane_configs = 18; map wireless_config = 19; string compose = 20;