-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Wei Tie <[email protected]>
- Loading branch information
Wei Tie
committed
Dec 15, 2017
0 parents
commit 9e297b2
Showing
2 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Copyright 2017 Cisco Systems Inc. All rights reserved. | ||
|
||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Contiv netplugin-init | ||
|
||
This repository contains Contiv network plugin init container, it prepares | ||
contiv netplugin/netmaster required configurations (e.g. CNI configs), to make | ||
the netplugin/netmaster ready to run. | ||
|
||
## Why need netplugin-init | ||
|
||
Contiv netplugin and netmaster required several conditions been met before it | ||
could be start correctly, it includes but not limits to below: | ||
|
||
1. ensure required environment keys set | ||
2. ensure required file directories created | ||
3. ensure CNI configurations created | ||
4. ensure openvswitch services are listening | ||
|
||
This container is aim to run before netplugin/netmaster container (e.g. k8s initContainer), | ||
to ensure required conditions are met | ||
|
||
## Contributing | ||
|
||
1. Fork it | ||
2. Create your feature branch (`git checkout -b my-new-feature`) | ||
3. Commit your changes (`git commit -am 'Add some feature'`) | ||
4. Push to the branch (`git push origin my-new-feature`) | ||
5. Create new Pull Request | ||
|
||
# Licence | ||
|
||
Apache 2.0 |