From d70d7624795a9305eef1f0a6d3842d47ecd27160 Mon Sep 17 00:00:00 2001 From: Aijana Schumann Date: Wed, 28 Jul 2021 11:19:09 +0200 Subject: ODLUX Connect App Info enhancement Present yang capabilities in a table view instead of list Issue-ID: SDNC-1121 Signed-off-by: Aijana Schumann Change-Id: I4904fb132351199b57a851faf07d371fa5e575ab --- .../apps/connectApp/src/models/topologyNetconf.ts | 25 +++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) (limited to 'sdnr/wt/odlux/apps/connectApp/src/models/topologyNetconf.ts') diff --git a/sdnr/wt/odlux/apps/connectApp/src/models/topologyNetconf.ts b/sdnr/wt/odlux/apps/connectApp/src/models/topologyNetconf.ts index ef22aab43..936e20bc2 100644 --- a/sdnr/wt/odlux/apps/connectApp/src/models/topologyNetconf.ts +++ b/sdnr/wt/odlux/apps/connectApp/src/models/topologyNetconf.ts @@ -16,7 +16,7 @@ * ============LICENSE_END========================================================================== */ -export interface AvailableCapability { + export interface AvailableCapability { "capability-origin": string; capability: string; } @@ -34,3 +34,26 @@ export interface Topology { "topology-id": string; "network-topology:node": TopologyNode[]; } + +/** + * Represents the type of the features of the Module. + */ +export interface Module { + feature?: string[]; + location?: string[]; + name: string; + namespace?: string; + revision?: string; +} + +export interface ModuleFeatures { + module: Module[]; +} + +export interface ModuleSet { + "module-set": ModuleFeatures[]; +} + +export interface FeatureTopology { + "ietf-yang-library:yang-library" : ModuleSet +} -- cgit 1.2.3-korg