2 * Copyright (c) 2016 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
12 namespace "urn:opendaylight:groupbasedpolicy:vpp_renderer";
13 prefix "vpp-renderer";
15 import base-endpoint { prefix base-ep; revision-date 2016-04-27; }
16 import network-topology { prefix nt; revision-date 2013-10-21; }
17 import opendaylight-l2-types { prefix l2-types; revision-date "2013-08-27"; }
20 "This module is a baseline for the group-based policy vpp renderer model.";
22 revision "2016-04-25" {
27 identity network-type-base {
28 description "Base for Network Types.";
31 identity flat-network {
32 description "Flat Provider Network Type";
33 base network-type-base;
36 identity vlan-network {
37 description "VLAN Provider Network Type";
38 base network-type-base;
41 typedef network-type {
42 description "Type of Network.";
44 base network-type-base;
50 description "Renderer creates/removes interface on VPP node based on given parameters.";
52 key "context-type context-id address-type address";
53 uses base-ep:address-endpoint-key;
56 description "Path to a node representing mount-point to VPP instance.";
57 type instance-identifier;
59 leaf vpp-interface-name {
60 description "Name of interface for the endpoint on VPP";
64 description "Additional description of the vpp-endpoint";
67 choice interface-type-choice {
68 case vhost-user-case {
70 description "A unique ID for the neutron port";
82 description "Same as in VBD.";
93 when "type = 'vlan-network'";
94 type l2-types:vlan-id;
96 list physical-location-ref {
98 "Refers to physical interfaces on vpp nodes through which external
99 nodes belonging to the same bridge-domain can be reached.";
102 description "Refers to a VPP node.";
105 leaf-list interface {
106 description "Physical interface on the VPP node.";