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

Add new API's is Submariner for OVN #187

Closed
Tracked by #186
aswinsuryan opened this issue Apr 27, 2023 · 0 comments · Fixed by submariner-io/submariner#2464
Closed
Tracked by #186

Add new API's is Submariner for OVN #187

aswinsuryan opened this issue Apr 27, 2023 · 0 comments · Fixed by submariner-io/submariner#2464

Comments

@aswinsuryan
Copy link
Contributor

aswinsuryan commented Apr 27, 2023

As per the enhancement proposal and two new CRDs

type SubmarinerNonGWRouteList struct {
metav1.TypeMeta json:",inline"
metav1.ListMeta json:"metadata"

Items []SubmarinerNonGWRoute `json:"items"`

}

type SubmarinerRoutePolicySpec struct {
//Specifies the next hop to reach the remote CIDRs
NextHop string json:"nextHop"

//Specifies the remote CIDRs available via the next hop
RemoteCidr []string `json:"remoteCidr"`

}

type SubmarinerGwRouteList struct {
metav1.TypeMeta json:",inline"
metav1.ListMeta json:"metadata"

Items []SubmarinerGwRoute json:"items"
}

type SubmarinerRoutePolicySpec struct {
//Specifies the next hop to reach the remote CIDRs
NextHop string json:"nextHop"

//Specifies the remote CIDRs available via the next hop
RemoteCidr []string `json:"remoteCidr"`

}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant