Comments (2)
Yes, all ID fields are unique.
Any ID field belongs to a specific scope. In the given example, the scope is not the file (root), but the virtual_link section and the connection_point section respectively. There is no reference that is ambiguous, i.e., referencing a virtual link OR a connection point. Thus, the both id-fields, although the contain the same value, i.e., "mgmt", identify a virtual link and a connection point uniquely.
Moreover, the ID value is an arbitrary string that does not impose any specific format or pattern, right now. Thus, the ID value can be named by the developer/writer of the VNFD file as he wishes. However, it might be wise to come up with a meaningful naming scheme, say "virtual_link:mgmt" and "connection_point:mgmt" to get the scope directly from the name of the ID. We could enforce such a naming scheme, but I have the feeling that this would be to strict ...
from son-schema.
Although the above statement is true, and the ID fields are unique, we have to change the reference to IDs. In order to reference an ID, we have to provide the scope as well. For example, to identify the connection points in the virtual links section:
virtual_links
- id: "mgmt"
connectivity_type: "E-LAN"
connection_points_reference:
- vdu_ref: "vdu01"
cp_ref: "vdu01:cp01"
- cp_ref: "mgmt"
- id: "input"
connectivity_type: "E-Line"
connection_points_reference:
- cp_ref: "vdu01:cp02"
vdu_ref: "vdu01"
- cp_ref: "input"
A connection_point_reference has to have a reference to the VDU. If this reference is missing, the cp-reference refers to a (global) VNF connection point.
from son-schema.
Related Issues (20)
- nsr and vnfr version just allow integer number
- connection point definition in VNFD HOT 1
- type of items in nsd-schema.yml>network_services is "string"
- Provide type of licence field for services and functions HOT 2
- Add a 'type' field to the function_specific_managers in the VNFD
- Add a 'type' field to the service_specific _managers in the NSD
- add vnf_id to the service record
- Licences (en-UK) can't be an array HOT 4
- Update example service and function descriptors to the new format
- bandwidth_units missing in nsd-schema.yml HOT 1
- [PD][VNFD][NSD] Create a release plan and stable versions
- Do docker_files deserve primetime? HOT 2
- Improve package_content HOT 4
- Required fields [name, vendor] not present in the schema. nsr-schema HOT 9
- VNF version mismatch in sonata-demo packages HOT 1
- Update 'simplest-example.son' package HOT 2
- Is the character ':' a path separator for id ? HOT 1
- Incorrect connectivity graph in service descriptor of Y1 demo HOT 1
- 'vnf_' prefix still used in service's 'network_functions'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from son-schema.