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

VirtualRouter リソースの追加 #221

Open
h-otter opened this issue Apr 3, 2019 · 3 comments
Open

VirtualRouter リソースの追加 #221

h-otter opened this issue Apr 3, 2019 · 3 comments

Comments

@h-otter
Copy link
Member

h-otter commented Apr 3, 2019

#180 でも話になったが,ネットワークのゲートウェイの設定が現在あやふやになっているためVirtualRouter というリソースをProvisioning層に追加するとよさそうであると考えている

例えば

message VirtualRouter {
  string name = 1;
  map<string, string> annotations = 3;

  // 後で詳しく考える
  bool global = 10;

  enum VirtualRouterState {
    // unknown state because failed to connect for scheduled node after RUNNING.
    UNKNOWN = 0;
    // working API
    PENDING = 1;

    // running vm
    AVAILABLE= 2;
  }
  VirtualRouterState state = 50;

  message VirtualRouterNetworkInterface {
    string network_name = 1;
    string network_interface_name = 2;
    string ipv4...
  }
  repeated VirtualRouterNetworkInterface network_interfaces = 54;
}

のようなものを考えている.これを追加することでFloating IPやファイアウォールのような機能も実現しやすいだろう.

@h-otter
Copy link
Member Author

h-otter commented Apr 3, 2019

ipのレンジでグローバルか同課は判断できるため,globalフラグは必要なさそう

@h-otter
Copy link
Member Author

h-otter commented Apr 4, 2019

良さそうなので実装することは決定

@h-otter h-otter added this to the April 2019 milestone Apr 4, 2019
@h-otter
Copy link
Member Author

h-otter commented Apr 4, 2019

NetworkはL2を管理する

VirtualRouterはL3を管理する.その一環としてL3ロードバランサとして利用できるVirtualIPの機能を付けたい.つまり,

message VirtualRouter {
  message VirtualIP {
    string vip_network_name = 1;
    string vip_network_interface_name = 2;

    message VirtualIPTarget {
      string target_network_name = 1;
      string target_network_interface_name = 2;
    }
    repeated VirtualIPTarget targets = 3;
  }
  repeated VirtualIP virtual_ip = 10;
}

というようなフィールドを用意することで実現する.案としてL3 FWの機能も付けておきたい.

また,今後L4ロードバランサとL7ロードバランサのリソースも開発したい

@h-otter h-otter self-assigned this Apr 6, 2019
@h-otter h-otter modified the milestones: April 2019, May 2019 May 1, 2019
@h-otter h-otter modified the milestones: May 2019, June 2019 Jun 19, 2019
@h-otter h-otter modified the milestones: June 2019, v1alpha Sep 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Triage
  
Undecided
Development

No branches or pull requests

1 participant