All Projects → guilhem → tentacool

guilhem / tentacool

Licence: Apache-2.0 license
REST API to manage Linux networking via netlink

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to tentacool

Beerus
Beerus is a web framework developed entirely in go, Based on net/http, it extends the management of routes, adds interceptors, session management, receiving parameters with struct, parameter validation, etc. It also provides WebSocket support to upgrade the http protocol to WebSocket and implement communication.
Stars: ✭ 24 (-61.9%)
Mutual labels:  route
efi
Ergonomic Rust framework for writing UEFI applications.
Stars: ✭ 44 (-30.16%)
Mutual labels:  dhcp
Banklink
PHP payment library to easily integrate Baltic banklinks (supports old and new iPizza protocol), E-commerce gateaway (Estcard, Nets Estonia), Liisi Payment Link and Pocopay.
Stars: ✭ 34 (-46.03%)
Mutual labels:  gateway
go-zero
A cloud-native Go microservices framework with cli tool for productivity.
Stars: ✭ 23,294 (+36874.6%)
Mutual labels:  gateway
tuyagateway
Local Python Gateway for Tuya devices
Stars: ✭ 102 (+61.9%)
Mutual labels:  gateway
GatewayService
GatewayService (Ocelot).
Stars: ✭ 19 (-69.84%)
Mutual labels:  gateway
QUaModbusClient
Modbus to OPC UA Gateway
Stars: ✭ 38 (-39.68%)
Mutual labels:  gateway
ember-contextual-services
Services in Ember are scoped to the app as a whole and are singletons. Sometimes you don't want that. :) This addon provides ephemeral route-based services.
Stars: ✭ 20 (-68.25%)
Mutual labels:  route
kong-init
Declarative configuration tool for Kong
Stars: ✭ 38 (-39.68%)
Mutual labels:  gateway
threema-msgapi-sdk-python
Threema Gateway Message SDK for Python
Stars: ✭ 37 (-41.27%)
Mutual labels:  gateway
api-gateway
Node.js API gateway that works as single entry point for all clients in a MicroService architecture pattern.
Stars: ✭ 26 (-58.73%)
Mutual labels:  gateway
ndhc
Privilege-separated secure DHCPv4 client for Linux.
Stars: ✭ 24 (-61.9%)
Mutual labels:  dhcp
GateWay
🥗OpenIoTHub Gateway for mobile(网关移动应用)
Stars: ✭ 25 (-60.32%)
Mutual labels:  gateway
consul-api-gateway
The Consul API Gateway is a dedicated ingress solution for intelligently routing traffic to applications running on a Consul Service Mesh.
Stars: ✭ 88 (+39.68%)
Mutual labels:  gateway
omise-magento
Omise Magento Plugin
Stars: ✭ 32 (-49.21%)
Mutual labels:  gateway
node-lumi-aqara
Control your Xiaomi Smart Home devices with this Lumi Aqara library
Stars: ✭ 45 (-28.57%)
Mutual labels:  gateway
LogiEM
面向Elasticsearch研发与运维人员,围绕集群、索引构建的零侵入、多租户的Elasticsearch GUI管控平台
Stars: ✭ 209 (+231.75%)
Mutual labels:  gateway
TarsGateway
No description or website provided.
Stars: ✭ 46 (-26.98%)
Mutual labels:  gateway
node-match-path
Matches a URL against a path. Parameters, wildcards, RegExp.
Stars: ✭ 30 (-52.38%)
Mutual labels:  route
dhcpoptinj
DHCP option injector
Stars: ✭ 35 (-44.44%)
Mutual labels:  dhcp

tentacool

Build Status Go report

Description

tentacool is a Go server controlled via RESTful API through a Unix Domain Socket.

Goal

Main goal is to manage all under the hood services for a simple "box". All done with a auditable, fast and bulletproof software.

So many software do frontend, backend and system... And finally run in root by easiness.

Configuration

Recommended /etc/network/interfaces config for your default interface (for instance eth0):

auto eth0
iface eth0 inet manual
  pre-up ifconfig $IFACE up
  post-down ifconfig $IFACE down

API

addresses

address object

  • link: interface to manage
  • ip: ip to add (CIDR format)
  • id

GET /addresses

List all current addresses

Response

GET /addresses/:id

Response

POST /addresses

Add a new address to manage.

parameters
Response
  • address
  • headers
    • X-Error: if address is stored in BD but fail to by apply.
Example
  • without id
==>
{
  "link":"eth0",
  "ip":"192.168.32.11/32",
}
<==
{
  "id":"1",
  "link":"eth0",
  "ip":"192.168.32.11/32",
}
  • with id
==>
{
  "id":"foo",
  "link":"eth0",
  "ip":"192.168.32.12/32",
}
<==
{
  "id":"foo",
  "link":"eth0",
  "ip":"192.168.32.12/32",
}

PUT /addresses/:id

Modify an existing address

parameters
Response
  • address
  • headers
    • X-Error: if address is stored in BD but fail to by apply.

dhcp

GET /dhcp

Checks if DHCP is running on the default interface.

Response

{'active': true|false}

POST /dhcp

Activate/deactive DHCP for default interface.

parameters
  • active true or false
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].