summaryrefslogtreecommitdiffstats
path: root/routing/routing-api/src/main/yang/vpp-routing.yang
diff options
context:
space:
mode:
authorMaros Marsalek <mmarsale@cisco.com>2016-11-10 12:22:28 +0100
committerMaros Marsalek <mmarsale@cisco.com>2016-11-10 12:47:24 +0100
commit8e0c7007906730fe4547b0265a895ad8a322a7dc (patch)
treedbc3310da5c7b7083cc6b9ecffee633d2cf5cd7f /routing/routing-api/src/main/yang/vpp-routing.yang
parentaa7e652e6105a6972d6c41ff0738cd9e31ce0188 (diff)
Remove hc2vpp codebase
Moved to a dedicated hc2vpp project in fd.io Change-Id: I03dc3b3029f21b127a00c69a86bcd8e467896241 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Diffstat (limited to 'routing/routing-api/src/main/yang/vpp-routing.yang')
-rw-r--r--routing/routing-api/src/main/yang/vpp-routing.yang59
1 files changed, 0 insertions, 59 deletions
diff --git a/routing/routing-api/src/main/yang/vpp-routing.yang b/routing/routing-api/src/main/yang/vpp-routing.yang
deleted file mode 100644
index 1979db9e1..000000000
--- a/routing/routing-api/src/main/yang/vpp-routing.yang
+++ /dev/null
@@ -1,59 +0,0 @@
-module vpp-routing{
-
- namespace "urn:ietf:params:xml:ns:yang:vpp-routing";
- prefix "vpp-routing";
- description "General extensions for routes to be able to use VPP route defining apis";
-
- revision 2016-10-18 {
- description "Initial revision.";
- }
-
- import yang-ext {
- prefix "ext";
- }
-
- import vpp-classifier {
- prefix "classifier";
- }
-
- typedef vni-reference{
- type uint32;
- description "Vrf index reference";
- }
-
- grouping vpp-routing-attributes{
- //vrf_id
- leaf primary-vrf{
- type vni-reference;
- mandatory true;
- description "Main vrf associated to route";
- }
-
- leaf auto-create-vrf{
- type boolean;
- default false;
- description "If referenced primary vrf not exists,create while creating route";
- }
-
- //lookup_in_vrf
- leaf secondary-vrf{
- type vni-reference;
- description "Optional secondary vrf used to lookup in";
- }
-
- leaf classify-table{
- // classify_table_index + is_classify flag
- type classifier:classify-table-ref;
- description "Optional reference to classify table";
- }
- }
-
- grouping vpp-routing-state-attributes{
- //vrf_id
- leaf primary-vrf{
- type vni-reference;
- mandatory true;
- description "Main vrf associated to route";
- }
- }
-} \ No newline at end of file