# -*- coding: utf-8-emacs; -*-

---
# Demo data for SIAM::Driver::Simple


# Contracts and services
-
  siam.object.id:                 CTRT0001
  siam.object.class:              SIAM::Contract
  siam.contract.inventory_id:     CTRT0001
  siam.contract.customer_name:    Donkey Systems
  siam.contract.customer_id:      CUST01

  _contains_:
    -
      siam.object.id:            SRVC0001.01
      siam.object.class:         SIAM::Service
      siam.svc.product_name:     Business Internet Standard
      siam.svc.type:             wan
      siam.svc.inventory_id:     SRVC0001.01
      
      _contains_:
        -
          siam.object.id:            SRVC0001.01.u01
          siam.object.class:         SIAM::ServiceUnit
          siam.svcunit.name:         BIS.64876.45
          siam.svcunit.inventory_id: BIS.64876.45
          siam.svcunit.type:         NetworkPort
          
          _contains_:
            -
              siam.object.id:            SRVC0001.01.u01.c01
              siam.object.class:         SIAM::ServiceComponent
              siam.svcc.name:            Access Port
              siam.svcc.type:            IFMIB.Port
              siam.svcc.inventory_id:    SRVC0001.01.u01.c01
              siam.svcc.devc_id:         DEV001g1

        -
          siam.object.id:            SRVC0001.01.u02
          siam.object.class:         SIAM::ServiceUnit
          siam.svcunit.name:         BIS.64876.78
          siam.svcunit.inventory_id: BIS.64876.78
          siam.svcunit.type:         NetworkPort
          
          _contains_:
            -
              siam.object.id:            SRVC0001.01.u02.c01
              siam.object.class:         SIAM::ServiceComponent
              siam.svcc.name:            Access Port
              siam.svcc.type:            IFMIB.Port
              siam.svcc.inventory_id:    SRVC0001.01.u02.c01
              siam.svcc.devc_id:         DEV001g10

-
  siam.object.id:                 CTRT0002
  siam.object.class:              SIAM::Contract
  siam.contract.inventory_id:     CTRT0002
  siam.contract.customer_name:    Hamster Technologies
  siam.contract.customer_id:      CUST02

  _contains_:
    -
      siam.object.id:            SRVC0002.01
      siam.object.class:         SIAM::Service
      siam.svc.product_name:     Business Internet Standard
      siam.svc.type:             wan
      siam.svc.inventory_id:     SRVC0002.01
      
      _contains_:
        -
          siam.object.id:            SRVC0002.01.u01
          siam.object.class:         SIAM::ServiceUnit
          siam.svcunit.name:         BIS.64556.22
          siam.svcunit.inventory_id: BIS.64556.22
          siam.svcunit.type:         NetworkPort
          
          _contains_:
            -
              siam.object.id:            SRVC0002.01.u01.c01
              siam.object.class:         SIAM::ServiceComponent
              siam.svcc.name:            Access Port
              siam.svcc.type:            IFMIB.Port
              siam.svcc.inventory_id:    SRVC0002.01.u01.c01
              siam.svcc.devc_id:         DEV001g12

    -
      siam.object.id:            SRVC0002.02
      siam.object.class:         SIAM::Service
      siam.svc.product_name:     Business Internet Standard
      siam.svc.type:             wan
      siam.svc.inventory_id:     SRVC0002.02

      _contains_:
        -
          siam.object.id:            SRVC0002.02.u02
          siam.object.class:         SIAM::ServiceUnit
          siam.svcunit.name:         BIS.99876.32
          siam.svcunit.inventory_id: BIS.99876.32
          siam.svcunit.type:         NetworkPort
          
          _contains_:
            -
              siam.object.id:            SRVC0002.02.u01.c01
              siam.object.class:         SIAM::ServiceComponent
              siam.svcc.name:            Access Port
              siam.svcc.type:            IFMIB.Port
              siam.svcc.inventory_id:    SRVC0002.02.u01.c01
              siam.svcc.devc_id:         DEV001g20


-
  siam.object.id:                 CTRT0003
  siam.object.class:              SIAM::Contract
  siam.contract.inventory_id:     CTRT0003
  siam.contract.customer_name:    Lobster Labs
  siam.contract.customer_id:      CUST03

  _contains_:
    -
      siam.object.id:            SRVC0003.01
      siam.object.class:         SIAM::Service
      siam.svc.product_name:     Business Internet Standard
      siam.svc.type:             wan
      siam.svc.inventory_id:     SRVC0003.01

      _contains_:
        -
          siam.object.id:            SRVC0003.01.u01
          siam.object.class:         SIAM::ServiceUnit
          siam.svcunit.name:         BIS.65876.45
          siam.svcunit.inventory_id: BIS.65876.45
          siam.svcunit.type:         NetworkPort
          
          _contains_:
            -
              siam.object.id:            SRVC0003.01.u01.c01
              siam.object.class:         SIAM::ServiceComponent
              siam.svcc.name:            Access Port
              siam.svcc.type:            IFMIB.Port
              siam.svcc.inventory_id:    SRVC0003.01.u01.c01
              siam.svcc.devc_id:         DEV001g20

        -
          siam.object.id:            SRVC0003.01.u02
          siam.object.class:         SIAM::ServiceUnit
          siam.svcunit.name:         BIS.64346.78
          siam.svcunit.inventory_id: BIS.64346.78
          siam.svcunit.type:         NetworkPort
          
          _contains_:
            -
              siam.object.id:            SRVC0003.01.u02.c01
              siam.object.class:         SIAM::ServiceComponent
              siam.svcc.name:            Access Port
              siam.svcc.type:            IFMIB.Port
              siam.svcc.inventory_id:    SRVC0003.01.u02.c01
              siam.svcc.devc_id:         DEV001g12

        -
          siam.object.id:            SRVC0003.01.u03
          siam.object.class:         SIAM::ServiceUnit
          siam.svcunit.name:         BIS.64346.21
          siam.svcunit.inventory_id: BIS.64346.21
          siam.svcunit.type:         NetworkPort
          
          _contains_:
            -
              siam.object.id:            SRVC0003.01.u03.c01
              siam.object.class:         SIAM::ServiceComponent
              siam.svcc.name:            Access Port
              siam.svcc.type:            IFMIB.Port
              siam.svcc.inventory_id:    SRVC0003.01.u03.c01
              siam.svcc.devc_id:         DEV001g12

        -
          siam.object.id:            SRVC0003.01.u04
          siam.object.class:         SIAM::ServiceUnit
          siam.svcunit.name:         BIS.64346.11
          siam.svcunit.inventory_id: BIS.64346.11
          siam.svcunit.type:         NetworkPort
          
          _contains_:
            -
              siam.object.id:            SRVC0003.01.u04.c01
              siam.object.class:         SIAM::ServiceComponent
              siam.svcc.name:            Access Port
              siam.svcc.type:            IFMIB.Port
              siam.svcc.inventory_id:    SRVC0003.01.u04.c01
              siam.svcc.devc_id:         DEV001g12


  
# Devices
-
  siam.object.id:            DEV001
  siam.object.class:         SIAM::Device
  siam.device.inventory_id:  oetiker-sw01
  siam.device.name:          oetiker-sw01
  torrus.server:             demo.oetiker.torrus.net
  torrus.tree:               demo01
  torrus.tree-url:           http://demo.oetiker.torrus.net/torrus/demo01
  _contains_:
    -
      siam.object.id:            DEV001g1
      siam.object.class:         SIAM::DeviceComponent
      siam.devc.inventory_id:    DEV001g1
      siam.devc.type:            IFMIB.Port
      siam.devc.name:            g1
      siam.devc.full_name:       g1
      siam.devc.description:     port g1
      torrus.nodeid:             DEV001g1
    -
      siam.object.id:            DEV001g10
      siam.object.class:         SIAM::DeviceComponent
      siam.devc.inventory_id:    DEV001g10
      siam.devc.type:            IFMIB.Port
      siam.devc.name:            g10
      siam.devc.full_name:       g10
      siam.devc.description:     port g10
      torrus.nodeid:             DEV001g10
    -
      siam.object.id:            DEV001g12
      siam.object.class:         SIAM::DeviceComponent
      siam.devc.inventory_id:    DEV001g12
      siam.devc.type:            IFMIB.Port
      siam.devc.name:            g12
      siam.devc.full_name:       g12
      siam.devc.description:     port g12
      torrus.nodeid:             DEV001g12
    -
      siam.object.id:            DEV001g20
      siam.object.class:         SIAM::DeviceComponent
      siam.devc.inventory_id:    DEV001g20
      siam.devc.type:            IFMIB.Port
      siam.devc.name:            g20
      siam.devc.full_name:       g20
      siam.devc.description:     port g20
      torrus.nodeid:             DEV001g20
      
     

-
  siam.object.id:            DEV004
  siam.object.class:         SIAM::Device
  siam.device.inventory_id:  tcaslavsky-r02
  siam.device.name:          tcaslavsky-r02
  torrus.server:             demo.oetiker.torrus.net
  torrus.tree:               demo01
  torrus.tree-url:           http://demo.oetiker.torrus.net/torrus/demo01



# Access scopes
-
  siam.object.id:            CSCP0001
  siam.object.class:         SIAM::AccessScope
  siam.scope.name:           Contract.0001
  siam.scope.applies_to:     SIAM::Contract
  _contains_:
    -
      siam.object.id:            CSCP0001.m01
      siam.object.class:         SIAM::ScopeMember
      siam.scmember.object_id:   CTRT0001

-
  siam.object.id:            CSCP0002
  siam.object.class:         SIAM::AccessScope
  siam.scope.name:           Contract.0002
  siam.scope.applies_to:     SIAM::Contract
  _contains_:
    -
      siam.object.id:            CSCP0002.m01
      siam.object.class:         SIAM::ScopeMember
      siam.scmember.object_id:   CTRT0002

-
  siam.object.id:            CSCP0003
  siam.object.class:         SIAM::AccessScope
  siam.scope.name:           Contract.0003
  siam.scope.applies_to:     SIAM::Contract
  _contains_:
    -
      siam.object.id:            CSCP0003.m01
      siam.object.class:         SIAM::ScopeMember
      siam.scmember.object_id:   CTRT0003


# Users and privileges
-
  siam.object.id:            USER0001
  siam.object.class:         SIAM::User
  siam.user.uid:             donkeysys
  _contains_:
    -
      siam.object.id:                 PRIV0001.01
      siam.object.class:              SIAM::Privilege
      siam.privilege.access_scope_id: CSCP0001
      siam.privilege.type:            ViewContract  

-
  siam.object.id:            USER0002
  siam.object.class:         SIAM::User
  siam.user.uid:             hamstertech
  _contains_:
    -
      siam.object.id:                 PRIV0002.01
      siam.object.class:              SIAM::Privilege
      siam.privilege.access_scope_id: CSCP0002
      siam.privilege.type:            ViewContract  

-
  siam.object.id:            USER0003
  siam.object.class:         SIAM::User
  siam.user.uid:             lobsterlabs
  _contains_:
    -
      siam.object.id:                 PRIV0003.01
      siam.object.class:              SIAM::Privilege
      siam.privilege.access_scope_id: CSCP0003
      siam.privilege.type:            ViewContract