Commit 7c416ec3 authored by Pablo Armingol's avatar Pablo Armingol
Browse files

code cleanup

parent 7220aa10
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -333,7 +333,6 @@ enum ServiceTypeEnum {
  SERVICETYPE_INT = 9;
  SERVICETYPE_ACL = 10;
  SERVICETYPE_IPLINK = 11;

}

enum ServiceStatusEnum {
+1 −1
Original line number Diff line number Diff line
// Copyright 2022-2024 ETSI OSG/SDG TeraFlowSDN (TFS) (https://tfs.etsi.org/)
// Copyright 2022-2025 ETSI OSG/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.
+6 −6
Original line number Diff line number Diff line
@@ -79,12 +79,12 @@ def link_set(db_engine : Engine, messagebroker : MessageBroker, request : Link)
    related_topologies : List[Dict] = list()

    # By default, always add link to default Context/Topology
    # _,topology_uuid = topology_get_uuid(TopologyId(), allow_random=False, allow_default=True)
    # related_topologies.append({
    #     'topology_uuid': topology_uuid,
    #     'link_uuid'    : link_uuid,
    # })
    # topology_uuids.add(topology_uuid)
    _,topology_uuid = topology_get_uuid(TopologyId(), allow_random=False, allow_default=True)
    related_topologies.append({
        'topology_uuid': topology_uuid,
        'link_uuid'    : link_uuid,
    })
    topology_uuids.add(topology_uuid)

    link_endpoints_data : List[Dict] = list()
    for i,endpoint_id in enumerate(request.link_endpoint_ids):
+5 −5
Original line number Diff line number Diff line
# Copyright 2022-2024 ETSI OSG/SDG TeraFlowSDN (TFS) (https://tfs.etsi.org/)
# Copyright 2022-2025 ETSI OSG/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.