summaryrefslogtreecommitdiffstats
path: root/sdnr/wt/odlux/apps/connectApp/src/models/topologyNetconf.ts
diff options
context:
space:
mode:
Diffstat (limited to 'sdnr/wt/odlux/apps/connectApp/src/models/topologyNetconf.ts')
-rw-r--r--sdnr/wt/odlux/apps/connectApp/src/models/topologyNetconf.ts25
1 files changed, 24 insertions, 1 deletions
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
+}