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

Simplify by collapsing packages connection/ connectioncontext/ into networkservice/ #12

Merged
merged 1 commit into from
Jan 30, 2020

Conversation

edwarnicke
Copy link
Member

Originally, connection and connectioncontext being separate from networkservice
were artifacts of the local/remote split in NSM. This corrects that,
leaving us with two top level APIs:

  1. networkservice - Request/Close/MonitorConnection
  2. registry

edwarnicke added a commit to edwarnicke/sdk that referenced this pull request Jan 28, 2020
networkservicemesh/api#12

Requires these changes downstream in sdk/

Signed-off-by: Ed Warnicke <[email protected]>
edwarnicke added a commit to edwarnicke/sdk-vppagent that referenced this pull request Jan 28, 2020
This is required to adapt to changes upstream in:
networkservicemesh/api#12

Signed-off-by: Ed Warnicke <[email protected]>
edwarnicke added a commit to edwarnicke/sdk-vppagent that referenced this pull request Jan 28, 2020
This is required to adapt to changes upstream in:
networkservicemesh/api#12

Signed-off-by: Ed Warnicke <[email protected]>
…etworkservice/

Originally, connection and connectioncontext being separate from networkservice
were artifacts of the local/remote split in NSM.  This corrects that,
leaving us with two top level APIs:

1)  networkservice - Request/Close/MonitorConnection
2)  registry

Signed-off-by: Ed Warnicke <[email protected]>
@haiodo
Copy link
Contributor

haiodo commented Jan 29, 2020

+1 from me

edwarnicke added a commit to edwarnicke/sdk-vppagent that referenced this pull request Jan 29, 2020
This is required to adapt to changes upstream in:
networkservicemesh/api#12

Signed-off-by: Ed Warnicke <[email protected]>
Copy link
Member

@nickolaev nickolaev left a comment

Choose a reason for hiding this comment

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

Looks fine to me, other than a couple of nits.

"github.com/networkservicemesh/api/pkg/api/connection"
"github.com/networkservicemesh/api/pkg/api/connection/mechanisms/common"
"github.com/networkservicemesh/api/pkg/api/networkservice/mechanisms/common"

Copy link
Member

Choose a reason for hiding this comment

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

Nit: remove the blank line here.

pkg/api/networkservice/constants.go Show resolved Hide resolved
@haiodo haiodo merged commit 936de4e into networkservicemesh:master Jan 30, 2020
haiodo added a commit to networkservicemesh/sdk that referenced this pull request Jan 30, 2020
* Adapt to api/ simplification

networkservicemesh/api#12

Requires these changes downstream in sdk/

Signed-off-by: Ed Warnicke <[email protected]>

* Update to latest API

Signed-off-by: Andrey Sobolev <[email protected]>

Co-authored-by: Andrey Sobolev <[email protected]>
edwarnicke added a commit to edwarnicke/sdk-vppagent that referenced this pull request Jan 30, 2020
This is required to adapt to changes upstream in:
networkservicemesh/api#12

Signed-off-by: Ed Warnicke <[email protected]>

Fix dependencies

Signed-off-by: Andrey Sobolev <[email protected]>
Signed-off-by: Ed Warnicke <[email protected]>
edwarnicke added a commit to edwarnicke/sdk-vppagent that referenced this pull request Jan 30, 2020
This is required to adapt to changes upstream in:
networkservicemesh/api#12

Signed-off-by: Ed Warnicke <[email protected]>

Fix dependencies

Signed-off-by: Andrey Sobolev <[email protected]>
Signed-off-by: Ed Warnicke <[email protected]>
haiodo pushed a commit to networkservicemesh/sdk-vppagent that referenced this pull request Jan 30, 2020
This is required to adapt to changes upstream in:
networkservicemesh/api#12

Signed-off-by: Ed Warnicke <[email protected]>

Fix dependencies

Signed-off-by: Andrey Sobolev <[email protected]>
Signed-off-by: Ed Warnicke <[email protected]>
edwarnicke added a commit to edwarnicke/api that referenced this pull request Jan 30, 2020
networkservicemesh#10 brought in SRIOV changes
after the simplification from:

networkservicemesh#12
and initialism fixes from:

networkservicemesh#11

This fixes those.

Signed-off-by: Ed Warnicke <[email protected]>
edwarnicke added a commit to edwarnicke/api that referenced this pull request Jan 30, 2020
networkservicemesh#10 brought in SRIOV changes
after the simplification from:

networkservicemesh#12
and initialism fixes from:

networkservicemesh#11

This fixes those.

Signed-off-by: Ed Warnicke <[email protected]>
fkautz pushed a commit that referenced this pull request Jan 30, 2020
#10 brought in SRIOV changes
after the simplification from:

#12
and initialism fixes from:

#11

This fixes those.

Signed-off-by: Ed Warnicke <[email protected]>
@edwarnicke edwarnicke deleted the simplify branch February 3, 2020 16:43
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.

4 participants