Updating the IP Address Trustlist or Listening IP Address Segment
On an offload node, run the haf-tool config command to configure the IP address trustlist and listening IP address segment. The command is as follows:
- Set the IP address trustlist.
/home/omm/haf-install/haf-target/tools/haf-tool config --set ip_white_list <value>
- Set the listening IP address segment, for example, 192.168.119.0/24.
/home/omm/haf-install/haf-target/tools/haf-tool config --set listen_ip <value>
- Restart haf_daemon for the configuration to take effect.
- Use SmartKit to resend the IP address trustlist. The command is as follows:
Parameter
Description
Task Name
Updating the IP address trustlist
Task Description
Updating the IP address trustlist of offload nodes
Run Directory
/home/omm/haf-install/haf-target/tools
Run Command
Offload node:
/home/omm/haf-install/haf-target/tools/haf-tool config --set ip_white_list ip_list
Whether to Check Return Code
Yes
Expected Return Code
0
- Use SmartKit to update a listening IP address segment. The command is as follows:
Parameter
Description
Task Name
Updating the IP address trustlist
Task Description
Updating the IP address trustlist of offload nodes
Run Directory
/home/omm/haf-install/haf-target/tools/
Run Command
On an offload node:
/home/omm/haf-install/haf-target/tools/haf-tool config --set listen_ip sevice_ip_value
Whether to Check Return Code
Yes
Expected Return Code
0