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

SR-IOV GA: add default route overwrite example #57

Conversation

zshi-redhat
Copy link
Contributor

No description provided.

@openshift-ci-robot openshift-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Oct 2, 2019
@zshi-redhat
Copy link
Contributor Author

@squeed a follow-up PR for SR-IOV GA enhancement, adding example of default route overwrite config.

Copy link
Contributor

@s1061123 s1061123 left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thanks!

@zshi-redhat zshi-redhat force-pushed the sriov-default-route-overwrite branch from 5ed6f83 to dbeafa0 Compare October 29, 2019 13:01
Copy link
Contributor

@s1061123 s1061123 left a comment

Choose a reason for hiding this comment

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

/lgtm
Thanks!

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 29, 2019
@squeed
Copy link
Contributor

squeed commented Oct 30, 2019

From my perspective, it seems that it would be more useful to be able to declare arbitrary network-gateway pairs via Multus. Something like

kind: Pod
metadata:
  name: my-pod
  namespace: my-namespace
  annotations:
    k8s.v1.cni.cncf.io/networks: |
      [
        { "name":"net-a" ,
          "routes": [
            { 
              "dst": "10.0.0.0/24",
              "nexthop": "192.168.0.127"
            } ]
          },
        {
          "name":"net-b",
          "routes": [
            { 
              "dst": "0.0.0.0/0",
              "nexthop": "99.99.99.99"
            } ]          
        }
      ]

@dougbtv
Copy link
Member

dougbtv commented Oct 30, 2019

Hey Casey, I think that kind of structure is probably more useful in general and covers a further number of scenarios than what we currently have. What we decided to address in this current version of the NPWG de-facto standard was simply a proposal for "Default route selection". Zenghui's example in this PR is based on this proposal, which is available in this doc @ https://docs.google.com/document/d/1pqbWYtFdEYyXd1cXuyvq_J5SRnhiXCRptXho63gI4A8/edit

(Granted yes, it's still a proposal, we're hopeful to ratify this in the upcoming NPWG meeting next week)

We currently believe that this should be sufficient for SR-IOV GA, but... What I really like about what you've sketched out is that it's generally useful for routing. Definitely worth further consideration for the next version of the de-facto standard.

@russellb
Copy link
Member

@dougbtv @zshi-redhat Hi, can you take a look at this enhancement and see if it should be rebased or just closed? It looks like a pretty minor addition that we should be able to either update to reflect the current status and merge, or just close.

@zshi-redhat zshi-redhat force-pushed the sriov-default-route-overwrite branch from dbeafa0 to 5ccd9c7 Compare August 17, 2020 01:42
@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Aug 17, 2020
@zshi-redhat
Copy link
Contributor Author

@dougbtv @zshi-redhat Hi, can you take a look at this enhancement and see if it should be rebased or just closed? It looks like a pretty minor addition that we should be able to either update to reflect the current status and merge, or just close.

Rebased and updated the PR to reflect current fact (no additional features added).

@zshi-redhat zshi-redhat force-pushed the sriov-default-route-overwrite branch from 5ccd9c7 to d025955 Compare August 17, 2020 15:18
@russellb
Copy link
Member

Thanks!

/approve
/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 17, 2020
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: russellb, s1061123, zshi-redhat

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 17, 2020
@openshift-merge-robot openshift-merge-robot merged commit 7203cf1 into openshift:master Aug 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants