Commit 8dd17fe3 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Minor bug fixes and code formating

parent 80fdd420
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -22,6 +22,7 @@ def get_descriptors_add_contexts(contexts : List[Dict]) -> List[Dict]:
    for context in contexts_add:
        context['topology_ids'] = []
        context['service_ids'] = []
        context['slice_ids'] = []
    return contexts_add

def get_descriptors_add_topologies(topologies : List[Dict]) -> List[Dict]:
@@ -29,6 +30,7 @@ def get_descriptors_add_topologies(topologies : List[Dict]) -> List[Dict]:
    for topology in topologies_add:
        topology['device_ids'] = []
        topology['link_ids'] = []
        topology['optical_link_ids'] = []
    return topologies_add

def get_descriptors_add_services(services : List[Dict]) -> List[Dict]:
+1 −0
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.


# Enable eventlet for async networking
# NOTE: monkey_patch needs to be executed before importing any other module.
import eventlet