Skip to content

Hummingbird without endhostapi refactors - #70

Merged
juagargi merged 17 commits into
hummingbird-endhostfrom
hummingbird-without-endhostapi-refactors
Aug 20, 2026
Merged

Hummingbird without endhostapi refactors#70
juagargi merged 17 commits into
hummingbird-endhostfrom
hummingbird-without-endhostapi-refactors

Conversation

@juagargi

@juagargi juagargi commented Aug 10, 2026

Copy link
Copy Markdown
Owner

This PR does:

  • Common bandwidth encoding for all (linear + geometric afterwards)
  • drop the gRPC stubs
  • reservation ID becomes int64
  • Fix gazelle not working
  • Fix some SQL bugs
  • Marketplace works inside our docker topology

This change is Reviewable

Reuse existing to hops path conversion helper.
Use a WithTx().
Use shared row scanners for asset and resevation.
Use an enum for state transition.
Add some tests for the new functionality.
Without the change, gazelle will look for the connect rpc endpoints
being publicly published.
The change makes gazelle use the local repository as the source of the
needed dependencies for the specified packages.
@juagargi
juagargi force-pushed the hummingbird-without-endhostapi-refactors branch from d28deca to 785505e Compare August 10, 2026 14:51
They are indempotent now.
Populate has a --default-values option, that populates
with a set of predefined values. Two users, all ASes,
all interfaces.
A primary key on a nullable field would allow the same
user name to exist twice, as sqlite considers each NULL to
be distinct.
The setup and populate scripts work with docker also,
and the setup script switches to docker deployment
if it detects it in the gen folder.
Default port for the marketplace is now 31888.
With the docker local topology, the marketplace lives
in the same namespace as the CS, same IP address.
Define the bit width of the bandwidth field as a constant.
Create a common encodeBandwidthWithLogStart function to be
used by other packets via the public function EncodeBandwidth.
Modify the token buckets to use it.
Bugs binding some arguments.
Bugs AND'ing some non-parenthesized WHERE entries.
The delegation uses the same bandwidth encoding as encodeBandwidthWithLogStart.
@juagargi
juagargi marked this pull request as ready for review August 20, 2026 14:53
@juagargi
juagargi merged commit 5c35f26 into hummingbird-endhost Aug 20, 2026
0 of 4 checks passed
@juagargi
juagargi deleted the hummingbird-without-endhostapi-refactors branch August 20, 2026 15:06
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.

1 participant