Skip to content

Commit

Permalink
Add initial version of ipam service for vl3 cases (#128)
Browse files Browse the repository at this point in the history
* WIP: Add initial version of ipam

Signed-off-by: denis-tingaikin <denis.tingajkin@xored.com>

* improve readability

Signed-off-by: denis-tingaikin <denis.tingajkin@xored.com>
  • Loading branch information
denis-tingaikin authored Mar 15, 2022
1 parent fe3ca75 commit f33f8c3
Show file tree
Hide file tree
Showing 3 changed files with 499 additions and 0 deletions.
23 changes: 23 additions & 0 deletions pkg/api/ipam/gen.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
// Copyright (c) 2022 Cisco and/or its affiliates.
//
// SPDX-License-Identifier: Apache-2.0
//
// 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.

// Package ipam provides the Network Service Mesh API: IpamService{Server,Client}.{Request}
package ipam

// Run with protoc and proto-gen-go matching the versions found in .github/workflows/ci.yaml
// Please also note that you need a 'batteries included' version of protoc such as the one installed
// with brew rather than the 'single binary' install to insure you get the correct *.proto files for imports
//go:generate bash -c "protoc -I . ipam.proto --go_out=plugins=grpc,paths=source_relative:. --proto_path=$GOPATH/src/ --proto_path=$GOPATH/pkg/mod/ --proto_path=$( go list -f '{{ .Dir }}' -m github.com/golang/protobuf )"
Loading

0 comments on commit f33f8c3

Please sign in to comment.