Summary: | SOL#772 Comment 18 | ||
---|---|---|---|
Product: | NFV | Reporter: | Thinh Nguyenphu <thinh.nguyenphu> |
Component: | GS NFV-SOL 006 Yang model | Assignee: | Mahesh Jethanandani <mjethanandan> |
Status: | IN_PROGRESS --- | ||
Severity: | enhancement | CC: | bruno.chatras, michele.carignani, thinh.nguyenphu |
Priority: | Normal | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows | ||
Version number of the related document: | OpenAPI issue category: | --- |
Description
Thinh Nguyenphu
2019-03-08 22:25:14 CET
There are two ways this can be done in YANG. Follow the modifiableAttributes example to extend the model and define properties in type safe manner. Or do what I suggested for the other bug. Extend the KVP array to have a third parameter that describes what is the type for the value in the key/value pair. Contribution NFVSOL(19)232r1 documents an informative example that will be included in the GS to demonstrate how any node including configurable-properties node can be extended to add additional configurable properties to the model. As such, this bug should be closed. |