Comment 12 for bug 1778671

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/44121
Committed: http://github.com/Juniper/contrail-windows-docker-driver/commit/be77379f66a6af513c379202918fa6c98580bb34
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit be77379f66a6af513c379202918fa6c98580bb34
Author: Michal Kostrzewa <email address hidden>
Date: Tue Jun 26 11:34:35 2018 +0200

Extract LocalContrailnetworkRepository interface.

This change extracts the old hnsManager logic as a separate adapter. It
brins us closer to pure core/driver module.

hnsManager package used to be responsible for creating HNS networks that
are associated with Contrail subnets.

Packaging:
* Create adapters/secondary/local_networking
* Create adapters/secondary/local_networking/simulator. Simulated HNS
and related code can be implemented there.
* Move everything under adapters/secondary/hns to
adapters/secondary/local_networking/hns - this is the actual HNS
implementation

Tests:
* Move old hnsManager integration tests to hns_test package, and
subsequently into the same hns_test.go file. This is because ginkgo
can't handle multile *_test.go files in the same package, it seems.

Partial-Bug: #1778671
Change-Id: Ieaedc0bb1604f4f59f852c7b9f14025bf034a30c