Telephony Network Service #8
Replies: 6 comments 3 replies
|
Thanks for taking a careful look at this! There are a lot of different issues here, some typos, some interpretations of the spec, and some problems with the substitution. Give me some time to process them separately and I'll respond back to you. I wonder if this would be better as a GitHub "discussion" rather an "issue"? Are you OK with that? If so, you can click the "Convert to discussion" link in the bottom right. |
Ok, take your time, I'm not in a hurry .
I agree but I don't see any "Convert to discussion" link. Do you? |
|
Thank you for your prompt reply. I am very interesting by this work on a profile generator, could evaluate it and perhaps contribute to it. Is this generator available somewhere? |
|
I see the profile generator in https://github.com/tliron/turandot/tree/main/turandot-profile-generator. |
|
Thank you. I will try this generator asap, but I have already a lot of other works on the table;-) |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I would like to report you the following issues I encountered on the telephony network service example:
entry_schema: the_entry_typeoccurrences in many files.This one-line form is not allowed by TOSCA 1.3 grammar, but this was allowed by TOSCA 1.2.
All occurrences should be replaced by
entry_schema: { type: the_entry_type }.profiles/kubernetes/1.0/capabilities.yaml,- valid_values: [ ExternalName, ClusterIP, NodePort, and LoadBalancer ]should be replaced by
- valid_values: [ ExternalName, ClusterIP, NodePort, LoadBalancer ],i.e.
andshould be removed.profiles/kubernetes/1.0/capabilities.yaml,metadatais not an allowed keyname of attribute definitions in TOSCA 1.3.This keyname was added in TOSCA 2.0.
asterisk-cnf.yamlandasterisk-vnf.yamltopology_template:substitution_mappings,connectionis not a capability to map but a requirement to map.namespace: cloud.puccini.xxxin eachprofile.yamlfilebut
cloud.puccini.xxxseems to not be a URI as expected by the TOSCA 1.3 grammar.asterisk-cnf.yaml:node_types:Asterisk:requirements:data-planeboth
ns:Connectionandns:Routingrelationship types can match the requirement.Perhaps should add
relationship: ns:Connectionto avoid this ambiguity.asterisk-cnf.yaml:topology_template:substitution_mappingsand
asterisk-vnf.yaml:topology_template:substitution_mappings,the capability
deploymentis unmapped but its occurrences is[1, 'UNBOUNDED'],the capability
trunksis unmapped but itsoccurrencesis[1, 'UNBOUNDED']and the requirement
trunkis unmapped but itsoccurrencesis[1, 1].profiles/network-service/profile.yamlConnectionis an empty relationship type definition.Is
valid_target_types: [ Connectable ]missed?or should we interpret no valid_target_types as any capability type is allowed?
node_types:Asterisk:capabilities:connectionuseful in bothasterisk-cnf.yamlandasterisk-vnf.yaml?I hope these could help to improve this example.
All reactions