summaryrefslogtreecommitdiffstats
path: root/v3po/api/src
AgeCommit message (Collapse)AuthorFilesLines
2017-03-20HC2VPP-112 - Presence added to detect APPEARJan Srnicek1-0/+2
APPEAR/DISSAPEAR modifications are ignored for non-presence containers, so in this case the modification would be ignored if not directly called as DELETE Change-Id: I890d600beb4f333b21591c350c9bd42c66f9f885 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-03-15Update revision of models that changed since 17.01Jan Srnicek3-16/+15
Change-Id: I7a42cee65b2a1957e9f1d039b0372fad1bb5550c Signed-off-by: Marek Gradzki <mgradzki@cisco.com> Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-03-14HC2VPP-7 - Split vpp state/Cli RPC to separate moduleJan Srnicek1-59/+12
Introduces VppManageModule containing - Vpp state attributes - CLI RPC support - Keep-alive Change-Id: I8907e57132cc9e57840aa3b9607fa131a77f767d Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-03-10HC2VPP-7 - L3 split to separate moduleJan Srnicek3-835/+0
ipv4/ipv6/proxy arp/nd proxy Change-Id: I536298dd5584f79f357e94da08d402e67e79bb71 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-03-09HC2VPP-7 - split vpp-classifiers to separate moduleJan Srnicek9-973/+0
Split vpp-classifiers and vpp-classifiers acls' to separate modules. Contains TODO's for future change of dependencies Change-Id: I94f92ce2ec8960c67bd406f085f2fe928079ee23 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-03-08HC2VPP-95: ND Proxy yang modelMarek Gradzki1-0/+46
Follows VPP change: https://gerrit.fd.io/r/#/c/5524/ Change-Id: Iea3a3c35374751a4982e3c9d9d90a7540e8592d8 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-02-24HC2VPP-84: multiple ARP proxy ranges supportMarek Gradzki2-24/+47
Change-Id: If3e2b8b889a62ce8b9e62f854c592c24f319c0d4 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-02-17Add union type builders (HC2VPP-62 workaround)Marek Gradzki5-0/+193
Change-Id: I17e5c7a23e864329130cf23c11888cc28d9c19ba Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-20HONEYCOMB-324: fix config reconciliation for classify tablesMarek Gradzki1-2/+2
that were defined outside HC. As a workaround for VPP-208, memory_size leaf was made non-mandatory. Change-Id: I456727d9f80c054694bf4f43db3da0b273a29510 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-16HONEYCOMB-320: move ace-ip-and-eth case nodes into containerMarek Gradzki1-11/+14
Change-Id: I6193d84363d60123571a72021ed8ad6e1d334a9b Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-14HONEYCOMB-317 - L2 entry model updatesv1.17.01-RC0Jan Srnicek1-6/+4
Require either filter to be specified or outgoing-interface reference Change-Id: Iec72348b04520cb3eb6717f970355bd0f52330f7 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com> Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-14HONEYCOMB-314: expose tag for tap and vlan interfacesMarek Gradzki1-0/+13
It is possible that interface creation for will succeed in VPP, but Honeycomb crashes or request timeouts. In such situations, interface name stored in Honeycomb's cache will not be updated. After restarting Honeycomb, interface name will be generated. In such cases Honeycomb user can use tag to identify interface. Change-Id: I673c52e49dc788c761af471399d2ac839f62be04 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-14HONEYCOMB-177: expose device instance attributeMarek Gradzki1-0/+10
Change-Id: I7a1a5a2d338c39bb7a5f869660fcce06ef59515d Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-14Span model update reflecting api changesJan Srnicek1-2/+39
Allows use of Rx/Tx/Both Span states Allows setting state per src-interface Change-Id: I07346bf3976be34aa85336bdeedff94f83a3173c Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-12-13HONEYCOMB-151: add support for cli_inbandMarek Gradzki1-0/+13
Depends on https://gerrit.fd.io/r/#/c/4256/ Change-Id: I5b7a218751ee680de076e5c4ae0d6cbe31b3ec06 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-12-13Augment vxlan to support decap-next: YANG modelHongjun Ni1-0/+26
Change-Id: I97571254c7da7d010d542515864d8f39ea1499d1 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-12-09HONEYCOMB-127: add routing operational readMarek Gradzki1-9/+16
Change-Id: I52cdeb6a35e04e8626992a027ad230b9b15fce96 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-11-29Rename vpp-acl model to vpp-classfier-aclMarek Gradzki4-22/+22
Current acl implementation uses vpp's classfier. The vpp-acl model will be used to expose new acl api. Change-Id: Ia1e0f7acf00e1284e92a56f6f1c7f43538d394ad Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-11-23HONEYCOMB-278 Expose basic CRUD for port mirroringMaros Marsalek1-1/+20
Change-Id: I9ed339fd8c7daf1433709dcd862e64b690c5d3da Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-11-03HONEYCOMB-281 Loopback interface managementMaros Marsalek1-1/+20
Change-Id: I7e4d817bb7dfe9ccd779e59347c956233c012e4a Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-10-31Add support for ipv6 vrfMarek Gradzki1-2/+7
Change-Id: I3372d4156a19157ca431cb29c23de33161f6cfc0 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-10-31HONEYCOMB-70: add control ping to vpp-stateMarek Gradzki1-1/+7
Change-Id: I7f02841d899465fd2156db0bb79fcc490cd4929f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-10-31Update l2 constaint in v3po.yangMarek Gradzki1-5/+8
Permit BVI interface to have IP address assigned Change-Id: I86f39b1e07fa00f05328e293377e0b84c23ebe1a Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-10-21Remove unused builders for union types generated by yangtoolsMarek Gradzki5-105/+0
Generated builders are not used in the runtime. Starting from ODL boron, strings that represent union types, are processed according to YANG RFC, that is in the order they are specified in the "type" statement, unitl a match is found. That makes builders for union types obsolete. Change-Id: If9289a0dde34f345a672103d2461a3acd00e2afd Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-10-21HONEYCOMB-264: cache classify table deleteMarek Gradzki1-0/+67
Change-Id: I8b43f9a6220b90aaed5d85d60c0d2095518d6226 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-10-20HONEYCOMB-268: Fix order of union types in vpp-indexMarek Gradzki3-16/+11
ODL does not uses builders for unions anymore. Unused builders will be removed in subsequent commit. Change-Id: Ib4e77fed19f591f6f0dc836d66067a2827d2e202 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-10-18Make ip-version mandatory for all ACEsMarek Gradzki1-5/+10
- ip-version was mandatory only when mixing l2/l3 rules in one ACE (vpp api limitation). It needs to be provided also in case of ACEs that define l3 only rules (we allow mixing ip4/ip6 ACEs in one list). - updates postman collestion with example of L4 only acl Change-Id: Ifb863208c21a504cd61843f7540341bc35a6174a Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-10-13HONEYCOMB-233: add support for mixing L2/L3 rulesMarek Gradzki2-9/+12
In case of L2 interfaces, acls are translated into a chain of classify tables and assigned as L2 table. In case of L3 interfaces, acls are translated into ip4 and ip6 chains (eth only rules go to both chains, rest - depending on ip-version). Limitations: - it is not possible to define L3 rule without specifying ip-version (common header fields for IP4/IP6 have different offsets), - eth rules on L3 interfaces are applied only to IP traffic (vpp classfier limitation). Change-Id: I7ca2648cabad8c6e936cf71a51e06596a42891e8 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-10-13HONEYCOMB-233: ietf-acl model augmentation to provide l2,l3 and l4 rulesMarek Gradzki1-0/+36
in one ACE Change-Id: I2ebba9540fae1a49858d6887551385688d4529aa Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-10-10Move interface acls to separate yang moduleMarek Gradzki3-116/+133
Change-Id: Ia11eacababd62f719e23af5b64b19c5227d56a45 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-10-10HONEYCOMB-246: allow mixing deny/permit rulesMarek Gradzki1-5/+17
- adds classify table on the end of each of the 3 chains to enforce ordering - updates v3po.yang with default-action leaf - updates postman collection Change-Id: If54abec1a6516eaf87aae0e5da9382a6e5dee1f3 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-10-07HONEYCOMB-154: update revison of models that changed since 16.09Marek Gradzki5-13/+26
Sets revision date to 14.12.2016 - API freeze for HC 1.17.01 Updated models: - lisp.yang - v3po.yang - vpp-vlan.yang - pbb-types.yang - vpp-pbb.yang Change-Id: Ib2b962c7756748ac357141ffbc6f5bc6668c97e3 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-10-07Pbb SupportJan Srnicek2-0/+113
models/implementation refactored to work as rewrite on interfaces Change-Id: I8ce42905ce8f183c354e718d02291aea2435110d Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-10-05HONEYCOMB-238: provide interface mode as a part of ietf-acl configurationMarek Gradzki1-1/+32
- L2 only rules for L3 interfaces are not allowed by vpp - describes other limitations of ietf-acl model implementation Change-Id: If7e79e4bbfe3113b82e3411d9a951c409799a29f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-30HONEYCOMB-234: update YANG model to support egress ACLsMarek Gradzki2-6/+36
- marks existing ACL support as ingress - updates postman collection Change-Id: I7ae39cb6698d9aafbe932d57725f138194b52e70 Signed-off-by: Maros Marsalek <mmarsale@cisco.com> Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-13HONEYCOMB-118: extend classifer model to support node names.Marek Gradzki3-4/+81
* configuration write is supported (updates local cache with relative node mapping) * operational read is supported only for nodes with existing relative node mapping * ACL support (using vpp-classfier or ietf-acl model) is not affected by the patch (tables/sessions for access controll refer to neighbour nodes as packet-handling-action, not vpp-node-name) Change-Id: Ice0c846803cc7e8960c3571fd2a13ed46ba53702 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-09-09HONEYCOMB-204 exclude deleted interfaces from operational dataMaros Marsalek1-0/+29
Change-Id: I187ac52095e15c8c9302871a0d7e7be792e6a0e2 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-08-24HONEYCOMB-143: fix iacl-list referenceMarek Gradzki1-2/+6
Change-Id: I8ce52e35a41f0a24e3c94eba5a02b486ffa3fdf5 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-08-16Proxy ARP reader/writerWojciech Dec1-0/+24
Change-Id: Iabb947e89cbb906e78e4d87bc99fb5e8d09e495c Signed-off-by: Wojciech Dec <wdec@cisco.com>
2016-08-15HONEYCOMB-139: yang model for ietf-acl draft revision 8Marek Gradzki4-0/+428
Change-Id: I9250e07f3811036f483959aa841897380bcb7669 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-08-15HONEYCOMB-125: yang model for ARP termination table managementMarek Gradzki1-1/+17
Change-Id: Ibf7139eb85ffd4fac489f42ebba5041b585f5dcf Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-08-15HONEYCOMB-112 : Added regex for tap-nameJan Srnicek1-1/+3
Change-Id: I3ea78b8a26296f6509659f3237aa34365adab723 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-08-11HONEYCOMB-120 : Improved split-horizon-groupJan Srnicek1-1/+2
Change-Id: Icfa4a8aa136370692bf2d69f6c6b84ebfb5e3ef1 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2016-08-03HONEYCOMB-83: Add Gre Feature within HCHongjun Ni1-0/+28
PatchSet 7: refactor code PatchSet 6: Refactor based on new code organization PatchSet 5: consolidate review comments PatchSet 4: refactor to support reader registry PatchSet 3: rebuild PatchSet 2: update outer-fib-id in v3po.yang. PatchSet 1: Add GRE feature and support IPv6. Change-Id: I1fc064b618f161eaef06395380949277e2f9f060 Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-07-29HONEYCOMB-130: Separate v3po plugin from HC infraMaros Marsalek1-42/+0
Creating folders: - common/ - infra/ - v3po/ - vpp-common/ Change-Id: I2c39e1b17e39e7c0f0628f44aa5fe08563fa06e4 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-07-25Fix initializer for vpp classifierMarek Gradzki1-6/+16
Change-Id: I5a94bafb426b4f0b2e077153593f714a69ad2abb Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-07-19HONEYCOMB-49: fix outstanding issues found in reviewMarek Gradzki1-10/+33
Change-Id: Ic3314c8ddf75bda89f5170a503cf589f2ae743ab Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-07-14HONEYCOMB-49: ACL create/delete support for vpp-interface-augmentationMarek Gradzki2-3/+6
Change-Id: I5c25bac07ce618f69cf86f988749b0f86e9a6498 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-07-14HONEYCOMB-49: VPP classifier model. Initial versionMarek Gradzki4-0/+255
Change-Id: I8dbd22657c1cd1c9dfc45ca130015b5b3dbffee1 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-07-01HONEYCOMB-104: add Ipv4 support to sub-interfacesMarek Gradzki1-0/+134
* updates vpp-vlan.yang with Ipv4 and Ipv6 support based on ietf-ip rev. 2014-06-16 * adds Ipv4 support for sub-interfaces Ipv6 support for interfaces and sub-interfaces will be addded in the future (HONEYCOMB-102) Change-Id: I0bf10fe3ff1c543685f651d8b6fb06bbeee3db92 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>