Skip to content

Commit

Permalink
Re-modelling SRIOV device plugin
Browse files Browse the repository at this point in the history
Remove cnishim as CNI doesn't talk with Device Plugin directly.
  * api proto between cnishim and device plugin
  * cnishim cmd code

Remove checkpoint file restore as Device Plugin doesn't track
consumed Devices
  * checkpoint folder
  * restorePodMapping function in sriov device plugin cmd

Remove allocatedDevices and managedDevices in sriovManager

Remove patches for kubernetes DP API and sriov-cni

Remove cnishim build in build.sh

Modify cnishim-crd.yaml to sriov-crd.yaml and update pod-tc[x].yaml
  • Loading branch information
zshi-redhat authored and ahalimx86 committed Jul 27, 2018
1 parent 0bbfc91 commit 77567a9
Show file tree
Hide file tree
Showing 41 changed files with 6,368 additions and 1,761 deletions.
230 changes: 0 additions & 230 deletions api/api.pb.go

This file was deleted.

34 changes: 0 additions & 34 deletions api/api.proto

This file was deleted.

6 changes: 0 additions & 6 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,9 @@ mkdir -p "${PWD}/bin"
export GOBIN=${PWD}/bin


echo "Building protobuf API"
protoc -I api/ -I${GOPATH}/src api/api.proto --go_out=plugins=grpc:api

echo "Building SRIOV Device plugin"
$GO install "$@" ${REPO_PATH}/cmd/sriovdp

echo "Building CNI-Shim"
$GO install "$@" ${REPO_PATH}/cmd/cnishim

## Build docker image
# yes | cp bin/sriov_dp deployments/
# cd deployments
Expand Down
60 changes: 0 additions & 60 deletions checkpoint/checkpoint.go

This file was deleted.

Loading

0 comments on commit 77567a9

Please sign in to comment.