commit | 7bcb25c0d94ccf6a50b273a3e1752fa22e4c113e | [log] [tgz] |
---|---|---|
author | Gamze Abaka <gamze.abaka@netsia.com> | Fri May 31 12:45:50 2019 +0000 |
committer | Saurav Das <sauravdas@alumni.stanford.edu> | Fri Jun 07 23:19:21 2019 +0000 |
tree | 9de68abb2bf3b1689d5d12b323efde0f53783057 | |
parent | 99f40d6cbcf3543383b24ef78da3211ecbfcd51a [diff] |
Adding metadata match criterion to the classifier of the openolt_flow_mgr Change-Id: Ic3faca75920cb465f1738ae6f6c4765fd72b190e
diff --git a/voltha/adapters/openolt/openolt_flow_mgr.py b/voltha/adapters/openolt/openolt_flow_mgr.py index b00a60f..1cc58db 100644 --- a/voltha/adapters/openolt/openolt_flow_mgr.py +++ b/voltha/adapters/openolt/openolt_flow_mgr.py
@@ -165,6 +165,8 @@ classifier_info[IPV4_SRC] = field.ipv4_src self.log.debug('field-type-ipv4-src', ipv4_dst=classifier_info[IPV4_SRC]) + elif field.type == fd.METADATA: + pass else: raise NotImplementedError('field.type={}'.format( field.type))