[GBP-51] Ensure SFC Yang models are complete such that SF can leverage them to modify metadata Created: 20/May/15 Updated: 15/Jun/15 Due: 27/May/15 Resolved: 15/Jun/15 |
|
| Status: | Resolved |
| Project: | groupbasedpolicy |
| Component/s: | General |
| Affects Version/s: | unspecified |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Keith Burns | Assignee: | Thomas Bachman |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 3307 |
| Priority: | Normal |
| Description |
|
This is a check of the yang. not an implementation of this functionality. |
| Comments |
| Comment by Thomas Bachman [ 27/May/15 ] |
|
Thanks to Andrej Kincel who pointed me to the right place in the code. The service-function.yang model has a separate container/list for Service Function state: container service-functions-state { uses sfc-ss:service-statistics-group { description "Global Service Function statistics"; } list sf-service-path { etc. The code updates the sf-service-path in the operational data store using the RSP name. The RSP contains: list rendered-service-path { .... leaf variable-metadata { type sfc-md:variable-metadata-ref; description "The name of the associated variable metadata"; }It's not ideal, as the state is kept in a separate list, rather than contained within the SF itself. In short, it means that the SF has to look it's own name up in the service-function-state list, get the service-path name, and then look up the rendered-service-path by name to get the metadata fields. |