Skip to content

Replace ETCD with Bolt in ipam plugin#988

Merged
lukasmacko merged 2 commits intocontiv:masterfrom
deathbeam:ipam-bolt
Aug 13, 2018
Merged

Replace ETCD with Bolt in ipam plugin#988
lukasmacko merged 2 commits intocontiv:masterfrom
deathbeam:ipam-bolt

Conversation

@deathbeam
Copy link
Copy Markdown
Contributor

Instead of using ETCD as k/v store in ipam plugin, use newly introduced
Bolt.

Signed-off-by: Tomas Slusny slusnucky@gmail.com

@deathbeam deathbeam force-pushed the ipam-bolt branch 2 times, most recently from b623b1b to 8f5dc39 Compare August 6, 2018 14:39
@deathbeam deathbeam changed the title WIP - Replace ETCD with Bolt in ipam plugin Replace ETCD with Bolt in ipam plugin Aug 6, 2018
@deathbeam
Copy link
Copy Markdown
Contributor Author

53 passed, 12 skipped in 723.57 seconds

🎉

@deathbeam deathbeam force-pushed the ipam-bolt branch 2 times, most recently from 4bf5233 to 407efbf Compare August 7, 2018 08:15
@coveralls
Copy link
Copy Markdown

coveralls commented Aug 7, 2018

Coverage Status

Coverage decreased (-0.009%) to 76.41% when pulling ef6fc60 on deathbeam:ipam-bolt into f9ef4a9 on contiv:master.

broker := plugin.ETCD.NewBroker(plugin.ServiceLabel.GetAgentPrefix())
broker := plugin.Bolt.NewBroker(plugin.ServiceLabel.GetAgentPrefix())
// init map with configured containers
plugin.configuredContainers = containeridx.NewConfigIndex(plugin.Log, "containers", broker)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's keep containeridx in etcd

- name: BOLT_CONFIG
value: "/etc/agent/bolt.conf"
- name: DEBUG_BOLT_CLIENT
value: "true"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not enable debug by default

@lukasmacko
Copy link
Copy Markdown
Collaborator

Bump version of cn-infra in vpp-agent branch https://github.com/ligato/vpp-agent/tree/contiv-1807 in order to include bolt lib and use the latest commit from the branch in your PR commit Gopkg files as well

@deathbeam deathbeam force-pushed the ipam-bolt branch 2 times, most recently from ea5cc03 to 0560a86 Compare August 7, 2018 15:10
@deathbeam
Copy link
Copy Markdown
Contributor Author

Updated

- Instead of using ETCD as k/v store in ipam plugin, use newly introduced
Bolt.
- Bump cn-infra and vpp-agent

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
@lukasmacko lukasmacko merged commit d1ae6f2 into contiv:master Aug 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants