2 namespace "urn:opendaylight:params:xml:ns:yang:bgp-peer-rpc";
5 import bgp-multiprotocol { prefix bgp-mp; revision-date 2013-09-19; }
6 import bgp-rib { prefix rib; revision-date 2013-09-25; }
7 import yang-ext { prefix ext; revision-date "2013-07-09"; }
9 organization "Cisco Systems, Inc.";
10 contact "Iveta Halanova <ihalanov@cisco.com>";
13 "Module contains rpc for route refresh request, which is described in rfc2918.
15 Copyright (c) 2016 Cisco Systems, Inc. All rights reserved.
17 This program and the accompanying materials are made available
18 under the terms of the Eclipse Public License v1.0 which
19 accompanies this distribution, and is available at
20 http://www.eclipse.org/legal/epl-v10.html";
23 description "Initial revision";
27 description "Add reset session RPC";
30 identity peer-context {
31 description "Identity used to mark the Peer context for binding RPCs in a particular RIB.";
35 type instance-identifier;
36 ext:context-reference "peer-context";
39 grouping peer-reference {
43 ext:context-reference "peer-context";
47 grouping rr-msg-args {
49 uses bgp-mp:bgp-table-type;
52 rpc route-refresh-request {
58 augment "/rib:bgp-rib/rib:rib/rib:peer" {
59 ext:context-instance "peer-context";
62 rpc release-connection {
63 description "Release the peer session";