Cisco Cisco Virtual Topology System 2.0 Developer's Guide

Page of 102
VTS 2.0 Developer Guide 
 
 
101 
    description 
      "Initial revision."; 
  } 
 
 
  grouping SYSTEM-CONFIG { 
    container global-settings { 
      description "Container for system level configurations";  
 
      leaf route-reflector-mode { 
        //TODO: improve this description 
        description "Determines how the route reflector operate."; 
        tailf:info "Route reflector mode."; 
        type identityref { 
          base "vts-ids:route-reflector-mode"; 
        } 
      } 
      container global-route-reflectors { 
        description "Set of global route reflectors."; 
        tailf:info "Global route reflectors."; 
        when "../route-reflector-mode = 'vts-ids:global-rr'"; 
        list global-route-reflector { 
          uses ncs:service-data; 
          ncs:servicepoint global-rr-servicepoint; 
          description "List of global route reflectors."; 
          tailf:info "Route reflector."; 
          key name; 
          leaf name { 
            description "Name of the route reflector."; 
            tailf:info "Name."; 
            type vts-types:string128; 
            // TODO: move to leafref to devices when ready 
            //type leafref { 
            //  path "/cisco-vts/devices/device/name"; 
            //} 
          } 
        } // list route-reflector 
      } // container route-reflectors 
 
      container dhcp-servers { 
        description "Set of DHCP servers."; 
        tailf:info "DHCP servers."; 
        list dhcp-server { 
          uses ncs:service-data; 
          description "List of DHCP servers."; 
          tailf:info "DHCP server."; 
          key ip-address;