diff options
author | Sander Vrijders <[email protected]> | 2018-02-13 16:42:03 +0100 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2018-02-13 16:42:03 +0100 |
commit | 09faab07366b1835955d132352a59c4c78b65651 (patch) | |
tree | d7275f263eef446b82cbf2c735a0388ec84034ec | |
parent | f075b0b6f69f1bae3735eb8560b8f571c708aafd (diff) | |
download | rumba-09faab07366b1835955d132352a59c4c78b65651.tar.gz rumba-09faab07366b1835955d132352a59c4c78b65651.zip |
prototypes: Add policy support for Ouroboros
This adds policy support for the Ouroboros plugin.
-rw-r--r-- | rumba/prototypes/ouroboros.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rumba/prototypes/ouroboros.py b/rumba/prototypes/ouroboros.py index fd94f77..4379cbc 100644 --- a/rumba/prototypes/ouroboros.py +++ b/rumba/prototypes/ouroboros.py @@ -104,7 +104,12 @@ class Experiment(mod.Experiment): elif isinstance(ipcp.dif, mod.NormalDIF): cmd += " type normal" if ipcp.dif_bootstrapper: + pols = ipcp.dif.policy.get_policies() + for comp in pols: + for pol in pols[comp]: + cmd += " " + comp + " " + pol cmd += " layer " + ipcp.dif.name + " autobind" + cmd2 = "irm r n " + ipcp.name for dif_b in node.dif_registrations[ipcp.dif]: cmd2 += " layer " + dif_b.name |