Peter K. Lee | f4d38d3 | 2016-07-23 02:47:38 -0700 | [diff] [blame] | 1 | # |
| 2 | # Author: Peter K. Lee (peter@corenova.com) |
| 3 | # |
| 4 | # All rights reserved. This program and the accompanying materials |
| 5 | # are made available under the terms of the Apache License, Version 2.0 |
| 6 | # which accompanies this distribution, and is available at |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | |
| 10 | require('yang-js').register() |
| 11 | |
| 12 | module.exports = require('../schema/cord-core.yang').bind { |
| 13 | |
Peter K. Lee | 4302f47 | 2016-07-28 03:51:39 -0700 | [diff] [blame] | 14 | '/cord:subscriber/humanReadableName': -> "cordSubscriber-#{@get '../id'}" |
Peter K. Lee | f4d38d3 | 2016-07-23 02:47:38 -0700 | [diff] [blame] | 15 | |
Peter K. Lee | 4302f47 | 2016-07-28 03:51:39 -0700 | [diff] [blame] | 16 | '/cord:subscriber/delete': (input, resolve, reject) -> reject "not yet implemented" |
Peter K. Lee | f4d38d3 | 2016-07-23 02:47:38 -0700 | [diff] [blame] | 17 | } |