Giter Club home page Giter Club logo

fty-mdns-sd's Introduction

fty-mdns-sd

Manages network announcement(mDNS) and discovery (DNS-SD) by collecting information from fty-info agent, then publishing it through avahi-deamon

limitation: discovery is not yet managed

How to build

To build fty-mdns-sd project run:

sudo apt-get install fty-info
sudo apt-get install avahi-daemon
sudo apt-get install libavahi-client-dev
./autogen.sh [clean]
./configure
make
make check # to run self-test

How to run

To run fty-mdns-sd project:

  • from within the source tree, run:
./src/fty-mdns-sd

For the other options available, refer to the manual page of fty-mdns-sd

  • from an installed base, using systemd, run:
systemctl start fty-info
systemctl start avahi-daemon
systemctl start fty-mdns-sd

Configuration file

The default configuration values are in fty-mdns-sd.cfg file.

  • section server:

    • verbose - sets verbosity of the agent
  • section fty-info

    • name - sets name of fty-info agent
    • command - sets command sent to fty-info agent
  • section malamute: standard directives

Architecture

Overview

fty-mdns-sd has 1 actor:

  • fty-mdns-sd-server: main actor

Protocols

Published metrics

Agent doesn't publish any metrics.

Published alerts

Agent doesn't publish any alerts.

Mailbox requests

Agent doesn't accept any mailbox requests.

Stream subscriptions

On startup, agent send INFO request to fty-info agent, and sets default service definition and TXT properties via avahi.

In addition to that, agent is subscribed to ANNOUNCE stream (special stream where up-to-date INFO messages are periodically published).

On each INFO message, agent updates service definition and TXT properties, and publishes them to mDNS-SD via avahi.

fty-mdns-sd's People

Contributors

jimklimov avatar geraldguillaume avatar jana-rapava avatar arnaudquette-eaton avatar aquette avatar vyskocilm avatar karolhrdina avatar michal42 avatar mimixav avatar thalman avatar

Watchers

James Cloos avatar

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.