-
Notifications
You must be signed in to change notification settings - Fork 6
Examples of usage
MiguelRivasQuobis edited this page May 9, 2019
·
5 revisions
# Syntax validation of individual/folder function descriptor
tng-sdk-validate -s --function path/to/function_descriptor
tng-sdk-validate -s --function path/to/function_descriptor_folder/
# Integrity validation of individual/folder function descriptor
tng-sdk-validate -i --function path/to/function_descriptor
tng-sdk-validate -i --function path/to/function_descriptor_folder/
# Topology validation of individual/folder function descriptor
tng-sdk-validate -t --function path/to/function_descriptor
tng-sdk-validate -t --function path/to/function_descriptor_folder/
# Custom rules validation of individual function descriptor
tng-sdk-validate -c --function path/to/function_descriptor_folder --cfile path/to/rules
# Syntax validation of service descriptor
tng-sdk-validate -s --service path/to/service_descriptor
# Integrity validation of service descriptor
tng-sdk-validate -i --service path/to/service_descriptor --dpath path/to/function_refered_folder/
# Topology validation of service descriptor
tng-sdk-validate -t --service path/to/service_descriptor --dpath path/to/function_refered_folder/
# Syntax validation of individual/folder sla descriptor
tng-sdk-validate -s --sla path/to/sla_descriptor
tng-sdk-validate -s --sla path/to/sla_descriptor_folder/
# Integrity validation of individual/folder sla descriptor
tng-sdk-validate -i --sla path/to/sla_descriptor
tng-sdk-validate -i --sla path/to/sla_descriptor_folder/
# Syntax validation of individual/folder test descriptor
tng-sdk-validate -s --test path/to/test_descriptor
tng-sdk-validate -s --test path/to/test_descriptor_folder/
# Integrity validation of individual/folder test descriptor
tng-sdk-validate -i --test path/to/test_descriptor
tng-sdk-validate -i --test path/to/test_descriptor_folder/
# Syntax validation of individual/folder slice descriptor
tng-sdk-validate -s --slice path/to/slice_descriptor
tng-sdk-validate -s --slice path/to/slice_descriptor_folder/
# Integrity validation of individual/folder slice descriptor
tng-sdk-validate -i --slice path/to/slice_descriptor
tng-sdk-validate -i --slice path/to/slice_descriptor_folder/
# Syntax validation of individual/folder runtime policy descriptor
tng-sdk-validate -s --policy path/to/policy_descriptor
tng-sdk-validate -s --policy path/to/policy_descriptor_folder/
# Integrity validation of individual/folder slice descriptor
tng-sdk-validate -i --policy path/to/policy_descriptor
tng-sdk-validate -i --policy path/to/policy_descriptor_folder/