Commit 90eabc0d authored by Waleed Akbar's avatar Waleed Akbar
Browse files

cleanup merge request

parent 5370f25e
Loading
Loading
Loading
Loading
+0 −1
Changes for src/common/method_wrappers/Decorator.py: 0 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -209,7 +209,6 @@ def metered_subclass_method(metrics_pool : MetricsPool):
        return inner_wrapper
    return outer_wrapper

MAX_GRPC_DETAILS_LENGTH = 4096

def safe_and_metered_rpc_method(metrics_pool : MetricsPool, logger : logging.Logger):
    def outer_wrapper(func):
+0 −1
Changes for src/device/service/drivers/ietf_l3vpn/TfsApiClient.py: 0 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -144,7 +144,6 @@ class TfsApiClient(RestApiClient):
                .get('device_config', dict())
                .get('config_rules', list())
            )

            config_rule_dict : Dict[str, Dict] = dict()
            for cr in config_rule_list:
                if cr['action'] != 'CONFIGACTION_SET': continue
+0 −9
Changes for src/simap_connector/service/telemetry/worker/data/SyntheticSamplers.py: 0 added lines, 9 removed lines.
Original line number Diff line number Diff line
@@ -39,12 +39,6 @@ class SyntheticSampler:
      4+ conns: avg=4.4ms, range 4.0-4.8ms

    Values vary by ±1% between consecutive samples for temporal continuity.

    A change of connection_count moves the sampler to a different range. Call reset() to
    adopt the new range at once, or retarget(n) to glide into it over the next n samples
    so that congestion visibly builds up and drains away instead of stepping. Either way
    the sampler settles on the average of the new range, so the value a link reports
    depends on its connection count alone and not on the order it got there.
    """
    connection_count : int             = field(default = 0)
    link_capacity    : float           = field(default = 100.0)
@@ -133,9 +127,6 @@ class SyntheticSampler:
        avg_lat, min_lat, max_lat = self.LAT_RANGES[conn_key]

        if self.ramp_left > 0:
            # Transition in progress: advance first, so the very first sample after a
            # change of connection_count already moves, and the last one lands exactly
            # on the average of the new range.
            self.ramp_left -= 1
            progress = 1.0 - (self.ramp_left / float(self.ramp_total))

+1 −3
Changes for src/tests/mwc26-f5ga/deploy.sh: 1 added line, 3 removed lines.
Original line number Diff line number Diff line
@@ -20,9 +20,7 @@ REPO_ROOT="$(cd "${SCRIPT_DIR}/../../.." && pwd)"

WEBUI_HOME_HTML="${REPO_ROOT}/src/webui/service/templates/main/home.html"

# Temporarily label the WebUI title with the controller role, so the built image
# carries it. The working tree is restored by restore_webui_title, also armed as
# an EXIT trap so an aborted deployment leaves no local change behind.
# Temporarily label the WebUI title with the controller role.
patch_webui_title() {
    sed -i "s|\(<h2>ETSI TeraFlowSDN Controller\)</h2>|\1 ($1)</h2>|" "${WEBUI_HOME_HTML}"
    trap restore_webui_title EXIT
+0 −9
Changes for src/tests/mwc26-f5ga/run_telemetry-delete.sh: 0 added lines, 9 removed lines.
Original line number Diff line number Diff line
@@ -13,15 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Counterpart of run_telemetry-subscribe.sh: deletes the telemetry subscriptions this
# controller established. Stopping telemetry-subscribe-slice1.py with Ctrl+C only closes
# the SSE stream; the subscription stays registered and the SIMAP connector keeps its
# collector/aggregator workers polling and publishing. Run this to actually remove them.
#
# Any extra arguments are passed through as explicit subscription ids, for subscriptions
# created before the local registry existed, e.g.:
#   ./run_telemetry-delete.sh 1210199060928987137 1210199508167884801

# Set working directory
cd "$(dirname "$0")" || exit 1

Loading