mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 14:25:26 +00:00
build-aux: Generate ofp field decoders.
Based on meta-field information extracted by extract_ofp_fields, autogenerate the right decoder to be used. Acked-by: Eelco Chaudron <echaudro@redhat.com> Signed-off-by: Adrian Moreno <amorenoz@redhat.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
This commit is contained in:
committed by
Ilya Maximets
parent
d542f0ea85
commit
61e040fc23
@@ -30,6 +30,7 @@ ovs_pyfiles = \
|
||||
python/ovs/flow/decoders.py \
|
||||
python/ovs/flow/kv.py \
|
||||
python/ovs/flow/list.py \
|
||||
python/ovs/flow/ofp_fields.py \
|
||||
python/ovs/json.py \
|
||||
python/ovs/jsonrpc.py \
|
||||
python/ovs/ovsuuid.py \
|
||||
@@ -127,3 +128,9 @@ EXTRA_DIST += python/ovs/dirs.py.template
|
||||
CLEANFILES += python/ovs/dirs.py
|
||||
|
||||
EXTRA_DIST += python/TODO.rst
|
||||
|
||||
$(srcdir)/python/ovs/flow/ofp_fields.py: $(srcdir)/build-aux/gen_ofp_field_decoders include/openvswitch/meta-flow.h
|
||||
$(AM_V_GEN)$(run_python) $< $(srcdir)/include/openvswitch/meta-flow.h > $@.tmp
|
||||
$(AM_V_at)mv $@.tmp $@
|
||||
EXTRA_DIST += python/ovs/flow/ofp_fields.py
|
||||
CLEANFILES += python/ovs/flow/ofp_fields.py
|
||||
|
3
python/ovs/.gitignore
vendored
3
python/ovs/.gitignore
vendored
@@ -1,2 +1,3 @@
|
||||
version.py
|
||||
dirs.py
|
||||
flow/ofp_fields.py
|
||||
version.py
|
||||
|
Reference in New Issue
Block a user