Skip to main content

NetBox plugin for FreeIPA integration - manage hosts, DNS zones and records

Project description

NetBox FreeIPA Plugin

NetBox plugin for integration with FreeIPA identity management system. View and manage FreeIPA enrolled hosts directly from NetBox.

Features

  • View enrolled hosts from FreeIPA
  • Detailed host information (IP, MAC, certificates, SSH keys)
  • Automatic background synchronization
  • Manual sync option
  • REST API support
  • Filtering and search

Compatibility

NetBox v4.0 or later

Installation

pip install netbox-freeipa

Configuration

Edit /opt/netbox/netbox/netbox/configuration.py:

PLUGINS = ['netbox_freeipa']

PLUGINS_CONFIG = {
    'netbox_freeipa': {
        'freeipa_host': 'ipa.example.com',
        'freeipa_username': 'admin',
        'freeipa_password': 'your-password',
        # Optional settings:
        'freeipa_verify_ssl': True,
        'sync_interval': 300,  # seconds
        'auto_sync_enabled': True,
    }
}

Run migrations and restart:

cd /opt/netbox/netbox
python manage.py migrate
sudo systemctl restart netbox netbox-rq

Usage

Navigate to Plugins > FreeIPA Hosts in NetBox menu.

REST API

# List hosts
curl -H "Authorization: Token YOUR_TOKEN" \
     https://netbox.example.com/api/plugins/freeipa/hosts/

# Trigger sync
curl -X POST -H "Authorization: Token YOUR_TOKEN" \
     https://netbox.example.com/api/plugins/freeipa/hosts/sync/

Build & Publish

# Install build tools
pip install build twine

# Build package
python -m build

# Upload to PyPI
twine upload dist/*

License

Apache License 2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

netbox_freeipa-0.2.5.tar.gz (24.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

netbox_freeipa-0.2.5-py3-none-any.whl (34.0 kB view details)

Uploaded Python 3

File details

Details for the file netbox_freeipa-0.2.5.tar.gz.

File metadata

  • Download URL: netbox_freeipa-0.2.5.tar.gz
  • Upload date:
  • Size: 24.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.12

File hashes

Hashes for netbox_freeipa-0.2.5.tar.gz
Algorithm Hash digest
SHA256 9131dd7d983c5a8dbb8bd9e8b60c2f16df7a27b54550cef9be5771496949c0f2
MD5 20d4ca8750fde4485884f5f1d134a736
BLAKE2b-256 d057063d931e62ac3d9aaf642744ed1b822cf19957426c228475d22fcff39c62

See more details on using hashes here.

File details

Details for the file netbox_freeipa-0.2.5-py3-none-any.whl.

File metadata

  • Download URL: netbox_freeipa-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 34.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.12

File hashes

Hashes for netbox_freeipa-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f54d503de89b811a841bdffa3d30be759a481347c9b07c9d96aa9106db036702
MD5 8ea4493cf3bf43cfd4f23241b980017e
BLAKE2b-256 6ce7f159fc8a542c5e9c0dfd0371db81e1bf1700c34f404b62ad041af87627a0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page