Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

https://github.com/fredrikt/nerds

Gliffy Diagram
sizeM
namenerdsPhilosophy

Code Block
titleNERDS JSON structure

{   
   "host": {
      "name": "hostname-or-other-unique-identifier",
      "version": 1,
      "name-of-producer": { ... any private data ... }
   }
}
Code Block
titleJSON data from the Alcatel ISIS producer

{
    "host": {
        "alcatel_isis": {
            "data": {
                "ip_address": "", 
                "link": "", 
                "name": "NU-TUG-LM-02", 
                "osi_address": "4700230000000100010001000100206066D6F81D", 
                "ots": "NA", 
                "type": "ne1626LM"
            }, 
            "name": "NU-TUG-LM-02", 
            "neighbours": [
                {
                    "metric": "12", 
                    "name": "NU-ORE-TSS-01"
                }
            ]
        }, 
        "name": "NU-TUG-LM-02", 
        "version": 1
    }
}

...

Code Block
none
none
titleNodeHandle model properties

class NodeHandle(models.Model):
    # Handle <-> Node data
    handle_id = models.AutoField(primary_key=True)
    node_id = models.BigIntegerField(blank=True, unique=True,
        editable=False)
    # Data shared with the node
    node_name = models.CharField(max_length=200)
    node_type = models.ForeignKey(NodeType)
    node_meta_type = models.CharField(max_length=255,
        choices=NODE_META_TYPE_CHOICES)
    # Meta information
    creator = models.ForeignKey(User, related_name='creator')
    created = models.DateTimeField(auto_now_add=True)
    modifier = models.ForeignKey(User, blank=True, related_name='modifier')
    modified = models.DateTimeField(auto_now=True)
    .
    .
    methods

...

https://portal.nordu.net/display/NI/

Graph Data Model

Gliffy Diagram
sizeT
nameData model

Actual Data in model

Gliffy Diagram
sizeT
nameActual data in model