用于生成firehol配置的python库
pyrehol的Python项目详细描述
[![构建状态](https://travis ci.org/uber/pyrehol.svg)(https://travis ci.org/uber/pyrehol)
**pyrehol**是用于生成[firehol]配置文件的python库。如果您想将Firehol的可读性、可复制性和可靠性与某种自动化集群管理系统(例如,[clusto](http://clusto.org)无需编写超级复杂的bash。
“eth0”)作为i:
i.为我的clusto对象中的服务设置u protection('strong')
属性值(key='firehol',subkey='allowed-services'):
i.添加u server(service,'accept')
p.添加u接口(“private”,“eth1”)作为i:
i.添加u server('ssh',accept')
with open('/etc/firehol/firehol.conf',,“w”)作为f:
p.emit(f)
```
\uber technologies,inc.
更多信息请参见[license.txt](。
马上就到
**pyrehol**是用于生成[firehol]配置文件的python库。如果您想将Firehol的可读性、可复制性和可靠性与某种自动化集群管理系统(例如,[clusto](http://clusto.org)无需编写超级复杂的bash。
“eth0”)作为i:
i.为我的clusto对象中的服务设置u protection('strong')
属性值(key='firehol',subkey='allowed-services'):
i.添加u server(service,'accept')
p.添加u接口(“private”,“eth1”)作为i:
i.添加u server('ssh',accept')
with open('/etc/firehol/firehol.conf',,“w”)作为f:
p.emit(f)
```
\uber technologies,inc.
更多信息请参见[license.txt](。
马上就到