Giter Club home page Giter Club logo

Comments (9)

denis-tingaikin avatar denis-tingaikin commented on September 27, 2024 1

@denis-tingaikin How are renewals handled? How are expirations handled?

I'll provide a diagram of the interaction as soon as we get API consent.

from api.

edwarnicke avatar edwarnicke commented on September 27, 2024

@denis-tingaikin Why is the NSC getting a /30 instead of a /32?

from api.

edwarnicke avatar edwarnicke commented on September 27, 2024

@denis-tingaikin Do we need to tie this to IPContext, or could it simply deal in prefixes?

from api.

edwarnicke avatar edwarnicke commented on September 27, 2024

@denis-tingaikin How are renewals handled? How are expirations handled?

from api.

denis-tingaikin avatar denis-tingaikin commented on September 27, 2024

@denis-tingaikin Do we need to tie this to IPContext, or could it simply deal in prefixes?

Yes, I thought about this, so we also can go with

message IPAMServiceRequest {
   repeat string exclude_prefixes= 1;
}
message IPAMPrefix {
   string cidr = 1;
}
service IPAMService  {
   rpc Allocate (IPAMServiceRequest) returns (IPAMPrefix);
   rpc Free(IPAMPrefix) returns (google.protobuf.Empty);
}

from api.

denis-tingaikin avatar denis-tingaikin commented on September 27, 2024

@denis-tingaikin Why is the NSC getting a /30 instead of a /32?

Thanks! Fixed.

from api.

edwarnicke avatar edwarnicke commented on September 27, 2024

@denis-tingaikin Would it make sense to reflect the /32 assigned to the loopback interface for the VRF on VPP?

from api.

denis-tingaikin avatar denis-tingaikin commented on September 27, 2024

Finally we with @edwarnicke decided internally the next proto service

enum RequestType {
  UNDEFINED = 0;
  ALLOCATE = 1;
  DELETE = 2;
}

message IPAMRequest {
  RequestType type = 1;
  string prefix = 2;
  repeated string exclude_prefixes =3;
}

service IPAMService  {
  rpc Request (IPAMRequest) returns (stream IPAMRequest);
}

I've started to check corner cases for this service in the diagram of the interaction.

from api.

denis-tingaikin avatar denis-tingaikin commented on September 27, 2024

Completed by #128

from api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.