├── .github └── workflows │ ├── ci.yml │ └── docs.yml ├── .gitignore ├── CONTRIBUTING ├── LICENSE ├── README.md ├── bfrt_helper ├── __init__.py ├── bfrt.py ├── bfrt_info.py ├── connection.py ├── fields.py ├── match.py ├── pb2 │ ├── bfruntime_pb2.py │ └── bfruntime_pb2_grpc.py └── util.py ├── docs ├── .nojekyll ├── Makefile ├── _static │ ├── css │ │ ├── blockquote.css │ │ ├── custom.css │ │ └── font.css │ ├── exo2 │ │ ├── Exo2-Italic-VariableFont_wght.ttf │ │ ├── Exo2-VariableFont_wght.ttf │ │ ├── OFL.txt │ │ ├── README.txt │ │ └── static │ │ │ ├── Exo2-Black.ttf │ │ │ ├── Exo2-BlackItalic.ttf │ │ │ ├── Exo2-Bold.ttf │ │ │ ├── Exo2-BoldItalic.ttf │ │ │ ├── Exo2-ExtraBold.ttf │ │ │ ├── Exo2-ExtraBoldItalic.ttf │ │ │ ├── Exo2-ExtraLight.ttf │ │ │ ├── Exo2-ExtraLightItalic.ttf │ │ │ ├── Exo2-Italic.ttf │ │ │ ├── Exo2-Light.ttf │ │ │ ├── Exo2-LightItalic.ttf │ │ │ ├── Exo2-Medium.ttf │ │ │ ├── Exo2-MediumItalic.ttf │ │ │ ├── Exo2-Regular.ttf │ │ │ ├── Exo2-SemiBold.ttf │ │ │ ├── Exo2-SemiBoldItalic.ttf │ │ │ ├── Exo2-Thin.ttf │ │ │ └── Exo2-ThinItalic.ttf │ ├── favicon.ico │ └── logo.png ├── api.rst ├── api │ ├── bfrt.rst │ ├── bfrt_info.rst │ ├── fields.rst │ ├── match.rst │ └── util.rst ├── conf.py ├── examples.rst ├── fields.rst ├── index.rst ├── match.rst └── overview.rst ├── examples ├── load_pipeline_bfrt.py └── load_pipeline_bfrt_helper.py ├── proto └── bfrt_helper │ └── pb2 │ └── COPY_PROTO_HERE ├── pyproject.toml ├── requirements.txt ├── scripts ├── build-docs.sh ├── build-proto.sh ├── coverage-percent.py └── run-tests.sh └── test ├── ignore.py ├── ignore_test_grpc.py ├── resources └── test.p4 ├── test_fields.py ├── test_ipaddress.py ├── test_key.py ├── test_lpm.py ├── test_lpm_ipaddress.py ├── test_mac_address.py ├── test_ternary.py └── test_ternary_ipaddress.py /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/docs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/.github/workflows/docs.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/.gitignore -------------------------------------------------------------------------------- /CONTRIBUTING: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/CONTRIBUTING -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/README.md -------------------------------------------------------------------------------- /bfrt_helper/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bfrt_helper/bfrt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/bfrt_helper/bfrt.py -------------------------------------------------------------------------------- /bfrt_helper/bfrt_info.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/bfrt_helper/bfrt_info.py -------------------------------------------------------------------------------- /bfrt_helper/connection.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/bfrt_helper/connection.py -------------------------------------------------------------------------------- /bfrt_helper/fields.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/bfrt_helper/fields.py -------------------------------------------------------------------------------- /bfrt_helper/match.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/bfrt_helper/match.py -------------------------------------------------------------------------------- /bfrt_helper/pb2/bfruntime_pb2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/bfrt_helper/pb2/bfruntime_pb2.py -------------------------------------------------------------------------------- /bfrt_helper/pb2/bfruntime_pb2_grpc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/bfrt_helper/pb2/bfruntime_pb2_grpc.py -------------------------------------------------------------------------------- /bfrt_helper/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/bfrt_helper/util.py -------------------------------------------------------------------------------- /docs/.nojekyll: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/_static/css/blockquote.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/docs/_static/css/blockquote.css -------------------------------------------------------------------------------- /docs/_static/css/custom.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/docs/_static/css/custom.css -------------------------------------------------------------------------------- /docs/_static/css/font.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/docs/_static/css/font.css -------------------------------------------------------------------------------- /docs/_static/exo2/Exo2-Italic-VariableFont_wght.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/docs/_static/exo2/Exo2-Italic-VariableFont_wght.ttf -------------------------------------------------------------------------------- /docs/_static/exo2/Exo2-VariableFont_wght.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/docs/_static/exo2/Exo2-VariableFont_wght.ttf -------------------------------------------------------------------------------- /docs/_static/exo2/OFL.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/docs/_static/exo2/OFL.txt -------------------------------------------------------------------------------- /docs/_static/exo2/README.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/docs/_static/exo2/README.txt -------------------------------------------------------------------------------- /docs/_static/exo2/static/Exo2-Black.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/docs/_static/exo2/static/Exo2-Black.ttf -------------------------------------------------------------------------------- /docs/_static/exo2/static/Exo2-BlackItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/docs/_static/exo2/static/Exo2-BlackItalic.ttf -------------------------------------------------------------------------------- /docs/_static/exo2/static/Exo2-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/docs/_static/exo2/static/Exo2-Bold.ttf -------------------------------------------------------------------------------- /docs/_static/exo2/static/Exo2-BoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/docs/_static/exo2/static/Exo2-BoldItalic.ttf -------------------------------------------------------------------------------- /docs/_static/exo2/static/Exo2-ExtraBold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/docs/_static/exo2/static/Exo2-ExtraBold.ttf -------------------------------------------------------------------------------- /docs/_static/exo2/static/Exo2-ExtraBoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/docs/_static/exo2/static/Exo2-ExtraBoldItalic.ttf -------------------------------------------------------------------------------- /docs/_static/exo2/static/Exo2-ExtraLight.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/docs/_static/exo2/static/Exo2-ExtraLight.ttf -------------------------------------------------------------------------------- /docs/_static/exo2/static/Exo2-ExtraLightItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/docs/_static/exo2/static/Exo2-ExtraLightItalic.ttf -------------------------------------------------------------------------------- /docs/_static/exo2/static/Exo2-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/docs/_static/exo2/static/Exo2-Italic.ttf -------------------------------------------------------------------------------- /docs/_static/exo2/static/Exo2-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/docs/_static/exo2/static/Exo2-Light.ttf -------------------------------------------------------------------------------- /docs/_static/exo2/static/Exo2-LightItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/docs/_static/exo2/static/Exo2-LightItalic.ttf -------------------------------------------------------------------------------- /docs/_static/exo2/static/Exo2-Medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/docs/_static/exo2/static/Exo2-Medium.ttf -------------------------------------------------------------------------------- /docs/_static/exo2/static/Exo2-MediumItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/docs/_static/exo2/static/Exo2-MediumItalic.ttf -------------------------------------------------------------------------------- /docs/_static/exo2/static/Exo2-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/docs/_static/exo2/static/Exo2-Regular.ttf -------------------------------------------------------------------------------- /docs/_static/exo2/static/Exo2-SemiBold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/docs/_static/exo2/static/Exo2-SemiBold.ttf -------------------------------------------------------------------------------- /docs/_static/exo2/static/Exo2-SemiBoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/docs/_static/exo2/static/Exo2-SemiBoldItalic.ttf -------------------------------------------------------------------------------- /docs/_static/exo2/static/Exo2-Thin.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/docs/_static/exo2/static/Exo2-Thin.ttf -------------------------------------------------------------------------------- /docs/_static/exo2/static/Exo2-ThinItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/docs/_static/exo2/static/Exo2-ThinItalic.ttf -------------------------------------------------------------------------------- /docs/_static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/docs/_static/favicon.ico -------------------------------------------------------------------------------- /docs/_static/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/docs/_static/logo.png -------------------------------------------------------------------------------- /docs/api.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/docs/api.rst -------------------------------------------------------------------------------- /docs/api/bfrt.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/docs/api/bfrt.rst -------------------------------------------------------------------------------- /docs/api/bfrt_info.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/docs/api/bfrt_info.rst -------------------------------------------------------------------------------- /docs/api/fields.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/docs/api/fields.rst -------------------------------------------------------------------------------- /docs/api/match.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/docs/api/match.rst -------------------------------------------------------------------------------- /docs/api/util.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/docs/api/util.rst -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/docs/conf.py -------------------------------------------------------------------------------- /docs/examples.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/docs/examples.rst -------------------------------------------------------------------------------- /docs/fields.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/docs/fields.rst -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/docs/index.rst -------------------------------------------------------------------------------- /docs/match.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/docs/match.rst -------------------------------------------------------------------------------- /docs/overview.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/docs/overview.rst -------------------------------------------------------------------------------- /examples/load_pipeline_bfrt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/examples/load_pipeline_bfrt.py -------------------------------------------------------------------------------- /examples/load_pipeline_bfrt_helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/examples/load_pipeline_bfrt_helper.py -------------------------------------------------------------------------------- /proto/bfrt_helper/pb2/COPY_PROTO_HERE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/pyproject.toml -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/requirements.txt -------------------------------------------------------------------------------- /scripts/build-docs.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/scripts/build-docs.sh -------------------------------------------------------------------------------- /scripts/build-proto.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/scripts/build-proto.sh -------------------------------------------------------------------------------- /scripts/coverage-percent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/scripts/coverage-percent.py -------------------------------------------------------------------------------- /scripts/run-tests.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/scripts/run-tests.sh -------------------------------------------------------------------------------- /test/ignore.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/test/ignore.py -------------------------------------------------------------------------------- /test/ignore_test_grpc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/test/ignore_test_grpc.py -------------------------------------------------------------------------------- /test/resources/test.p4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/test/resources/test.p4 -------------------------------------------------------------------------------- /test/test_fields.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/test/test_fields.py -------------------------------------------------------------------------------- /test/test_ipaddress.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/test/test_ipaddress.py -------------------------------------------------------------------------------- /test/test_key.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/test/test_key.py -------------------------------------------------------------------------------- /test/test_lpm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/test/test_lpm.py -------------------------------------------------------------------------------- /test/test_lpm_ipaddress.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/test_mac_address.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/test/test_mac_address.py -------------------------------------------------------------------------------- /test/test_ternary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/test/test_ternary.py -------------------------------------------------------------------------------- /test/test_ternary_ipaddress.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/APS-Networks/bfrt-helper/HEAD/test/test_ternary_ipaddress.py --------------------------------------------------------------------------------