-
Notifications
You must be signed in to change notification settings - Fork 280
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added homedir resolve process for license paths * added homedir module * remove excessive comments * improved license init logic * moved path resolving logic to a separate path * added tests * implement Absolute path for local path in the binds structure #177 * added tests for binds propagation
- Loading branch information
Showing
7 changed files
with
104 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,5 @@ topology: | |
kind: srl | ||
type: ixr6 | ||
license: node1.lic | ||
binds: | ||
- /node/src:/dst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,6 @@ topology: | |
node1: | ||
kind: srl | ||
type: ixr6 | ||
binds: | ||
- /node/src1:/dst1 | ||
- /node/src2:/dst2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,18 @@ | ||
name: topo3 | ||
name: topo4 | ||
topology: | ||
defaults: | ||
license: default.lic | ||
binds: | ||
- /default/src:/dst | ||
kinds: | ||
srl: | ||
license: kind.lic | ||
binds: | ||
- /kind/src:/dst | ||
nodes: | ||
node1: | ||
kind: srl | ||
type: ixr6 | ||
license: node1.lic | ||
binds: | ||
- /node/src:/dst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: topo5 | ||
topology: | ||
kinds: | ||
srl: | ||
binds: | ||
- /kind/src:/dst | ||
nodes: | ||
node1: | ||
kind: srl | ||
type: ixr6 | ||
license: node1.lic |