File tree 5 files changed +583
-48
lines changed
5 files changed +583
-48
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ def topogen_test(
11
11
src ,
12
12
topo ,
13
13
gateway = False ,
14
+ fabrid = False ,
14
15
debug = False ,
15
16
args = [],
16
17
deps = [],
@@ -57,6 +58,10 @@ def topogen_test(
57
58
if gateway :
58
59
common_args .append ("--setup-params='--sig'" )
59
60
61
+ if fabrid :
62
+ common_args .append ("--setup-params='--fabrid'" )
63
+ common_args .append ("--setup-params='--endhost'" )
64
+
60
65
common_data = [
61
66
"//scion-pki/cmd/scion-pki" ,
62
67
"//tools:topogen" ,
Original file line number Diff line number Diff line change @@ -7,16 +7,17 @@ topogen_test(
7
7
name = "test" ,
8
8
src = "test.py" ,
9
9
args = [
10
- "--executable=drkey -demo:$(location //demo/drkey:drkey -demo)" ,
10
+ "--executable=fabrid -demo:$(location //demo/fabrid:fabrid -demo)" ,
11
11
],
12
- data = ["//demo/drkey:drkey -demo" ],
12
+ data = ["//demo/fabrid:fabrid -demo" ],
13
13
topo = "//topology:tiny4.topo" ,
14
+ fabrid = True ,
14
15
)
15
16
16
17
go_library (
17
18
name = "go_default_library" ,
18
19
srcs = ["main.go" ],
19
- importpath = "github.com/scionproto/scion/demo/drkey " ,
20
+ importpath = "github.com/scionproto/scion/demo/fabrid " ,
20
21
visibility = ["//visibility:private" ],
21
22
deps = [
22
23
"//pkg/addr:go_default_library" ,
@@ -37,13 +38,13 @@ go_library(
37
38
)
38
39
39
40
scion_go_binary (
40
- name = "drkey -demo" ,
41
+ name = "fabrid -demo" ,
41
42
embed = [":go_default_library" ],
42
43
visibility = ["//visibility:public" ],
43
44
)
44
45
45
46
go_binary (
46
- name = "drkey " ,
47
+ name = "fabrid " ,
47
48
embed = [":go_default_library" ],
48
49
visibility = ["//visibility:public" ],
49
50
)
Original file line number Diff line number Diff line change 1
- # DRKey demo
1
+ # FABRID demo
2
2
3
3
This demo shows how two hosts can obtain a shared key with the DRKey system.
4
4
The "server" side host can locally derive keys for any other host.
@@ -19,7 +19,7 @@ The demo consists of the following steps:
19
19
## Run the demo
20
20
21
21
1 . [ set up the development environment] ( https://docs.scion.org/en/latest/build/setup.html )
22
- 1 . ` bazel test --test_output=streamed --cache_test_results=no //demo/drkey :test `
22
+ 1 . ` bazel test --test_output=streamed --cache_test_results=no //demo/fabrid :test `
23
23
24
24
Note: this demo works on any SCION network topology. To run the demo on a
25
25
different network topology, modify the ` topo ` parameter in ` BUILD.bazel ` to
You can’t perform that action at this time.
0 commit comments