Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Extract CNI networking into its own handler #26

Merged
merged 2 commits into from
Jan 17, 2020
Merged

Extract CNI networking into its own handler #26

merged 2 commits into from
Jan 17, 2020

Commits on Jan 17, 2020

  1. Refactor CNI networking to own handler

    This refactor puts all CNI variables, constants, initialization and
    functions into it's own handler.
    
    This simplifies non-network related code like main and deploy functions
    and avoids redundant code been called on every container deployment.
    
    Signed-off-by: Carlos de Paula <[email protected]>
    carlosedp committed Jan 17, 2020
    Configuration menu
    Copy the full SHA
    19d4e5d View commit details
    Browse the repository at this point in the history
  2. Remove CNI network on container delete/update

    When deleting or updating the container, remove the created CNI network.
    Changed CNI id generation to be able to recover from other functions.
    
    Signed-off-by: Carlos de Paula <[email protected]>
    carlosedp committed Jan 17, 2020
    Configuration menu
    Copy the full SHA
    0bb17ae View commit details
    Browse the repository at this point in the history