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. |
Beta Was this translation helpful? Give feedback.
-
Ok, take your time, I'm not in a hurry .
I agree but I don't see any "Convert to discussion" link. Do you? |
Beta Was this translation helpful? Give feedback.
-
@tliron: Any progress on these issues? |
Beta Was this translation helpful? Give feedback.
-
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? |
Beta Was this translation helpful? Give feedback.
-
I see the profile generator in https://github.com/tliron/turandot/tree/main/turandot-profile-generator. |
Beta Was this translation helpful? Give feedback.
-
Thank you. I will try this generator asap, but I have already a lot of other works on the table;-) |
Beta Was this translation helpful? Give feedback.
-
I would like to report you the following issues I encountered on the telephony network service example:
entry_schema: the_entry_type
occurrences 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.
and
should be removed.profiles/kubernetes/1.0/capabilities.yaml
,metadata
is not an allowed keyname of attribute definitions in TOSCA 1.3.This keyname was added in TOSCA 2.0.
asterisk-cnf.yaml
andasterisk-vnf.yaml
topology_template:substitution_mappings
,connection
is not a capability to map but a requirement to map.namespace: cloud.puccini.xxx
in eachprofile.yaml
filebut
cloud.puccini.xxx
seems to not be a URI as expected by the TOSCA 1.3 grammar.asterisk-cnf.yaml:node_types:Asterisk:requirements:data-plane
both
ns:Connection
andns:Routing
relationship types can match the requirement.Perhaps should add
relationship: ns:Connection
to avoid this ambiguity.asterisk-cnf.yaml:topology_template:substitution_mappings
and
asterisk-vnf.yaml:topology_template:substitution_mappings
,the capability
deployment
is unmapped but its occurrences is[1, 'UNBOUNDED']
,the capability
trunks
is unmapped but itsoccurrences
is[1, 'UNBOUNDED']
and the requirement
trunk
is unmapped but itsoccurrences
is[1, 1]
.profiles/network-service/profile.yaml
Connection
is 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:connection
useful in bothasterisk-cnf.yaml
andasterisk-vnf.yaml
?I hope these could help to improve this example.
Beta Was this translation helpful? Give feedback.
All reactions