-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
50 lines (46 loc) · 1.47 KB
/
Copy pathsetup.py
File metadata and controls
50 lines (46 loc) · 1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
"""
sonic-firewall setup.py
Installs the Python components of the SONiC stateful firewall:
- fwzonemgrd (zone manager daemon)
- fwpolicyd (policy engine daemon)
- CLI plugins (config/show/clear firewall)
- Warm restart script
C++ components (fwsyncd, fworch) are built via Makefile.
"""
from setuptools import setup, find_packages
setup(
name='sonic-firewall',
version='1.0.0',
description='SONiC Stateful Firewall - Zone-based east-west microsegmentation',
url='https://github.com/sonic-net/sonic-firewall',
license='Apache-2.0',
packages=find_packages(where='src'),
package_dir={'': 'src'},
python_requires='>=3.9',
install_requires=[
'swsscommon',
'natsort',
'tabulate',
],
entry_points={
'console_scripts': [
'fwzonemgrd.py=fwzonemgrd.fwzonemgrd:main',
'fwpolicyd.py=fwpolicyd.fwpolicyd:main',
],
},
scripts=[
'scripts/restore_fw_state.py',
],
data_files=[
('cli/config/plugins', ['cli/config/plugins/firewall.py']),
('cli/show/plugins', ['cli/show/plugins/show_firewall.py']),
('cli/clear/plugins', ['cli/clear/plugins/clear_firewall.py']),
],
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Topic :: System :: Networking :: Firewalls',
],
)