Skip to content

Commit

Permalink
infra nw support (#340)
Browse files Browse the repository at this point in the history
* revert and update only godeps

* fix for unit-test failure

* infra nw support

* update comments, add system tests

* fixed gofmt
  • Loading branch information
pkeerthana authored and shaleman committed May 4, 2016
1 parent fbf248a commit e5d85eb
Show file tree
Hide file tree
Showing 26 changed files with 456 additions and 169 deletions.
14 changes: 7 additions & 7 deletions Godeps/Godeps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions Godeps/_workspace/src/github.com/contiv/contivmodel/contivModel.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 17 additions & 5 deletions Godeps/_workspace/src/github.com/contiv/ofnet/ofnetAgent.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion core/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ type NetworkDriver interface {
Init(instInfo *InstanceInfo) error
Deinit()
CreateNetwork(id string) error
DeleteNetwork(id, encap string, pktTag, extPktTag int, gateway string, tenant string) error
DeleteNetwork(id, nwType, encap string, pktTag, extPktTag int, gateway string, tenant string) error
CreateEndpoint(id string) error
DeleteEndpoint(id string) error
AddPeerHost(node ServiceInfo) error
Expand Down
2 changes: 1 addition & 1 deletion drivers/fakenetepdriver.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func (d *FakeNetEpDriver) CreateNetwork(id string) error {
}

// DeleteNetwork is not implemented.
func (d *FakeNetEpDriver) DeleteNetwork(id, encap string, pktTag, extPktTag int, gateway string, tenant string) error {
func (d *FakeNetEpDriver) DeleteNetwork(id, nwType, encap string, pktTag, extPktTag int, gateway string, tenant string) error {
return core.Errorf("Not implemented")
}

Expand Down
Loading

0 comments on commit e5d85eb

Please sign in to comment.