Skip to content

Commit a94816c

Browse files
committed
Config false issue #620
The following have been adjusted to be require-instance false; In tapi-connectivity.yang - connection-end-point-ref - switch-control-ref - switch-ref - route-ref In tapi-common.yang - profile-ref In tapi-topology.yang - topology-ref - node-ref
1 parent a761bc0 commit a94816c

3 files changed

Lines changed: 7 additions & 0 deletions

File tree

YANG/tapi-common.yang

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ module tapi-common {
154154
leaf profile-uuid {
155155
type leafref {
156156
path '/tapi-common:context/tapi-common:profile/tapi-common:uuid';
157+
require-instance false;
157158
}
158159
description "none";
159160
}

YANG/tapi-connectivity.yang

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,7 @@ module tapi-connectivity {
379379
leaf connection-end-point-uuid {
380380
type leafref {
381381
path '/tapi-common:context/tapi-topology:topology-context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point/tapi-connectivity:cep-list/tapi-connectivity:connection-end-point/tapi-connectivity:uuid';
382+
require-instance false;
382383
}
383384
description "none";
384385
}
@@ -400,6 +401,7 @@ module tapi-connectivity {
400401
leaf switch-control-uuid {
401402
type leafref {
402403
path '/tapi-common:context/tapi-connectivity:connectivity-context/tapi-connectivity:connection/tapi-connectivity:switch-control/tapi-connectivity:uuid';
404+
require-instance false;
403405
}
404406
description "none";
405407
}
@@ -410,6 +412,7 @@ module tapi-connectivity {
410412
leaf switch-local-id {
411413
type leafref {
412414
path '/tapi-common:context/tapi-connectivity:connectivity-context/tapi-connectivity:connection/tapi-connectivity:switch-control/tapi-connectivity:switch/tapi-connectivity:local-id';
415+
require-instance false;
413416
}
414417
description "none";
415418
}
@@ -420,6 +423,7 @@ module tapi-connectivity {
420423
leaf route-local-id {
421424
type leafref {
422425
path '/tapi-common:context/tapi-connectivity:connectivity-context/tapi-connectivity:connection/tapi-connectivity:route/tapi-connectivity:local-id';
426+
require-instance false;
423427
}
424428
description "none";
425429
}

YANG/tapi-topology.yang

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,7 @@ module tapi-topology {
346346
leaf topology-uuid {
347347
type leafref {
348348
path '/tapi-common:context/tapi-topology:topology-context/tapi-topology:topology/tapi-topology:uuid';
349+
require-instance false;
349350
}
350351
description "none";
351352
}
@@ -366,6 +367,7 @@ module tapi-topology {
366367
leaf node-uuid {
367368
type leafref {
368369
path '/tapi-common:context/tapi-topology:topology-context/tapi-topology:topology/tapi-topology:node/tapi-topology:uuid';
370+
require-instance false;
369371
}
370372
description "none";
371373
}

0 commit comments

Comments
 (0)