submariner-io / enhancements

Enhancement proposals for Submariner projects.
https://submariner.io/
Apache License 2.0
5 stars 24 forks source link

Add new API's is Submariner for OVN #187

Closed aswinsuryan closed 1 year ago

aswinsuryan commented 1 year ago

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"`

}