diff options
| author | Vincenzo Maffione <v.maffione@gmail.com> | 2016-10-23 18:52:18 +0200 |
|---|---|---|
| committer | Vincenzo Maffione <v.maffione@gmail.com> | 2016-10-23 18:52:18 +0200 |
| commit | b4a1c65e541f0815436941aeccac4397ac5eeb26 (patch) | |
| tree | 68cb497938929ff6090a666caf0561313331b6bc /main.py | |
| parent | 3f6113d2bb0aca29a91282f8103b47d8ac310340 (diff) | |
| download | rumba-b4a1c65e541f0815436941aeccac4397ac5eeb26.tar.gz rumba-b4a1c65e541f0815436941aeccac4397ac5eeb26.zip | |
libarcfire: add Policy and normal DIF
Diffstat (limited to 'main.py')
| -rwxr-xr-x | main.py | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -6,7 +6,13 @@ from libarcfire import * exp = Experiment("prova") -exp.dif_add(ShimEthDIF("300", 0, ["a", "b", "c"])) +exp.dif_add(ShimEthDIF("300", 0, ["a", "b"])) +exp.dif_add(ShimEthDIF("400", 0, ["b", "c"])) + +n1 = NormalDIF("n1", ["a", "b", "c"]) +n1.policy_add(Policy("rmt.pff", "lfa")) +n1.policy_add(Policy("security-manager", "passwd", passwd="xyz")) +exp.dif_add(n1) print(exp) |
