5.9. vlcp_docker.cleanup


This document is generated from the source file.

View Source on GitHub

Created on 2016/11/3

class vlcp_docker.cleanup.Cleanup(server)

Clean up unreleased veth devices, delete unreleased logical ports. Comparing current logical ports with docker API result

cleanup.py -f <configfile> [-H <endpoint>] [–skipovs] [–skipiplink] [–skiplogicalport] [–nodockerinfo]

-H or –host: specify docker API endpoint –skipovs: do not remove invalid ports from OpenvSwitch –skipiplink: do not remove extra veth devices –skiplogicalport: do not remove unreleased logical ports –nodockerinfo: do not detect docker info, always delete logical ports