Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[portsyncd]: Remove unused LAG related tables #329

Merged
merged 1 commit into from
Sep 29, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions portsyncd/linksync.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,8 @@ LinkSync::LinkSync(DBConnector *db) :
m_portTableProducer(db, APP_PORT_TABLE_NAME),
m_vlanTableProducer(db, APP_VLAN_TABLE_NAME),
m_vlanMemberTableProducer(db, APP_VLAN_MEMBER_TABLE_NAME),
m_lagTableProducer(db, APP_LAG_TABLE_NAME),
m_portTableConsumer(db, APP_PORT_TABLE_NAME),
m_vlanMemberTableConsumer(db, APP_VLAN_MEMBER_TABLE_NAME),
m_lagTableConsumer(db, APP_LAG_TABLE_NAME)
m_vlanMemberTableConsumer(db, APP_VLAN_MEMBER_TABLE_NAME)
{
/* See the comments for g_portSet in portsyncd.cpp */
for (string port : g_portSet)
Expand Down
4 changes: 2 additions & 2 deletions portsyncd/linksync.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ class LinkSync : public NetMsg
virtual void onMsg(int nlmsg_type, struct nl_object *obj);

private:
ProducerStateTable m_portTableProducer, m_vlanTableProducer, m_vlanMemberTableProducer, m_lagTableProducer;
Table m_portTableConsumer, m_vlanMemberTableConsumer, m_lagTableConsumer;
ProducerStateTable m_portTableProducer, m_vlanTableProducer, m_vlanMemberTableProducer;
Table m_portTableConsumer, m_vlanMemberTableConsumer;

std::map<unsigned int, std::string> m_ifindexNameMap;
};
Expand Down