mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2025-12-10 07:44:39 +01:00
Import TR181-2.17
This commit is contained in:
parent
a2ac63ce39
commit
106d754c0f
6 changed files with 35868 additions and 2514 deletions
File diff suppressed because one or more lines are too long
|
|
@ -57,7 +57,7 @@ static int get_Device_InterfaceStackNumberOfEntries(char *refparam, struct dmctx
|
|||
|
||||
static int get_Device_RootDataModelVersion(char *refparam, struct dmctx *ctx, void *data, char *instance, char **value)
|
||||
{
|
||||
*value = "2.16";
|
||||
*value = "2.17";
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -993,6 +993,8 @@ def getParamDesc(dmparam, key):
|
|||
text = text.replace("\'", "")
|
||||
text = text.replace("\"", "")
|
||||
text = text.replace("\n", "")
|
||||
text = text.replace("\\d", "\\\\d")
|
||||
text = text.replace("\\.", "\\\\.")
|
||||
desc = ' '.join(text.split())
|
||||
return desc
|
||||
|
||||
|
|
|
|||
|
|
@ -146,10 +146,10 @@ def generate_bbf_xml_file(output_file, dm_json_files=None):
|
|||
root.set("xmlns:xsi", "http://www.w3.org/2001/XMLSchema-instance")
|
||||
root.set("xsi:schemaLocation", "urn:broadband-forum-org:cwmp:datamodel-1-8 https://www.broadband-forum.org/cwmp/cwmp-datamodel-1-8.xsd urn:broadband-forum-org:cwmp:datamodel-report-0-1 https://www.broadband-forum.org/cwmp/cwmp-datamodel-report.xsd")
|
||||
root.set("spec", "urn:broadband-forum-org:tr-181-2-14-1-cwmp")
|
||||
root.set("file", "tr-181-2-16-0-cwmp-full.xml")
|
||||
root.set("file", "tr-181-2-17-0-cwmp-full.xml")
|
||||
|
||||
model = ET.SubElement(root, "model")
|
||||
model.set("name", "Device:2.16")
|
||||
model.set("name", "Device:2.17")
|
||||
|
||||
for entry in LIST_SUPPORTED_DM:
|
||||
name = entry.get("param")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue