Skip to content
This repository was archived by the owner on Mar 31, 2023. It is now read-only.

Conversation

@cj-chung
Copy link
Contributor

@cj-chung cj-chung commented Jul 5, 2020

The features similar to ovs-ofctl utility (ovs-ofctl) are implemented in this PR:

  • dump-flows
  • monitor flow
  • packet-in message tracking
  • packet parsing
  • packet-out to OVS

The modified and added files are listed below:

  1. Dockerfile: compile openvswitch binary file and start openvswitch services in the dev container.
  2. src/CMakeLists.txt: include libopenvswitch.
  3. aca-ovs-control.cpp: integrate ovs utility into ACA
  4. aca-ovs-control.h: header file of aca-ovs-control.cpp

@cj-chung cj-chung requested review from er1cthe0ne and xieus July 5, 2020 18:12
@xieus
Copy link
Contributor

xieus commented Jul 5, 2020

@cj-chung See a conflict in the src/CMakeLists.txt which is likely caused by a recent check-in and the conflict detail could be found at the end of the PR page.

We likely need to do a git pull from upstream aca/master and resolve the conflict.

Copy link
Contributor

@xieus xieus left a comment

Choose a reason for hiding this comment

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

Great start to kick off the first PR @cj-chung. It looks quite comprehensive.

I left a few early comments. Please take a look.

case 'p':
g_rpc_protocol = optarg;
break;
case 'c':
Copy link
Contributor

Choose a reason for hiding this comment

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

Let us also update our development instruction https://github.com/futurewei-cloud/alcor-control-agent/blob/master/src/README.md on how to run ACA with those new parameters.

Copy link
Contributor

@er1cthe0ne er1cthe0ne left a comment

Choose a reason for hiding this comment

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

Approved per discussion. Please address the needed feedbacks and merge it to master.

@dingyin dingyin closed this Jul 9, 2020
@dingyin dingyin reopened this Jul 9, 2020
@er1cthe0ne
Copy link
Contributor

@cj-chung please remove pcapout file and then we can proceed with the merge. And leave any outstanding PR feedback open so that we can address it in the next PR. Thanks.

@cj-chung cj-chung merged commit cdde01a into futurewei-cloud:master Jul 9, 2020
@cj-chung cj-chung deleted the jameschung branch July 9, 2020 17:38
zhangml pushed a commit to zhangml/alcor-control-agent that referenced this pull request Dec 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants