Loading src/Constants.py +17 −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. # This file includes original contributions from Telefonica Innovación Digital S.L. # This file includes original contributions from Telefonica Innovación Digital S.L. import logging, os, json Loading @@ -19,6 +20,8 @@ import logging, os, json # Default logging level DEFAULT_LOGGING_LEVEL = logging.INFO #DEFAULT_LOGGING_LEVEL = logging.DEBUG #MR DEFAULT_LOGGING_LEVEL = logging.INFO #DEFAULT_LOGGING_LEVEL = logging.DEBUG #MR # Default port for NSC deployment NSC_PORT = 8081 Loading @@ -35,6 +38,8 @@ TEMPLATES_PATH = os.path.join(SRC_PATH, "templates") # Dump templates #DUMP_TEMPLATES = False DUMP_TEMPLATES = True #MR #DUMP_TEMPLATES = False DUMP_TEMPLATES = True #MR # Mapper Loading @@ -49,21 +54,33 @@ PCE_EXTERNAL = False #sat imp options: #option 1: SDN CONTROLLER #SAT_SDN = True #sat imp options: #option 1: SDN CONTROLLER #SAT_SDN = True # Controller Flags # If True, config is not sent to controllers DUMMY_MODE = False #DUMMY_MODE = True #MR #####TERAFLOW##### DUMMY_MODE = False #DUMMY_MODE = True #MR #####TERAFLOW##### # Teraflow IP TFS_IP = ips.get('TFS_IP') UPLOAD_TYPE = "WEBUI" # "WEBUI" or "NBI" NBI_L2_PATH = "restconf/data/ietf-l2vpn-svc:l2vpn-svc/vpn-services" NBI_L3_PATH = "restconf/data/ietf-l3vpn-svc:l3vpn-svc/vpn-services" UPLOAD_TYPE = "WEBUI" # "WEBUI" or "NBI" NBI_L2_PATH = "restconf/data/ietf-l2vpn-svc:l2vpn-svc/vpn-services" NBI_L3_PATH = "restconf/data/ietf-l3vpn-svc:l3vpn-svc/vpn-services" # Flag to determine if additional L2VPN configuration support is required for deploying L2VPNs with path selection TFS_L2VPN_SUPPORT = False #####IXIA##### #####IXIA##### # IXIA NEII IP IXIA_IP = ips.get('IXIA_IP') Loading src/network_slice_controller.py +283 −0 File changed.Preview size limit exceeded, changes collapsed. Show changes Loading
src/Constants.py +17 −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. # This file includes original contributions from Telefonica Innovación Digital S.L. # This file includes original contributions from Telefonica Innovación Digital S.L. import logging, os, json Loading @@ -19,6 +20,8 @@ import logging, os, json # Default logging level DEFAULT_LOGGING_LEVEL = logging.INFO #DEFAULT_LOGGING_LEVEL = logging.DEBUG #MR DEFAULT_LOGGING_LEVEL = logging.INFO #DEFAULT_LOGGING_LEVEL = logging.DEBUG #MR # Default port for NSC deployment NSC_PORT = 8081 Loading @@ -35,6 +38,8 @@ TEMPLATES_PATH = os.path.join(SRC_PATH, "templates") # Dump templates #DUMP_TEMPLATES = False DUMP_TEMPLATES = True #MR #DUMP_TEMPLATES = False DUMP_TEMPLATES = True #MR # Mapper Loading @@ -49,21 +54,33 @@ PCE_EXTERNAL = False #sat imp options: #option 1: SDN CONTROLLER #SAT_SDN = True #sat imp options: #option 1: SDN CONTROLLER #SAT_SDN = True # Controller Flags # If True, config is not sent to controllers DUMMY_MODE = False #DUMMY_MODE = True #MR #####TERAFLOW##### DUMMY_MODE = False #DUMMY_MODE = True #MR #####TERAFLOW##### # Teraflow IP TFS_IP = ips.get('TFS_IP') UPLOAD_TYPE = "WEBUI" # "WEBUI" or "NBI" NBI_L2_PATH = "restconf/data/ietf-l2vpn-svc:l2vpn-svc/vpn-services" NBI_L3_PATH = "restconf/data/ietf-l3vpn-svc:l3vpn-svc/vpn-services" UPLOAD_TYPE = "WEBUI" # "WEBUI" or "NBI" NBI_L2_PATH = "restconf/data/ietf-l2vpn-svc:l2vpn-svc/vpn-services" NBI_L3_PATH = "restconf/data/ietf-l3vpn-svc:l3vpn-svc/vpn-services" # Flag to determine if additional L2VPN configuration support is required for deploying L2VPNs with path selection TFS_L2VPN_SUPPORT = False #####IXIA##### #####IXIA##### # IXIA NEII IP IXIA_IP = ips.get('IXIA_IP') Loading
src/network_slice_controller.py +283 −0 File changed.Preview size limit exceeded, changes collapsed. Show changes