Cisco Cisco Virtual Topology System 2.0 Developer's Guide

Page of 102
VTS 2.0 Developer Guide 
 
 
102 
           
          leaf ip-address { 
            description "IP address of the DHCP server"; 
            tailf:info "IP address."; 
            type inet:ipv4-address { 
              tailf:info "A.B.C.D;;DHCP Server IP Address"; 
            } 
          } 
           
          leaf vrf-name { 
            description "VRF name of the DHCP server"; 
            tailf:info "VRF name."; 
            type vts-types:string128; 
          } 
           
        } // list dhcp-server 
      } // container dhcp-servers    
 
      container anycast-gateway { 
        description "Common anycast configuration for all gateways."; 
        tailf:info "Common anycast gateway."; 
        presence "Existence of anycast-gateway configuration"; 
        uses ncs:service-data; 
        ncs:servicepoint vts-anycast-gateway-servicepoint; 
        leaf anycast-gw-address { 
          description "Common anycast MAC address for all gateways."; 
          tailf:info "Common anycast MAC address."; 
          type string { 
            pattern '[0-9a-fA-F][02468aceACE](:[0-9a-fA-F]{2}){5}' { 
              error-message "The anycast gateway mac address must be a unicast 
address."; 
            } 
          } 
        } 
      } // container anycast-gateway 
 
    } // container system-config 
  } // grouping 
} // module