Loading src/common/tools/descriptor/Tools.py +2 −0 Original line number Diff line number Diff line Loading @@ -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]: Loading @@ -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]: Loading src/nbi/tests/test_tfs_api.py +1 −0 Original line number Diff line number Diff line Loading @@ -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 Loading Loading
src/common/tools/descriptor/Tools.py +2 −0 Original line number Diff line number Diff line Loading @@ -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]: Loading @@ -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]: Loading
src/nbi/tests/test_tfs_api.py +1 −0 Original line number Diff line number Diff line Loading @@ -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 Loading