-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/69706/
-----------------------------------------------------------

Review request for mesos, Deepak Goel, James Peach, and Qian Zhang.


Bugs: MESOS-9518
    https://issues.apache.org/jira/browse/MESOS-9518


Repository: mesos


Description
-------

We introduced a new agent flag in MESOS-9492 so that CNI configs can be
persisted across reboot. This is for some CNI plugins to be able to
cleanup IP allocated to the containers after a sudden reboot of the host
(not all CNI plugins need this).

It's important to unset `CNI_NETNS` environment variable after reboot
when invoking CNI plugin "DEL" command so that it conforms to the spec.


Diffs
-----

  src/slave/containerizer/mesos/isolators/network/cni/cni.cpp 
cc23428d27d40be8c4ff1476e6e984c7d12760c4 


Diff: https://reviews.apache.org/r/69706/diff/1/


Testing
-------

sudo make check


Thanks,

Jie Yu

Reply via email to