增加gdev配置
This commit is contained in:
@@ -13,4 +13,10 @@
|
||||
template:
|
||||
src: "{{ role_path }}/templates/kni.conf.j2"
|
||||
dest: /home/tsg/kni/conf/kni/kni.conf
|
||||
tags: template
|
||||
|
||||
- name: Template the gdev.conf
|
||||
template:
|
||||
src: "{{ role_path }}/templates/gdev.conf.j2"
|
||||
dest: /home/tsg/kni/conf/gdev.conf
|
||||
tags: template
|
||||
6
roles/kni/templates/gdev.conf.j2
Normal file
6
roles/kni/templates/gdev.conf.j2
Normal file
@@ -0,0 +1,6 @@
|
||||
[Module]
|
||||
pcapdevice={{ nic_data_incoming.name }}
|
||||
sendto_gdev_card={{ nic_data_incoming.name }}
|
||||
sendto_gdev_ip={{ nic_data_incoming.ip }}
|
||||
gdev_status_switch=1
|
||||
default_keepalive_action=0
|
||||
Reference in New Issue
Block a user