diff options
author | Vincenzo Maffione <v.maffione@gmail.com> | 2017-06-01 15:17:59 +0200 |
---|---|---|
committer | Vincenzo Maffione <v.maffione@gmail.com> | 2017-06-01 15:42:24 +0200 |
commit | f75a6d9b31479060dd1d1a52102a714ae7c48154 (patch) | |
tree | 19e2df91143919aac7fdab88ca1f3040a4d4b50f /rumba/prototypes/irati.py | |
parent | 24c375545c6ef7d03e8a18dea2cb06763059b1b9 (diff) | |
download | rumba-f75a6d9b31479060dd1d1a52102a714ae7c48154.tar.gz rumba-f75a6d9b31479060dd1d1a52102a714ae7c48154.zip |
model: remove registration and bindings
Fixes #7
Diffstat (limited to 'rumba/prototypes/irati.py')
-rw-r--r-- | rumba/prototypes/irati.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/rumba/prototypes/irati.py b/rumba/prototypes/irati.py index e24dd60..f9c715f 100644 --- a/rumba/prototypes/irati.py +++ b/rumba/prototypes/irati.py @@ -228,16 +228,10 @@ class Experiment(mod.Experiment): next_vlan += 10 self.shim2vlan[dif.name] = vlan - # TODO: what format are the mappings registered in? Is this ok? - app_mappings = [] - for node in self.nodes: - app_mappings += [{'name': app, 'dif': self.dif_name(dif)} - for app in node.registrations - for dif in node.registrations[app]] - # If some app directives were specified, use those to build da.map. # Otherwise, assume the standard applications are to be mapped in # the DIF with the highest rank. + app_mappings = [] if len(app_mappings) == 0: if len(self.dif_ordering) > 0: for adm in \ |