Skip to content

Instantly share code, notes, and snippets.

View abhi's full-sized avatar

Abhinandan Prativadi abhi

View GitHub Profile
@abhi
abhi / contivmodel.diff
Created January 17, 2016 19:43
objmodel changes
diff --git a/Makefile b/Makefile
old mode 100644
new mode 100755
index f14fdc1..fa7c82c
--- a/Makefile
+++ b/Makefile
@@ -37,7 +37,9 @@ checks:
./scripts/checks "$(PKGS)"
run-build: deps checks clean
@abhi
abhi / l3_bgp_integration.diff
Created January 21, 2016 03:56
l3 bgp integration for contiv
diff --git a/ofctrl/fgraphTable.go b/ofctrl/fgraphTable.go
old mode 100644
new mode 100755
index 9cc8592..96daacb
--- a/ofctrl/fgraphTable.go
+++ b/ofctrl/fgraphTable.go
@@ -17,29 +17,28 @@ package ofctrl
// This file implements the forwarding graph API for the table
import (
@abhi
abhi / netplugin.diff
Created January 22, 2016 04:45
L3 integration code changes
diff --git a/core/core.go b/core/core.go
old mode 100644
new mode 100755
index 01ec78d..9d50dcb
--- a/core/core.go
+++ b/core/core.go
@@ -79,6 +79,8 @@ type InstanceInfo struct {
HostLabel string `json:"host-label"`
VtepIP string `json:"vtep-ip"`
VlanIntf string `json:"vlan-if"`
@abhi
abhi / gist:1e58fb8a38c6f6636575
Created January 22, 2016 17:48
L3 integration Changes
diff --git a/core/core.go b/core/core.go
old mode 100644
new mode 100755
index 01ec78d..9d50dcb
--- a/core/core.go
+++ b/core/core.go
@@ -79,6 +79,8 @@ type InstanceInfo struct {
HostLabel string `json:"host-label"`
VtepIP string `json:"vtep-ip"`
VlanIntf string `json:"vlan-if"`
@abhi
abhi / l3_bgp_integration.diff
Created January 25, 2016 23:56
Netplugin: L3 integration with BGP for containers
diff --git a/core/core.go b/core/core.go
old mode 100644
new mode 100755
index 01ec78d..3a60187
--- a/core/core.go
+++ b/core/core.go
@@ -79,6 +79,8 @@ type InstanceInfo struct {
HostLabel string `json:"host-label"`
VtepIP string `json:"vtep-ip"`
VlanIntf string `json:"vlan-if"`
Issues/bumps on the road seen so far using installer script ansible.
1)
ansible was considering eth1 as the control interface always. I have raised an issue. I have a fix as well. Will raise PR for the same
TASK: [docker | start docker tcp socket service] ******************************
failed: [node1] => {"changed": true, "cmd": "sudo systemctl stop docker && sudo systemctl start docker-tcp.socket && sudo systemctl start docker", "delta": "0:00:00.164433", "end": "2016-02-03 03:51:51.044325", "rc": 1, "start": "2016-02-03 03:51:50.879892", "warnings": []}
stderr: Warning: docker.service changed on disk. Run 'systemctl daemon-reload' to reload units.
Warning: docker.service changed on disk. Run 'systemctl daemon-reload' to reload units.
Job for docker.service failed. See "systemctl status docker.service" and "journalctl -xe" for details.
@abhi
abhi / gist:4eae8db944658677cee2208d50ba0c1b
Created August 31, 2016 23:39
ofnetAgent.go ofnetBgp.go vlrouter.go
diff --git a/ofnetAgent.go b/ofnetAgent.go
index 5f83a37..a352223 100755
--- a/ofnetAgent.go
+++ b/ofnetAgent.go
@@ -927,9 +927,11 @@ func (self *OfnetAgent) AddBgp(routerIP string, As string, neighborAs string, pe
self.DeleteBgp()
}
- go self.protopath.StartProtoServer(routerInfo)
-
@abhi
abhi / ofnet.diff
Created September 1, 2016 01:30
ofnet new gobgp
diff --git a/Godeps/Godeps.json b/Godeps/Godeps.json
index 35491ab..d854e5e 100644
--- a/Godeps/Godeps.json
+++ b/Godeps/Godeps.json
@@ -1,6 +1,6 @@
{
"ImportPath": "github.com/contiv/ofnet",
- "GoVersion": "go1.5",
+ "GoVersion": "go1.6",
"GodepVersion": "v74",
This file has been truncated, but you can view the full file.
-- Logs begin at Wed 2017-06-07 00:22:46 UTC, end at Wed 2017-06-07 00:39:06 UTC. --
Jun 07 00:22:46 node2 dockerd[27229]: time="2017-06-07T00:22:46.581935942Z" level=debug msg="Creating service for vip 50.1.0.66 fwMark 485 ingressPorts []*libnetwork.PortConfig(nil) in sbox e03b931 (b9e3865)"
Jun 07 00:22:46 node2 dockerd[27229]: time="2017-06-07T00:22:46.641000346Z" level=debug msg="Creating service for vip 50.1.0.66 fwMark 485 ingressPorts []*libnetwork.PortConfig(nil) in sbox cc2dc76 (b53cfe5)"
Jun 07 00:22:46 node2 dockerd[27229]: time="2017-06-07T00:22:46.720975413Z" level=debug msg="Creating service for vip 50.1.0.66 fwMark 485 ingressPorts []*libnetwork.PortConfig(nil) in sbox 23b1ce0 (b52ea47)"
Jun 07 00:22:46 node2 dockerd[27229]: time="2017-06-07T00:22:46.767816327Z" level=debug msg="Creating service for vip 50.1.0.66 fwMark 485 ingressPorts []*libnetwork.PortConfig(nil) in sbox 120967f (070b733)"
Jun 07 00:22:46 node2 dockerd[27229]: time="2017-06-07T00:22:46.800659332Z" level=debug msg="Creating s
This file has been truncated, but you can view the full file.
-- Logs begin at Wed 2017-06-07 00:26:45 UTC, end at Wed 2017-06-07 00:39:49 UTC. --
Jun 07 00:26:57 node3 dockerd[27249]: time="2017-06-07T00:26:57.041180042Z" level=debug msg="Creating service for vip 50.1.0.44 fwMark 277 ingressPorts []*libnetwork.PortConfig(nil) in sbox 15ac363 (95c2b0d)"
Jun 07 00:26:57 node3 dockerd[27249]: time="2017-06-07T00:26:57.288760896Z" level=warning msg="memberlist: Failed TCP fallback ping: read tcp 192.168.2.12:35128->192.168.2.10:7946: i/o timeout"
Jun 07 00:26:57 node3 dockerd[27249]: time="2017-06-07T00:26:57.293343923Z" level=info msg="memberlist: Suspect node1-793ca1313660 has failed, no acks received"
Jun 07 00:26:57 node3 dockerd[27249]: time="2017-06-07T00:26:57.321898486Z" level=debug msg="Creating service for vip 50.1.0.10 fwMark 259 ingressPorts []*libnetwork.PortConfig(nil) in sbox 413263e (87cc02a)"
Jun 07 00:26:57 node3 dockerd[27249]: time="2017-06-07T00:26:57.352504139Z" level=debug msg="Creating service for vip 50.1.1.42 fwMark 429 ingressPorts []*libnetwork.