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.
Reviewed: https:/ /review. opencontrail. org/44121 github. com/Juniper/ contrail- windows- docker- driver/ commit/ be77379f66a6af5 13c379202918fa6 c98580bb34
Committed: http://
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master
commit be77379f66a6af5 13c379202918fa6 c98580bb34
Author: Michal Kostrzewa <email address hidden>
Date: Tue Jun 26 11:34:35 2018 +0200
Extract LocalContrailne tworkRepository 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: secondary/ local_networkin g secondary/ local_networkin g/simulator. Simulated HNS secondary/ hns to secondary/ local_networkin g/hns - this is the actual HNS
* Create adapters/
* Create adapters/
and related code can be implemented there.
* Move everything under adapters/
adapters/
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 f59f852c7b9f140 25bf034a30c
Change-Id: Ieaedc0bb1604f4