Skip to content
Snippets Groups Projects
variables.txt 3.69 KiB
Newer Older
*** Variables ***
${NFVO_HOST}      localhost    # Hostname of the NFVO
${NFVO_PORT}      8081    # Listening port of the NFVO
${NFVO_SCHEMA}    https

${AUTHORIZATION_HEADER}    Authorization
${AUTHORIZATION_TOKEN}    Bearer 0b79bab50daca910b000d4f1a2b675d604257e42
${CONTENT_TYPE}    application/json
Giacomo Bernini's avatar
Giacomo Bernini committed
${ACCEPT_JSON}         application/json
${ACCEPT}         application/json
${apiRoot}        /
${apiName}        nslcm
Hammad Zafar's avatar
Hammad Zafar committed
${apiMajorVersion}     v2
${AUTH_USAGE}     1
${nsInstanceId}       6fc3539c-e602-4afa-8e13-962fb5a7d81f
${nsdId}                58a7beb6-aa89-405e-bd90-7d276b967c03
${disabledNsdId}        fca7c896-a7d0-4ff8-865e-f5c8ee2fd1c3
${nonExistentNsId}      nonExistent
Giacomo Bernini's avatar
Giacomo Bernini committed
${ConflictNsInstanceId}    007c111c-e602-4afa-8e13-962fb5a7d81d
${nsInstanceName}    Test-nsInstance
${nsInstanceDescription}    description ns
${nsFlavourId}      0
${nsDegreeHealing}      HEAL_RESTORE
${vimAccountId}      	931f6a4d-6a97-43f3-a6f0-13853ef577ea
${nsLcmOpOccId}    6fc3539c-e602-4afa-8e13-962fb5a7d81d
${NFVO_DUPLICATION}    0
${sub_filter}    id=41fdd38a-3d4c-465c-83e0-f80e014425f8
${sub_filter_invalid}    nfvid=41fdd38a-3d4c-465c-83e0-f80e014425f8
${fields_nsInstances}         monitoringParameter,wanConnectionInfo
${POS_filter_nsInstances}    id=41fdd38a-3d4c-465c-83e0-f80e014425f8
${NEG_filter_nsInstances}    nfvid=41fdd38a-3d4c-465c-83e0-f80e014425f8 

${fields_nsLcmOpOcc}    cancelMode,error
${POS_filter_nsLcmOpOcc}    id=41fdd38a-3d4c-465c-83e0-f80e014425f8
${NEG_filter_nsLcmOpOcc}    nfvid=41fdd38a-3d4c-465c-83e0-f80e014425f8 
   
${subscriptionId}    6fc3539c-e602-4afa-8e13-962fb5a7d81f
${vnfInstanceId}    id-of-new-vnf-instance-for-UPDATE-NS-Task
${instantiationLevelId}     myNextLevel

${scaleType}        SCALE_VNF
${scaleTimeout}     1
${scaleVnfType}     SCALE_IN
${scaleGroupDescriptor}     myScalingGroup
${scaleMemberVnfIndex}     1

${callback_port}    9091
${callback_endpoint}    /endpoint
${callback_endpoint_fwd}    /endpoint/check
${sleep_interval}    20s
${total_polling_time}   2 min
${polling_interval}     10 sec

${notification_request}    {}
${notification_response}    {}

${MOCK_SERVER_JAR}    ../../../bin/mockserver-netty-5.5.0-jar-with-dependencies.jar

${response}    {}

${Etag}=    an etag
${NEG_SELECTOR}    fields=wrong_field
${json}    {"notificationStatus": ""}

${POS_FILTER_snapshot}     id=41fdd38a-3d4c-465c-83e0-f80e014425f8   # Positive case, suing compiant fields name for filtering get request
${NEG_FILTER_snapshot}     nfvId=41fdd38a-3d4c-465c-83e0-f80e014425f8    # Negative case, using wrong name of field
${fields_snapshot}    vnfSnapshot

${vnfSnapshotInfoId}
${vnfSnapshotInfoId_InUse}    snapshotId-of-a-resource-AlreadyInUse-bySomeOther-operation
${invalidVnfSnapshotInfoId}    invalid-or-nonexistent-vnfSnapshotInforId    

${PAGING_SUPPORTED}    1

${callbackResp}    127.0.0.1

#############internal variables used for descriptor parsing################
${tosca_type_VDU_compute}    tosca.nodes.nfv.Vdu.Compute
${tosca_type_VNF}    tosca.nodes.nfv.VNF
${tosca_type_virtual_link}    tosca.nodes.nfv.VnfVirtualLink
${tosca_type_VDU_cp}    tosca.nodes.nfv.VduCp
${tosca_type_storage}    tosca.nodes.nfv.Vdu.VirtualBlockStorage
${tosca_type_derived_from_VNF}
zafar's avatar
zafar committed

${tosca_type_NS}    tosca.nodes.nfv.NS
${tosca_type_NsVirtualLink}    tosca.nodes.nfv.NsVirtualLink
${tosca_type_NsCP}    tosca.nodes.nfv.Cp
${VDU_IDs}
${CP_IDs}
${Storage_IDs}
${internalCP_IDs}
${externalCP_IDs}
${InstantiationLevel_IDs}

${NS_VirtualLink_IDs}
zafar's avatar
zafar committed

${NS_DescriptorID}
${Designer}
${NS_Name}
${NS_Version}

${Descriptor_ID}
${Provider}
${Product_Name}
${Software_Version}
${Descriptor_Version}
${Flavour_ID}