Closed aswinsuryan closed 1 year ago
As per the enhancement proposal and two new CRDs
type SubmarinerNonGWRouteList struct { metav1.TypeMeta json:",inline" metav1.ListMeta json:"metadata"
json:",inline"
json:"metadata"
Items []SubmarinerNonGWRoute `json:"items"`
}
type SubmarinerRoutePolicySpec struct { //Specifies the next hop to reach the remote CIDRs NextHop string json:"nextHop"
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" }
json:"items"
As per the enhancement proposal and two new CRDs
type SubmarinerNonGWRouteList struct { metav1.TypeMeta
json:",inline"
metav1.ListMetajson:"metadata"
}
type SubmarinerRoutePolicySpec struct { //Specifies the next hop to reach the remote CIDRs NextHop string
json:"nextHop"
}
type SubmarinerGwRouteList struct { metav1.TypeMeta
json:",inline"
metav1.ListMetajson:"metadata"
Items []SubmarinerGwRoute
json:"items"
}type SubmarinerRoutePolicySpec struct { //Specifies the next hop to reach the remote CIDRs NextHop string
json:"nextHop"
}