Loading src/osm_client/.gitlab-ci.yml +1 −0 Original line number Original line Diff line number Diff line Loading @@ -78,6 +78,7 @@ unit_test osm_client: --network=teraflowbridge --network=teraflowbridge --env LOG_LEVEL=DEBUG --env LOG_LEVEL=DEBUG --env FLASK_ENV=development --env FLASK_ENV=development --env OSM_ADDRESS=mock_osm_nbi $CI_REGISTRY_IMAGE/$IMAGE_NAME:$IMAGE_TAG $CI_REGISTRY_IMAGE/$IMAGE_NAME:$IMAGE_TAG - > - > docker run --name $MOCK_IMAGE_NAME -d docker run --name $MOCK_IMAGE_NAME -d Loading src/osm_client/Config.py +1 −1 Original line number Original line Diff line number Diff line Loading @@ -14,5 +14,5 @@ from common.Settings import get_setting from common.Settings import get_setting DEFAULT_OSM_ADDRESS = 'mock_osm_nbi' DEFAULT_OSM_ADDRESS = '127.0.0.1' OSM_ADDRESS = get_setting('OSM_ADDRESS', default=DEFAULT_OSM_ADDRESS) OSM_ADDRESS = get_setting('OSM_ADDRESS', default=DEFAULT_OSM_ADDRESS) src/tests/tools/mock_osm_nbi/ResourceOsmClient.py +0 −4 Original line number Original line Diff line number Diff line Loading @@ -12,10 +12,6 @@ # See the License for the specific language governing permissions and # See the License for the specific language governing permissions and # limitations under the License. # limitations under the License. # REST-API resource implementing minimal support for "IETF YANG Data Model for Traffic Engineering Tunnels, # Label Switched Paths and Interfaces". # Ref: https://www.ietf.org/archive/id/draft-ietf-teas-yang-te-34.html import logging import logging from flask import abort, jsonify, make_response, request from flask import abort, jsonify, make_response, request from flask_restful import Resource from flask_restful import Resource Loading src/tests/tools/mock_osm_nbi/__main__.py +0 −9 Original line number Original line Diff line number Diff line Loading @@ -12,15 +12,6 @@ # See the License for the specific language governing permissions and # See the License for the specific language governing permissions and # limitations under the License. # limitations under the License. # Mock IETF ACTN SDN controller # ----------------------------- # REST server implementing minimal support for: # - IETF YANG Data Model for Transport Network Client Signals # Ref: https://www.ietf.org/archive/id/draft-ietf-ccamp-client-signal-yang-10.html # - IETF YANG Data Model for Traffic Engineering Tunnels, Label Switched Paths and Interfaces # Ref: https://www.ietf.org/archive/id/draft-ietf-teas-yang-te-34.html import functools, logging, sys, time import functools, logging, sys, time from flask import Flask, jsonify, make_response, request from flask import Flask, jsonify, make_response, request from flask_restful import Api, Resource from flask_restful import Api, Resource Loading src/tests/tools/mock_osm_nbi/Dockerfile +1 −1 File changed.Contains only whitespace changes. Show changes Loading
src/osm_client/.gitlab-ci.yml +1 −0 Original line number Original line Diff line number Diff line Loading @@ -78,6 +78,7 @@ unit_test osm_client: --network=teraflowbridge --network=teraflowbridge --env LOG_LEVEL=DEBUG --env LOG_LEVEL=DEBUG --env FLASK_ENV=development --env FLASK_ENV=development --env OSM_ADDRESS=mock_osm_nbi $CI_REGISTRY_IMAGE/$IMAGE_NAME:$IMAGE_TAG $CI_REGISTRY_IMAGE/$IMAGE_NAME:$IMAGE_TAG - > - > docker run --name $MOCK_IMAGE_NAME -d docker run --name $MOCK_IMAGE_NAME -d Loading
src/osm_client/Config.py +1 −1 Original line number Original line Diff line number Diff line Loading @@ -14,5 +14,5 @@ from common.Settings import get_setting from common.Settings import get_setting DEFAULT_OSM_ADDRESS = 'mock_osm_nbi' DEFAULT_OSM_ADDRESS = '127.0.0.1' OSM_ADDRESS = get_setting('OSM_ADDRESS', default=DEFAULT_OSM_ADDRESS) OSM_ADDRESS = get_setting('OSM_ADDRESS', default=DEFAULT_OSM_ADDRESS)
src/tests/tools/mock_osm_nbi/ResourceOsmClient.py +0 −4 Original line number Original line Diff line number Diff line Loading @@ -12,10 +12,6 @@ # See the License for the specific language governing permissions and # See the License for the specific language governing permissions and # limitations under the License. # limitations under the License. # REST-API resource implementing minimal support for "IETF YANG Data Model for Traffic Engineering Tunnels, # Label Switched Paths and Interfaces". # Ref: https://www.ietf.org/archive/id/draft-ietf-teas-yang-te-34.html import logging import logging from flask import abort, jsonify, make_response, request from flask import abort, jsonify, make_response, request from flask_restful import Resource from flask_restful import Resource Loading
src/tests/tools/mock_osm_nbi/__main__.py +0 −9 Original line number Original line Diff line number Diff line Loading @@ -12,15 +12,6 @@ # See the License for the specific language governing permissions and # See the License for the specific language governing permissions and # limitations under the License. # limitations under the License. # Mock IETF ACTN SDN controller # ----------------------------- # REST server implementing minimal support for: # - IETF YANG Data Model for Transport Network Client Signals # Ref: https://www.ietf.org/archive/id/draft-ietf-ccamp-client-signal-yang-10.html # - IETF YANG Data Model for Traffic Engineering Tunnels, Label Switched Paths and Interfaces # Ref: https://www.ietf.org/archive/id/draft-ietf-teas-yang-te-34.html import functools, logging, sys, time import functools, logging, sys, time from flask import Flask, jsonify, make_response, request from flask import Flask, jsonify, make_response, request from flask_restful import Api, Resource from flask_restful import Api, Resource Loading
src/tests/tools/mock_osm_nbi/Dockerfile +1 −1 File changed.Contains only whitespace changes. Show changes