Pilot 3 CCIPS agent component
© Mattin Antartiko Elorza Forcada
In this scenario we are deploying two Agent running in docker mode.
docker build -t ccips_agent .
Here you only need to run as follows in each agent.
docker run -it --network host --cap-add ALL --name ccips_agent --rm ccips_agent
- SPD entries:
ip xfrm policy list
- SAD entries:
ip xfrm state list
- SPD entries:
ip xfrm policy flush
- SAD entries:
ip xfrm state flush
If you are running the ccips without using the cointainer, it could be possible to have some entries stuck in sysrepo. To remove them, under the directory examples in the ccips-controller proyect, there is an script called removeEntries.go that tries to remove the sysrepo entries associated with the SAD and SPD entries from a set of servers.
Note that you should first kill the ccips process before trying to remove the entries from sysrepo.