Git Product home page Git Product logo

ripeinator's Introduction

Intro

Manipulate RIPE objects through RIPE REST-API

Usage

python ripe.py --help
usage: ripe.py [-h] --db DB [--objects OBJECTS] [--dryrun] [--pwd PWD]
               [--search SEARCH] [--attribute ATTRIBUTE]

optional arguments:
  -h, --help            show this help message and exit
  --db DB               Database URL
  --objects OBJECTS     Objects to compare / write
  --dryrun              Perform validation and not the upgrade
  --pwd PWD             Password needed to write objects
  --search SEARCH       Search for a particular string
  --attribute ATTRIBUTE
                        Search for a specific attribute

RIPE -> local yaml

For example to do reverse lookups on objects based on strings, to populate a yaml file:

$ ripe.py --db https://rest.db.ripe.net --search maintainer_name --attribute mnt-by

or

$ ripe.py --db https://rest.db.ripe.net --search org_name --attribute org

Local yaml -> RIPE

Updating and creating objects is supported but must be treated as experimental.

yaml file example (subject to changes):

JD666-RIPE:
- person: John Doe
- address: 133 Cambridge Road
- address: London UK
- phone: +6 555 444 333
- e-mail: [email protected]
- nic-hdl: JD666-RIPE
- mnt-by: your-mnter
- source: RIPE

can be written into the RIPE.NET DB with:

$ ripe.py --db https://rest.db.ripe.net --objects objects_test/ripe_write.yaml --pwd $PW

Authentication

Only password authentication is supported for now. You can also export your password using the RIPE_PASSWORD env var.

ripeinator's People

Contributors

xens avatar dependabot-preview[bot] avatar fischa avatar dependabot[bot] avatar retrack avatar tvasilopo 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.