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

SLB Proto Update #267

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

SLB Proto Update #267

wants to merge 5 commits into from

Conversation

mjethwa-msft
Copy link
Contributor

No description provided.

repeated LoadbalancerOutboundNatRule outboundNatRules = 6; //read-only
repeated LoadBalancingRule loadbalancingrules = 7; //read-only

LoadBalancerVipConfigurationState configurationState = 8; // Do we need to surface this? how is it different from Probes?
Copy link
Contributor

Choose a reason for hiding this comment

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

LoadBalancerVipConfigurationState configurationState = 8; // Do we need to surface this? how is it different from Probes?

configuration state will be a feature we will need to expose later. Let's not add it now as we dont know how that will look like.

message FrontEndIpConfiguration {
string privateIPAddress = 1; // required if using subnet
IPAllocationMethod allocationMethod = 2; // required
string subnetRef = 3; // required if using privateIPAddress. Pass just the name or fully qualified ref?
Copy link
Contributor

Choose a reason for hiding this comment

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

string

resource ref

@@ -47,6 +76,11 @@ message LoadBalancer {
Tags tags = 11;
uint32 replicationCount = 12;
repeated LoadbalancerInboundNatRule inboundNatRules = 13;
repeated LoadbalancerInboundNatRule outboundNatRules = 14;
Copy link
Contributor

Choose a reason for hiding this comment

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

LoadbalancerInboundNatRule

outbound

google.protobuf.BoolValue Result = 2;
string Error = 3;
}

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This file was WIP, so please ignore the formatting here. Below are the public IP properties listed from moc-sdk-for-go.

uint32 backendPort = 3;
Protocol protocol = 4;
}

message LoadBalancingRule {
Copy link
Contributor

Choose a reason for hiding this comment

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

LoadBalancingRule

we need a name for this and other child resources

uint32 numberOfProbes = 2;
Protocol protocol = 3;
uint32 port = 4;
repeated LoadBalancingRule loadbalancingrules = 5; //read-only
Copy link
Contributor

Choose a reason for hiding this comment

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

LoadBalancingRule

readonly ref like this is a tricky one. MOC currently doesnt have a concept of readonly ref. are you planning to populate this or is this for future?

Copy link
Contributor

@kybeak kybeak left a comment

Choose a reason for hiding this comment

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

Why do we need these?

@mjethwa-msft
Copy link
Contributor Author

Why do we need these?

The proto changes? or any anything in specific?

@mjethwa-msft mjethwa-msft force-pushed the user/mjethwa-msft/slb branch from 63551b9 to fd76a45 Compare August 21, 2024 20:58
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.

3 participants