X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=src%2Femuvim%2Fdcemulator%2Fnet.py;h=bca20b2dfcf5ce97ad2a5d17718534352ab82158;hb=61699ebdbe6c8069fe70ffcdfa5c49f060d21a8d;hp=cbe668f1751a80213c7679d69e1e68d81c9ab2b5;hpb=3989dcc6e2c8564fc2d8c9057d669bb56e4298b3;p=osm%2Fvim-emu.git diff --git a/src/emuvim/dcemulator/net.py b/src/emuvim/dcemulator/net.py index cbe668f..bca20b2 100755 --- a/src/emuvim/dcemulator/net.py +++ b/src/emuvim/dcemulator/net.py @@ -405,6 +405,7 @@ class DCNetwork(Containernet): path = kwargs.get('path') current_hop = kwargs.get('current_hop') vlan = kwargs.get('vlan') + priority = kwargs.get('priority') s = ',' if match_input: @@ -415,7 +416,8 @@ class DCNetwork(Containernet): if cookie: flow['cookie'] = int(cookie) - + if priority: + flow['priority'] = int(priority) flow['actions'] = []