Commit 0e8fa2df authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Pre-merge code cleanup

parent a1f2090d
Loading
Loading
Loading
Loading
+0 −14
Changes for src/tests/ecoc26_pluggables/tmp/__init__.py: 0 added lines, 14 removed lines.
Original line number Diff line number Diff line
# Copyright 2022-2026 ETSI SDG TeraFlowSDN (TFS) (https://tfs.etsi.org/)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+0 −25
Changes for src/tests/ecoc26_pluggables/tmp/netconf_oc_optical_mock/Dockerfile: 0 added lines, 25 removed lines.
Original line number Diff line number Diff line
FROM python:3.12-slim

ENV PYTHONDONTWRITEBYTECODE=1 \
    PYTHONUNBUFFERED=1 \
    NETCONF_HOST=0.0.0.0 \
    NETCONF_PORT=830 \
    NETCONF_USERNAME=netconf \
    NETCONF_PASSWORD=netconf \
    NETCONF_INITIAL_POWER=-5.0

WORKDIR /opt/netconf-mock

RUN apt-get update \
    && apt-get install -y --no-install-recommends openssh-client ca-certificates \
    && rm -rf /var/lib/apt/lists/*

COPY requirements.txt ./requirements.txt
RUN pip install --no-cache-dir -r requirements.txt

COPY app ./app
COPY data ./data

EXPOSE 830

CMD ["python", "-m", "app.netconf_mock_server"]
Loading