1106 lines
31 KiB
SQL
1106 lines
31 KiB
SQL
-- ----------------------------
|
|
-- Table structure for mml_http_map
|
|
-- ----------------------------
|
|
DROP TABLE IF EXISTS "mml_http_map";
|
|
CREATE TABLE "mml_http_map" (
|
|
"id" integer NOT NULL,
|
|
"ne_type" text(16),
|
|
"operation" text(10),
|
|
"object" text(16),
|
|
"method" text(10),
|
|
"uri" text(255),
|
|
"ext_uri" text(255),
|
|
"param_tag" text(10),
|
|
"params" text(255),
|
|
"input" text,
|
|
"output" text,
|
|
PRIMARY KEY ("id")
|
|
);
|
|
|
|
-- ----------------------------
|
|
-- Records of mml_http_map
|
|
-- ----------------------------
|
|
INSERT INTO "mml_http_map" VALUES (1, 'OMC', 'dsp', 'sysinfo', 'Get', '/api/rest/systemManagement/v1/sysInfo', '/%s', NULL, NULL, '{}', '{
|
|
"retFmt": "GetNF",
|
|
"retMsg": "RetCode = %d operation succeeded\n\n",
|
|
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
|
|
"title": "NE System Information",
|
|
"singleList": true,
|
|
"sepSpaceNum": 2,
|
|
"alignmentM": "Left",
|
|
"alignmentSN": "Right",
|
|
"alignmentSV": "Left",
|
|
"cols": [
|
|
{
|
|
"name": "neType",
|
|
"display": "NE type",
|
|
"length": 10
|
|
},
|
|
{
|
|
"name": "neId",
|
|
"display": "NE ID",
|
|
"length": 28
|
|
},
|
|
{
|
|
"name": "hostName",
|
|
"display": "Host name",
|
|
"length": 16
|
|
},
|
|
{
|
|
"name": "osInfo",
|
|
"display": "OS information",
|
|
"length": 128
|
|
},
|
|
{
|
|
"name": "dbInfo",
|
|
"display": "Database information",
|
|
"length": 80
|
|
},
|
|
{
|
|
"name": "version",
|
|
"display": "Software version",
|
|
"length": 12
|
|
},
|
|
{
|
|
"name": "ipAddr",
|
|
"display": "IP address",
|
|
"length": 20
|
|
},
|
|
{
|
|
"name": "port",
|
|
"display": "Port",
|
|
"length": 6
|
|
},
|
|
{
|
|
"name": "cpus",
|
|
"display": "CPUs",
|
|
"length": 4
|
|
},
|
|
{
|
|
"name": "totalMem",
|
|
"display": "Total memory(KB)",
|
|
"length": 11
|
|
}
|
|
],
|
|
"end": "(Number of results = %d)\n\n"
|
|
}');
|
|
INSERT INTO "mml_http_map" VALUES (2, 'OMC', 'lst', 'memap', 'Get', '/api/rest/dataManagement/v1/omc_db/ne_info', NULL, NULL, '?loc=', '{}', '{
|
|
"retFmt": "GetDB",
|
|
"retMsg": "RetCode = %d operation succeeded\n\n",
|
|
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
|
|
"title": "Managed Element Map",
|
|
"singleList": true,
|
|
"sepSpaceNum": 2,
|
|
"alignmentM": "Left",
|
|
"alignmentSN": "Right",
|
|
"alignmentSV": "Left",
|
|
"cols": [
|
|
{
|
|
"name": "rm_uid",
|
|
"display": "Resource management UID",
|
|
"length": 28
|
|
},
|
|
{
|
|
"name": "ne_name",
|
|
"display": "NE name",
|
|
"length": 28
|
|
}
|
|
],
|
|
"end": "(Number of results = %d)\n\n"
|
|
}');
|
|
INSERT INTO "mml_http_map" VALUES (3, 'OMC', 'lst', 'neinfo', 'Get', '/api/rest/dataManagement/v1/omc_db/ne_info', NULL, NULL, '?loc=', '{}', '{
|
|
"retFmt": "GetDB",
|
|
"retMsg": "RetCode = %d operation succeeded\n\n",
|
|
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
|
|
"title": "Network element information",
|
|
"singleList": true,
|
|
"sepSpaceNum": 2,
|
|
"alignmentM": "Left",
|
|
"alignmentSN": "Right",
|
|
"alignmentSV": "Left",
|
|
"cols": [
|
|
{
|
|
"name": "ne_type",
|
|
"display": "NE type",
|
|
"length": 10
|
|
},
|
|
{
|
|
"name": "ne_id",
|
|
"display": "NE ID",
|
|
"length": 16
|
|
},
|
|
{
|
|
"name": "rm_uid",
|
|
"display": "Resource management UID",
|
|
"length": 28
|
|
},
|
|
{
|
|
"name": "ne_name",
|
|
"display": "NE name",
|
|
"length": 28
|
|
},
|
|
{
|
|
"name": "pv_flag",
|
|
"display": "PV flag",
|
|
"length": 10
|
|
},
|
|
{
|
|
"name": "ip",
|
|
"display": "IP address",
|
|
"length": 32
|
|
},
|
|
{
|
|
"name": "port",
|
|
"display": "Port",
|
|
"length": 6
|
|
},
|
|
{
|
|
"name": "status",
|
|
"display": "Status",
|
|
"length": 10,
|
|
"alias": [
|
|
"offline",
|
|
"online",
|
|
"standby",
|
|
"maintain"
|
|
]
|
|
}
|
|
],
|
|
"end": "(Number of results = %d)\n\n"
|
|
}
|
|
');
|
|
INSERT INTO "mml_http_map" VALUES (4, 'OMC', 'add', 'neinfo', 'Post', '/api/rest/dataManagement/v1/omc_db/ne_info', NULL, NULL, '', '{"bodyFmt":"PostDB", "bodyKey":"ne_info"}', '{
|
|
"retFmt": "PostDB",
|
|
"retMsg": "RetCode = %d operation succeeded\n\n",
|
|
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
|
|
"cols": [
|
|
{
|
|
"name": "affectedRows",
|
|
"display": "Affected rows",
|
|
"length": 11
|
|
}
|
|
]
|
|
}
|
|
');
|
|
INSERT INTO "mml_http_map" VALUES (5, 'OMC', 'del', 'neinfo', 'Delete', '/api/rest/dataManagement/v1/omc_db/ne_info', NULL, NULL, '?loc=', '{}', '{
|
|
"retFmt": "DeleteDB",
|
|
"retMsg": "RetCode = %d operation succeeded\n\n",
|
|
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
|
|
"cols": [
|
|
{
|
|
"name": "affectedRows",
|
|
"display": "Affected rows",
|
|
"length": 11
|
|
}
|
|
]
|
|
}');
|
|
INSERT INTO "mml_http_map" VALUES (6, 'OMC', 'mod', 'neinfo', 'Put', '/api/rest/dataManagement/v1/omc_db/ne_info', NULL, NULL, '?loc=', '{"bodyFmt":"PutDB", "bodyKey":"ne_info"}', '{
|
|
"retFmt": "PutDB",
|
|
"retMsg": "RetCode = %d operation succeeded\n\n",
|
|
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
|
|
"cols": [
|
|
{
|
|
"name": "affectedRows",
|
|
"display": "Affected rows",
|
|
"length": 11
|
|
}
|
|
]
|
|
}');
|
|
INSERT INTO "mml_http_map" VALUES (7, 'OMC', 'dsp', 'alarm', 'Get', '/api/rest/dataManagement/v1/omc_db/alarm', NULL, NULL, '?loc=', '{}', '{
|
|
"retFmt": "GetDB",
|
|
"retMsg": "RetCode = %d operation succeeded\n\n",
|
|
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
|
|
"title": "Alarm Information",
|
|
"singleList": true,
|
|
"sepSpaceNum": 2,
|
|
"alignmentM": "Left",
|
|
"alignmentSN": "Right",
|
|
"alignmentSV": "Left",
|
|
"cols": [
|
|
{
|
|
"name": "ne_type",
|
|
"display": "NE type",
|
|
"length": 10
|
|
},
|
|
{
|
|
"name": "ne_id",
|
|
"display": "NE UID",
|
|
"length": 28
|
|
},
|
|
{
|
|
"name": "ne_name",
|
|
"display": "NE name",
|
|
"length": 28
|
|
},
|
|
{
|
|
"name": "alarm_seq",
|
|
"display": "Alarm sequence",
|
|
"length": 11
|
|
},
|
|
{
|
|
"name": "alarm_title",
|
|
"display": "Alarm title",
|
|
"length": 30
|
|
},
|
|
{
|
|
"name": "orig_severity",
|
|
"display": "Original severity",
|
|
"length": 11
|
|
},
|
|
{
|
|
"name": "pv_flag",
|
|
"display": "PV flag",
|
|
"length": 10
|
|
},
|
|
{
|
|
"name": "event_time",
|
|
"display": "Event time",
|
|
"length": 20
|
|
}
|
|
],
|
|
"end": "(Number of results = %d)\n\n"
|
|
}');
|
|
INSERT INTO "mml_http_map" VALUES (8, 'OMC', 'lst', 'measuretask', 'Get', '/api/rest/dataManagement/v1/omc_db/measure_task', NULL, NULL, '?loc=', '{}', '{
|
|
"retFmt": "GetDB",
|
|
"retMsg": "RetCode = %d operation succeeded\n\n",
|
|
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
|
|
"title": "Performance Task Information",
|
|
"singleList": true,
|
|
"sepSpaceNum": 2,
|
|
"alignmentM": "Left",
|
|
"alignmentSN": "Right",
|
|
"alignmentSV": "Left",
|
|
"cols": [
|
|
{
|
|
"name": "id",
|
|
"display": "Task ID",
|
|
"length": 11
|
|
},
|
|
{
|
|
"name": "ne_type",
|
|
"display": "NE type",
|
|
"length": 10
|
|
},
|
|
{
|
|
"name": "ne_ids",
|
|
"display": "NE ID Set",
|
|
"length": 28
|
|
},
|
|
{
|
|
"name": "granul_option",
|
|
"display": "Time granulity",
|
|
"length": 5
|
|
},
|
|
{
|
|
"name": "kpi_set",
|
|
"display": "KPI set",
|
|
"length": 60
|
|
},
|
|
{
|
|
"name": "start_time",
|
|
"display": "Start time",
|
|
"length": 20
|
|
},
|
|
{
|
|
"name": "end_time",
|
|
"display": "End time",
|
|
"length": 20
|
|
},
|
|
{
|
|
"name": "status",
|
|
"display": "Status",
|
|
"length": 8
|
|
}
|
|
],
|
|
"end": "(Number of results = %d)\n\n"
|
|
}');
|
|
INSERT INTO "mml_http_map" VALUES (9, 'OMC', 'add', 'measuretask', 'Post', '/api/rest/dataManagement/v1/omc_db/measure_task', NULL, NULL, '', '{"bodyFmt":"PostDB", "bodyKey":"measure_task"}', '{
|
|
"retFmt": "PostDB",
|
|
"retMsg": "RetCode = %d operation succeeded\n\n",
|
|
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
|
|
"cols": [
|
|
{
|
|
"name": "affectedRows",
|
|
"display": "Affected rows",
|
|
"length": 11
|
|
}
|
|
]
|
|
}
|
|
');
|
|
INSERT INTO "mml_http_map" VALUES (10, 'OMC', 'del', 'measuretask', 'Delete', '/api/rest/dataManagement/v1/omc_db/measure_task', NULL, NULL, '?loc=', '{}', '{
|
|
"retFmt": "DeleteDB",
|
|
"retMsg": "RetCode = %d operation succeeded\n\n",
|
|
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
|
|
"cols": [
|
|
{
|
|
"name": "affectedRows",
|
|
"display": "Affected rows",
|
|
"length": 11
|
|
}
|
|
]
|
|
}');
|
|
INSERT INTO "mml_http_map" VALUES (11, 'OMC', 'mod', 'measuretask', 'Put', '/api/rest/dataManagement/v1/omc_db/measure_task', NULL, NULL, '?loc=', '{"bodyFmt":"PutDB", "bodyKey":"measure_task"}', '{
|
|
"retFmt": "PutDB",
|
|
"retMsg": "RetCode = %d operation succeeded\n\n",
|
|
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
|
|
"cols": [
|
|
{
|
|
"name": "affectedRows",
|
|
"display": "Affected rows",
|
|
"length": 11
|
|
}
|
|
]
|
|
}');
|
|
INSERT INTO "mml_http_map" VALUES (12, 'OMC', 'lst', 'measuredata', 'Get', '/api/rest/dataManagement/v1/omc_db/measure_data', NULL, NULL, '?loc=', '{}', '{
|
|
"retFmt": "GetDB",
|
|
"retMsg": "RetCode = %d operation succeeded\n\n",
|
|
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
|
|
"title": "Performance Measure Data",
|
|
"singleList": true,
|
|
"sepSpaceNum": 2,
|
|
"alignmentM": "Left",
|
|
"alignmentSN": "Right",
|
|
"alignmentSV": "Left",
|
|
"cols": [
|
|
{
|
|
"name": "task_id",
|
|
"display": "Task ID",
|
|
"length": 11
|
|
},
|
|
{
|
|
"name": "ne_type",
|
|
"display": "NE type",
|
|
"length": 10
|
|
},
|
|
{
|
|
"name": "rm_uid",
|
|
"display": "Resource management UID",
|
|
"length": 28
|
|
},
|
|
{
|
|
"name": "ne_name",
|
|
"display": "NE name",
|
|
"length": 28
|
|
},
|
|
{
|
|
"name": "granul_option",
|
|
"display": "Time granulity",
|
|
"length": 5
|
|
},
|
|
{
|
|
"name": "kpi_id",
|
|
"display": "KPI ID",
|
|
"length": 32
|
|
},
|
|
{
|
|
"name": "start_time",
|
|
"display": "Start time",
|
|
"length": 20
|
|
},
|
|
{
|
|
"name": "end_time",
|
|
"display": "End time",
|
|
"length": 20
|
|
},
|
|
{
|
|
"name": "value",
|
|
"display": "value",
|
|
"length": 11
|
|
}
|
|
],
|
|
"end": "(Number of results = %d)\n\n"
|
|
}');
|
|
INSERT INTO "mml_http_map" VALUES (13, 'OMC', 'lst', 'operationlog', 'Get', '/api/rest/dataManagement/v1/omc_db/operation_log', NULL, NULL, '?loc=', '{}', '{
|
|
"retFmt": "GetDB",
|
|
"retMsg": "RetCode = %d operation succeeded\n\n",
|
|
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
|
|
"title": "Operation Log",
|
|
"singleList": true,
|
|
"sepSpaceNum": 2,
|
|
"alignmentM": "Left",
|
|
"alignmentSN": "Right",
|
|
"alignmentSV": "Left",
|
|
"cols": [
|
|
{
|
|
"name": "account_name",
|
|
"display": "Account ID",
|
|
"length": 10
|
|
},
|
|
{
|
|
"name": "op_ip",
|
|
"display": "Source IP address",
|
|
"length": 20
|
|
},
|
|
{
|
|
"name": "op_type",
|
|
"display": "Opration type",
|
|
"length": 12
|
|
},
|
|
{
|
|
"name": "op_content",
|
|
"display": "Operation content",
|
|
"length": 50
|
|
},
|
|
{
|
|
"name": "op_result",
|
|
"display": "Operation result",
|
|
"length": 20
|
|
},
|
|
{
|
|
"name": "log_time",
|
|
"display": "Log time",
|
|
"length": 20
|
|
}
|
|
],
|
|
"end": "(Number of results = %d)\n\n"
|
|
}');
|
|
INSERT INTO "mml_http_map" VALUES (14, 'OMC', 'lst', 'securitylog', 'Get', '/api/rest/dataManagement/v1/omc_db/security_log', NULL, NULL, '?loc=', '{}', '{
|
|
"retFmt": "GetDB",
|
|
"retMsg": "RetCode = %d operation succeeded\n\n",
|
|
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
|
|
"title": "Security Log",
|
|
"singleList": true,
|
|
"sepSpaceNum": 2,
|
|
"alignmentM": "Left",
|
|
"alignmentSN": "Right",
|
|
"alignmentSV": "Left",
|
|
"cols": [
|
|
{
|
|
"name": "account_name",
|
|
"display": "Account ID",
|
|
"length": 10
|
|
},
|
|
{
|
|
"name": "op_ip",
|
|
"display": "Source IP address",
|
|
"length": 20
|
|
},
|
|
{
|
|
"name": "op_type",
|
|
"display": "Opration type",
|
|
"length": 12
|
|
},
|
|
{
|
|
"name": "op_content",
|
|
"display": "Operation content",
|
|
"length": 50
|
|
},
|
|
{
|
|
"name": "op_result",
|
|
"display": "Operation result",
|
|
"length": 20
|
|
},
|
|
{
|
|
"name": "op_time",
|
|
"display": "Operation log time",
|
|
"length": 20
|
|
}
|
|
],
|
|
"end": "(Number of results = %d)\n\n"
|
|
}');
|
|
INSERT INTO "mml_http_map" VALUES (15, 'OMC', 'lst', 'alarmlog', 'Get', '/api/rest/dataManagement/v1/omc_db/alarm_log', NULL, NULL, '?loc=', '{}', '{
|
|
"retFmt": "GetDB",
|
|
"retMsg": "RetCode = %d operation succeeded\n\n",
|
|
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
|
|
"title": "Alarm Log",
|
|
"singleList": true,
|
|
"sepSpaceNum": 2,
|
|
"alignmentM": "Left",
|
|
"alignmentSN": "Right",
|
|
"alignmentSV": "Left",
|
|
"cols": [
|
|
{
|
|
"name": "ne_type",
|
|
"display": "NE type",
|
|
"length": 8
|
|
},
|
|
{
|
|
"name": "ne_id",
|
|
"display": "NE UID",
|
|
"length": 28
|
|
},
|
|
{
|
|
"name": "alarm_seq",
|
|
"display": "Alarm sequence",
|
|
"length": 12
|
|
},
|
|
{
|
|
"name": "alarm_id",
|
|
"display": "Alarm ID",
|
|
"length": 20
|
|
},
|
|
{
|
|
"name": "event_time",
|
|
"display": "Alarm event time",
|
|
"length": 20
|
|
},
|
|
{
|
|
"name": "log_time",
|
|
"display": "Log time",
|
|
"length": 20
|
|
}
|
|
],
|
|
"end": "(Number of results = %d)\n\n"
|
|
}');
|
|
INSERT INTO "mml_http_map" VALUES (16, 'OMC', 'dsp', 'licenseinfo', 'Get', '/api/rest/systemManagement/v1/licenseInfo', '/%s', NULL, NULL, '{}', '{
|
|
"retFmt": "GetNF",
|
|
"retMsg": "RetCode = %d operation succeeded\n\n",
|
|
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
|
|
"title": "NE License Information",
|
|
"singleList": true,
|
|
"sepSpaceNum": 2,
|
|
"alignmentM": "Left",
|
|
"alignmentSN": "Right",
|
|
"alignmentSV": "Left",
|
|
"cols": [
|
|
{
|
|
"name": "neType",
|
|
"display": "NE type",
|
|
"length": 10
|
|
},
|
|
{
|
|
"name": "neId",
|
|
"display": "NE ID",
|
|
"length": 20
|
|
},
|
|
{
|
|
"name": "serialNum",
|
|
"display": "Serial No",
|
|
"length": 12
|
|
},
|
|
{
|
|
"name": "capability",
|
|
"display": "License capability",
|
|
"length": 11
|
|
},
|
|
{
|
|
"name": "capUsed",
|
|
"display": "License used",
|
|
"length": 11
|
|
},
|
|
{
|
|
"name": "featureEnabled",
|
|
"display": "Feature enabled",
|
|
"length": 28
|
|
},
|
|
{
|
|
"name": "expiryDate",
|
|
"display": "License expiry date",
|
|
"length": 20
|
|
}
|
|
],
|
|
"end": "(Number of results = %d)\n\n"
|
|
}');
|
|
INSERT INTO "mml_http_map" VALUES (17, 'OMC', 'lst', 'systemlog', 'Get', '/api/rest/dataManagement/v1/omc_db/system_log', NULL, NULL, '?loc=', '{}', '{
|
|
"retFmt": "GetDB",
|
|
"retMsg": "RetCode = %d operation succeeded\n\n",
|
|
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
|
|
"title": "System Log",
|
|
"singleList": true,
|
|
"sepSpaceNum": 2,
|
|
"alignmentM": "Left",
|
|
"alignmentSN": "Right",
|
|
"alignmentSV": "Left",
|
|
"cols": [
|
|
{
|
|
"name": "process_type",
|
|
"display": "Process type",
|
|
"length": 10
|
|
},
|
|
{
|
|
"name": "process_name",
|
|
"display": "Process name",
|
|
"length": 28
|
|
},
|
|
{
|
|
"name": "user_name",
|
|
"display": "User name",
|
|
"length": 12
|
|
},
|
|
{
|
|
"name": "process_id",
|
|
"display": "Process ID",
|
|
"length": 12
|
|
},
|
|
{
|
|
"name": "event",
|
|
"display": "Event",
|
|
"length": 20
|
|
},
|
|
{
|
|
"name": "start_time",
|
|
"display": "Start time",
|
|
"length": 20
|
|
},
|
|
{
|
|
"name": "end_time",
|
|
"display": "End time",
|
|
"length": 20
|
|
},
|
|
{
|
|
"name": "log_time",
|
|
"display": "Log time",
|
|
"length": 20
|
|
}
|
|
],
|
|
"end": "(Number of results = %d)\n\n"
|
|
}');
|
|
INSERT INTO "mml_http_map" VALUES (18, 'OMC', 'lst', 'eventlog', 'Get', '/api/rest/dataManagement/v1/omc_db/event_log', NULL, NULL, '?loc=', '{}', '{
|
|
"retFmt": "GetDB",
|
|
"retMsg": "RetCode = %d operation succeeded\n\n",
|
|
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
|
|
"title": "Event Log",
|
|
"singleList": true,
|
|
"sepSpaceNum": 2,
|
|
"alignmentM": "Left",
|
|
"alignmentSN": "Right",
|
|
"alignmentSV": "Left",
|
|
"cols": [
|
|
{
|
|
"name": "ne_type",
|
|
"display": "NE type",
|
|
"length": 10
|
|
},
|
|
{
|
|
"name": "ne_id",
|
|
"display": "NE ID",
|
|
"length": 28
|
|
},
|
|
{
|
|
"name": "event",
|
|
"display": "Event",
|
|
"length": 12
|
|
},
|
|
{
|
|
"name": "event time",
|
|
"display": "Event",
|
|
"length": 20
|
|
},
|
|
{
|
|
"name": "log_time",
|
|
"display": "Log time",
|
|
"length": 20
|
|
}
|
|
],
|
|
"end": "(Number of results = %d)\n\n"
|
|
}');
|
|
INSERT INTO "mml_http_map" VALUES (19, 'OMC', 'lst', 'mmlcmd', 'Get', '/api/rest/dataManagement/v1/omc_db/mml_command', NULL, NULL, '?loc=`status`=''Active''', '{}', '{
|
|
"retFmt": "GetDB",
|
|
"retMsg": "RetCode = %d operation succeeded\n\n",
|
|
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
|
|
"title": "OMC MML Command List",
|
|
"singleList": true,
|
|
"sepSpaceNum": 2,
|
|
"alignmentM": "Left",
|
|
"alignmentSN": "Right",
|
|
"alignmentSV": "Left",
|
|
"cols": [
|
|
{
|
|
"name": "operation",
|
|
"display": "Operation",
|
|
"length": 10
|
|
},
|
|
{
|
|
"name": "object",
|
|
"display": "Object",
|
|
"length": 28
|
|
},
|
|
{
|
|
"name": "mml_display",
|
|
"display": "MML description",
|
|
"length": 20
|
|
}
|
|
],
|
|
"end": "(Number of results = %d)\n\n"
|
|
}');
|
|
INSERT INTO "mml_http_map" VALUES (20, 'OMC', 'help', 'mmlcmd', 'Get', '/api/rest/dataManagement/v1/omc_db/mml_command', NULL, NULL, '?SQL=select+operation,object,mml_display,json_extract(param_json,''$[*].name'')+as+params+from+mml_command', '{}', '{
|
|
"retFmt": "GetDB",
|
|
"retMsg": "RetCode = %d operation succeeded\n\n",
|
|
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
|
|
"title": "OMC MML Command Help List",
|
|
"singleList": true,
|
|
"sepSpaceNum": 2,
|
|
"alignmentM": "Left",
|
|
"alignmentSN": "Right",
|
|
"alignmentSV": "Left",
|
|
"cols": [
|
|
{
|
|
"name": "operation",
|
|
"display": "Operation",
|
|
"length": 10
|
|
},
|
|
{
|
|
"name": "object",
|
|
"display": "Object",
|
|
"length": 28
|
|
},
|
|
{
|
|
"name": "params",
|
|
"display": "Parameter list",
|
|
"length": 128
|
|
}
|
|
],
|
|
"end": "(Number of results = %d)\n\n"
|
|
}');
|
|
INSERT INTO "mml_http_map" VALUES (21, 'OMC', 'dsp', 'nelink', 'Get', '/api/rest/dataManagement/v1/omc_db/ne_link', NULL, NULL, '?loc=', '{}', '{
|
|
"retFmt": "GetDB",
|
|
"retMsg": "RetCode = %d operation succeeded\n\n",
|
|
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
|
|
"title": "Network Element Link",
|
|
"singleList": true,
|
|
"sepSpaceNum": 2,
|
|
"alignmentM": "Left",
|
|
"alignmentSN": "Right",
|
|
"alignmentSV": "Left",
|
|
"cols": [
|
|
{
|
|
"name": "ne_type",
|
|
"display": "NE type",
|
|
"length": 10
|
|
},
|
|
{
|
|
"name": "ne_id",
|
|
"display": "NE ID",
|
|
"length": 28
|
|
},
|
|
{
|
|
"name": "interface",
|
|
"display": "Interface",
|
|
"length": 20
|
|
},
|
|
{
|
|
"name": "status",
|
|
"display": "Status",
|
|
"length": 20
|
|
},
|
|
{
|
|
"name": "created_at",
|
|
"display": "Timestamp",
|
|
"length": 20
|
|
}
|
|
],
|
|
"end": "(Number of results = %d)\n\n"
|
|
}');
|
|
INSERT INTO "mml_http_map" VALUES (22, 'OMC', 'act', 'measuretask', 'Put', '/api/rest/dataManagement/v1/omc_db/measure_task', NULL, NULL, '?loc=', '{
|
|
"bodyFmt": "PutDB",
|
|
"bodyKey": "measure_task",
|
|
"cols": [
|
|
{
|
|
"name": "status",
|
|
"alias": "status",
|
|
"type": "int",
|
|
"length": 11,
|
|
"value": "Active"
|
|
}
|
|
]
|
|
}', '{
|
|
"retFmt": "PutDB",
|
|
"retMsg": "RetCode = %d operation succeeded\n\n",
|
|
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
|
|
"cols": [
|
|
{
|
|
"name": "affectedRows",
|
|
"display": "Affected rows",
|
|
"length": 11
|
|
}
|
|
]
|
|
}');
|
|
INSERT INTO "mml_http_map" VALUES (23, 'OMC', 'dea', 'measuretask', 'Put', '/api/rest/dataManagement/v1/omc_db/measure_task', NULL, NULL, '?loc=', '{
|
|
"bodyFmt": "PutDB",
|
|
"bodyKey": "measure_task",
|
|
"cols": [
|
|
{
|
|
"name": "status",
|
|
"alias": "status",
|
|
"type": "int",
|
|
"length": 11,
|
|
"value": "Inactive"
|
|
}
|
|
]
|
|
}
|
|
', '{
|
|
"retFmt": "PutDB",
|
|
"retMsg": "RetCode = %d operation succeeded\n\n",
|
|
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
|
|
"cols": [
|
|
{
|
|
"name": "affectedRows",
|
|
"display": "Affected rows",
|
|
"length": 11
|
|
}
|
|
]
|
|
}');
|
|
INSERT INTO "mml_http_map" VALUES (24, 'OMC', 'dsp', 'nbicm', 'Get', '/api/rest/dataManagement/v1/omc_db/nbi_cm', NULL, NULL, '?loc=', '{}', '{
|
|
"retFmt": "GetDB",
|
|
"retMsg": "RetCode = %d operation succeeded\n\n",
|
|
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
|
|
"title": "NBI Resources Management",
|
|
"singleList": true,
|
|
"sepSpaceNum": 2,
|
|
"alignmentM": "Left",
|
|
"alignmentSN": "Right",
|
|
"alignmentSV": "Left",
|
|
"cols": [
|
|
{
|
|
"name": "ne_type",
|
|
"display": "NE type",
|
|
"length": 10
|
|
},
|
|
{
|
|
"name": "ne_id",
|
|
"display": "NE ID",
|
|
"length": 20
|
|
},
|
|
{
|
|
"name": "rm_uid",
|
|
"display": "RM UID",
|
|
"length": 20
|
|
},
|
|
{
|
|
"name": "user_label",
|
|
"display": "User label",
|
|
"length": 20
|
|
},
|
|
{
|
|
"name": "object_type",
|
|
"display": "Object type",
|
|
"length": 20
|
|
},
|
|
{
|
|
"name": "pv_flag",
|
|
"display": "PV flag",
|
|
"length": 8
|
|
},
|
|
{
|
|
"name": "value_json",
|
|
"display": "NBI resource management",
|
|
"length": 200
|
|
}
|
|
],
|
|
"end": "(Number of results = %d)\n\n"
|
|
}
|
|
');
|
|
INSERT INTO "mml_http_map" VALUES (25, 'OMC', 'upg', 'neversion', 'Put', '/api/rest/dataManagement/v1/omc_db/ne_version', NULL, NULL, '?loc=', '{
|
|
"bodyFmt": "PutDB",
|
|
"bodyKey": "ne_version",
|
|
"cols": [
|
|
{
|
|
"name": "status",
|
|
"alias": "status",
|
|
"type": "string",
|
|
"length": 8,
|
|
"value": "Active"
|
|
}
|
|
]
|
|
}', '{
|
|
"retFmt": "PutDB",
|
|
"retMsg": "RetCode = %d operation succeeded\n\n",
|
|
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
|
|
"cols": [
|
|
{
|
|
"name": "affectedRows",
|
|
"display": "Affected rows",
|
|
"length": 11
|
|
}
|
|
]
|
|
}');
|
|
INSERT INTO "mml_http_map" VALUES (26, 'OMC', 'dsp', 'neconfig', 'Get', '/api/rest/dataManagement/v1/omc_db/ne_config', NULL, 'SQL', '?SQL=select+ne_type,param_display,JSON_UNQUOTE(json_extract(param_json,''$[0].name''))+as+param_name,JSON_UNQUOTE(json_extract(param_json,''$[0].value''))+as+param_value+from+ne_config', '{}', '{
|
|
"retFmt": "GetDB",
|
|
"retMsg": "RetCode = %d operation succeeded\n\n",
|
|
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
|
|
"title": "NE Config Parameters",
|
|
"singleList": true,
|
|
"sepSpaceNum": 2,
|
|
"alignmentM": "Left",
|
|
"alignmentSN": "Right",
|
|
"alignmentSV": "Left",
|
|
"cols": [
|
|
{
|
|
"name": "ne_type",
|
|
"display": "NE Type",
|
|
"length": 10
|
|
},
|
|
{
|
|
"name": "param_display",
|
|
"display": "Parameter Display",
|
|
"length": 128
|
|
},
|
|
{
|
|
"name": "param_name",
|
|
"display": "Parameter Name",
|
|
"length": 256
|
|
},
|
|
{
|
|
"name": "param_value",
|
|
"display": "Parameter Value",
|
|
"length": 256
|
|
}
|
|
],
|
|
"end": "(Number of results = %d)\n\n"
|
|
}');
|
|
INSERT INTO "mml_http_map" VALUES (27, 'OMC', 'lst', 'license', 'Get', '/api/rest/dataManagement/v1/omc_db/ne_license', NULL, 'loc', '?loc=', '{}', '{
|
|
"retFmt": "GetDB",
|
|
"retMsg": "RetCode = %d operation succeeded\n\n",
|
|
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
|
|
"title": "NE License Information",
|
|
"singleList": true,
|
|
"sepSpaceNum": 2,
|
|
"alignmentM": "Left",
|
|
"alignmentSN": "Right",
|
|
"alignmentSV": "Left",
|
|
"cols": [
|
|
{
|
|
"name": "ne_type",
|
|
"display": "NE type",
|
|
"length": 10
|
|
},
|
|
{
|
|
"name": "ne_id",
|
|
"display": "NE ID",
|
|
"length": 20
|
|
},
|
|
{
|
|
"name": "serial_no",
|
|
"display": "Serial no",
|
|
"length": 12
|
|
},
|
|
{
|
|
"name": "capcity",
|
|
"display": "License capcity",
|
|
"length": 11
|
|
},
|
|
{
|
|
"name": "used",
|
|
"display": "License used",
|
|
"length": 11
|
|
},
|
|
{
|
|
"name": "feature_enabled",
|
|
"display": "Feature enabled",
|
|
"length": 30
|
|
},
|
|
{
|
|
"name": "expiration_date",
|
|
"display": "License expiration date",
|
|
"length": 20
|
|
}
|
|
],
|
|
"end": "(Number of results = %d)\n\n"
|
|
}');
|
|
INSERT INTO "mml_http_map" VALUES (28, 'OMC', 'dep', 'license', 'Put', '/api/rest/dataManagement/v1/omc_db/ne_license', NULL, 'loc', '?loc=', '{
|
|
"bodyFmt": "PutDB",
|
|
"bodyKey": "ne_license",
|
|
"callFunc": "DeploymentLicense"
|
|
}', '{
|
|
"retFmt": "DeleteDB",
|
|
"retMsg": "RetCode = %d operation succeeded\n\n",
|
|
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
|
|
"cols": [
|
|
{
|
|
"name": "affectedRows",
|
|
"display": "Affected rows",
|
|
"length": 11
|
|
}
|
|
]
|
|
}');
|
|
INSERT INTO "mml_http_map" VALUES (29, 'OMC', 'rel', 'license', 'Put', '/api/rest/dataManagement/v1/omc_db/ne_license', NULL, 'loc', '?loc=', '{
|
|
"bodyFmt": "PutDB",
|
|
"bodyKey": "ne_license",
|
|
"callFunc": "InstallLicense"
|
|
}', '{
|
|
"retFmt": "DeleteDB",
|
|
"retMsg": "RetCode = %d operation succeeded\n\n",
|
|
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
|
|
"cols": [
|
|
{
|
|
"name": "affectedRows",
|
|
"display": "Affected rows",
|
|
"length": 11
|
|
}
|
|
]
|
|
}');
|
|
INSERT INTO "mml_http_map" VALUES (30, 'OMC', 'ins', 'license', 'Put', '/api/rest/dataManagement/v1/omc_db/ne_license', NULL, 'loc', '?loc=', '{
|
|
"bodyFmt": "PutDB",
|
|
"bodyKey": "ne_license",
|
|
"callFunc": "InstallLicense"
|
|
}', '{
|
|
"retFmt": "DeleteDB",
|
|
"retMsg": "RetCode = %d operation succeeded\n\n",
|
|
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
|
|
"cols": [
|
|
{
|
|
"name": "affectedRows",
|
|
"display": "Affected rows",
|
|
"length": 11
|
|
}
|
|
]
|
|
}');
|
|
INSERT INTO "mml_http_map" VALUES (31, 'OMC', 'adj', 'license', 'Put', '/api/rest/dataManagement/v1/omc_db/ne_license', NULL, 'loc', '?loc=', '{
|
|
"bodyFmt": "PutDB",
|
|
"bodyKey": "ne_license",
|
|
"callFunc": "AdjustmentLicense"
|
|
}', '{
|
|
"retFmt": "DeleteDB",
|
|
"retMsg": "RetCode = %d operation succeeded\n\n",
|
|
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
|
|
"cols": [
|
|
{
|
|
"name": "affectedRows",
|
|
"display": "Affected rows",
|
|
"length": 11
|
|
}
|
|
]
|
|
}');
|
|
INSERT INTO "mml_http_map" VALUES (32, 'OMC', 'exp', 'license', 'Put', '/api/rest/dataManagement/v1/omc_db/ne_license', NULL, 'loc', '?loc=', '{
|
|
"bodyFmt": "PutDB",
|
|
"bodyKey": "ne_license",
|
|
"cols": [
|
|
{
|
|
"name": "updated_at",
|
|
"alias": "updated_at",
|
|
"type": "string",
|
|
"length": 20,
|
|
"value": "2023-08-17 23:38:53"
|
|
}
|
|
]
|
|
}', '{
|
|
"retFmt": "DeleteDB",
|
|
"retMsg": "RetCode = %d operation succeeded\n\n",
|
|
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
|
|
"cols": [
|
|
{
|
|
"name": "affectedRows",
|
|
"display": "Affected rows",
|
|
"length": 11
|
|
}
|
|
]
|
|
}');
|
|
INSERT INTO "mml_http_map" VALUES (33, 'OMC', 'uni', 'license', 'Delete', '/api/rest/dataManagement/v1/omc_db/ne_license', NULL, 'loc', '?loc=', '{}', '{
|
|
"retFmt": "DeleteDB",
|
|
"retMsg": "RetCode = %d operation succeeded\n\n",
|
|
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
|
|
"cols": [
|
|
{
|
|
"name": "affectedRows",
|
|
"display": "Affected rows",
|
|
"length": 11
|
|
}
|
|
]
|
|
}');
|
|
INSERT INTO "mml_http_map" VALUES (34, 'OMC', 'run', 'shell', 'Put', '/api/rest/systemCommand/v1/omc/shell', NULL, 'loc', '?loc=', '{
|
|
"bodyFmt": "PutDB",
|
|
"bodyKey": "shell",
|
|
"callFunc": "RunShellCommand"
|
|
}', '{
|
|
"retFmt": "DeleteDB",
|
|
"retMsg": "RetCode = %d operation succeeded\n\n",
|
|
"errMsg": "ErrorCode = %d operation failed: %s\n\n",
|
|
"cols": [
|
|
{
|
|
"name": "affectedRows",
|
|
"display": "Affected rows",
|
|
"length": 11
|
|
}
|
|
]
|
|
}');
|