Table of Contents |
---|
References
Jira | ||||||
---|---|---|---|---|---|---|
|
Issues/Decisions
# | Issue | Notes | Decision |
---|---|---|---|
1 | removing public property using update with 'null' should also be possible for additional properties | Have separate user story for property 'removal' that will handle both cases 9as sub tasks if need). Changes are most of code will be similar for each |
Scope
- Support should include create/delete/update from a dmi plugin.
...
Requirement | URI | Comment | ||
---|---|---|---|---|
NCMP-008 Register or update public cmhandle properties | {ncmpRoot}/ncmpncmpInventory/v1/ch/ | Scenario : DMI notifies NCMP of new, updated or removed cmhandles Request Body
json attributes:
|
|
December 2021 Yang Model for Public
...
Properties Support
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
module dmi-registry {
yang-version 1.1;
namespace \"org:onap:cps:ncmp\";
prefix dmi-reg;
organization \"Nordix Foundation\";
contact \"rahul.tyagi@est.tech\";
revision \"2021-12-13\" {
description
\"Added support for new list of public additional properties for a Cm-Handle which are exposed to clients of the NCMP interface. \";
}
container dmi-registry {
list cm-handles {
key \"id\";
leaf id {
type string;
}
leaf dmi-service-name {
type string;
}
leaf dmi-data-service-name {
type string;
}
leaf dmi-model-service-name {
type string;
}
list additional-properties {
key \"name\";
leaf name {
type string;
}
leaf value {
type string;
}
}
list public-additional-properties {
key \"name\";
leaf name {
type string;
}
leaf value {
type string;
}
}
}
}
} |
...