summaryrefslogtreecommitdiffstats
path: root/v3po/api/src/main/yang
AgeCommit message (Collapse)AuthorFilesLines
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 Gradzki1-1/+7
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 Gradzki4-12/+25
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 Gradzki2-3/+80
* 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 Gradzki2-0/+206
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>
2016-06-15HONEYCOMB-91: updated POSTMAN collection with L2 FIB supportMarek Gradzki1-1/+1
Change-Id: Ie4c0d866b4707af3260d5f5697c5ef21b8256a28 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-15HONEYCOMB-91: write customizer for L2FibEntryMarek Gradzki1-3/+10
Change-Id: I80353d9468924df755b7dfe2fca33515becdb8b5 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-15HONEYCOMB-91: BD and L2 FIB YANG model refactoringMarek Gradzki1-44/+63
Change-Id: Ia66fa06a54c74e0b73d88bdaf5371722db48762c Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-14HONEYCOMB-84: Fix next-protocol issue of vxlan-gpe interfaceHongjun Ni1-4/+12
Change-Id: I2e8fb5df67a1b394fa5b3cb64b9e7db6237ffddb Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-06-10Remove reduntant list of interfaces for BDMarek Gradzki1-16/+0
Interface has BD reference already Change-Id: I21d71cc79ec22378e11bfb5fe1bc479b26c21639 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-10HONEYCOMB-33: Add notification service to HcMaros Marsalek1-0/+40
Implement VPP interface notification translator as part of v3po2vpp plugin Change-Id: I69cfad9668ae9e4d79ed30bb8d54d294faa4c54a Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-06-10Remove artificial limit on the maximum number of bridge-domainsMarek Gradzki1-2/+0
VPP code does not limit number of bridge domains to 1024. Change-Id: I280174d0e741b599b39f05b8db2bf0a423aeffcb Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-06Remove unused sub-interface identityMarek Gradzki1-4/+0
Change-Id: I886286d9a31c6f5e400ef8d26c8f89d57ff1f3d5 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-06Intializers for the new vlan modelMarek Gradzki1-109/+0
Change-Id: I513f0b190e9d9e669663a9a216e7c72b1ebeb10d Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-06Implementation of the new vlan model.Marek Gradzki2-19/+64
Missing features that will be added in subsequent commits: - initializers update - unit test update - postman collection update Change-Id: Iff01f6f9b4347261a504fe1a1d7840060cae367f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-06Remove tags from vlan-tagged match type.Marek Gradzki1-27/+2
Information concerning subinterface tags was already defined in sub-interface-base-attributes. Change-Id: I49bd7cdbd984942b3413bab6b6660da08c5e045c Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-06Vlan alternative modelMarek Gradzki3-6/+517
Change-Id: I0dcb535338495b4bb858adf2e2fe1b78cf85c498 Signed-off-by: Maros Marsalek <mmarsale@cisco.com> Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-06-02HONEYCOMB-71: Add VxLAN-GPE featureHongjun Ni1-0/+55
Patchset 3: Add Vxlan-gpe requests in postman_rest_collection.json Patchset 2: Fix the indent issue. Change-Id: If42b667f60a3591efc4b79353d78935277f8fb4d Signed-off-by: Hongjun Ni <hongjun.ni@intel.com>
2016-05-30Refactoring ietf-interfaces and ietf-interfaces-stateMarek Gradzki1-146/+129
augumentations provided by v3po.yang: * using groupings to reduce dupicated definitions Change-Id: I09c0d0764ba47973f6b8e42d3fed705730e7d652 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-05-24HONEYCOMB-61: Fix outstanding issuesMaros Marsalek1-1/+2
Change-Id: I2dec6bbd8db656663029ad0f59da1b583c890565 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-23HONEYCOMB-61: Move vpp context model to v3po-apiMaros Marsalek1-0/+41
Change-Id: I92d9cdd199e245adf5d22ff9756e05d82d66abc4 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-19HONEYCOMB-48: added VLAN support to v3po.yangMarek Gradzki1-0/+104
Change-Id: Ic4ba5c4573e79bf406b85cac435ecee28d820cda Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2016-05-13HONEYCOMB-37: Add unit test for Vxlan tunnel state customizerMaros Marsalek1-1/+0
Change-Id: I8a3499233c2d200b0bb0c1e2534ea1dfdbb5f12c Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-13HONEYCOMG-37 Enable ipv6 addresses for vxlan-tunnelsMaros Marsalek1-7/+9
+ Add logging to other interface type customizers Change-Id: I177c0af26991c5f421b513f5fd9964ca1c23027e Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-11HONEYCOMB-36: vhost user interfaces CRUD supportMaros Marsalek1-32/+47
Change-Id: I1c16cf71fa450fe5079b4af8b1e24bdc921a6e82 Signed-off-by: Marek Gradzki <mgradzki@cisco.com> Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-11HONEYCOMG-47: Tap interface CRUD supportMaros Marsalek1-0/+38
Tap interface specific configuration and state was added to V3po yang model. TapCustomizer added. Fixed customizers for Interfaces state. Fixed bug in Bridge domain customizers. Change-Id: I9dd47b8ada5153df8732c02cb59d331ab1adc71e Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-05-10Added vhost user interface type to v3po.yangMartin Sunal1-0/+46
Change-Id: I161260bf2ed1c4d750c3ce123ebb12420c697410 Signed-off-by: Martin Sunal <msunal@cisco.com>
2016-04-13HONEYCOMB-9: Remove initial Honeycomb pipelineMaros Marsalek1-8/+0
+ Rewire global restconf to only serve VPP requests + Remove artificial Honeycomb mountpoint Change-Id: I90738123e46a9fb29db19ee09fd139b57cd8af10 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
2016-04-12HONEYCOMB-9: Migrate Interface listenerMaros Marsalek1-0/+5
Change-Id: Iffde1ee21b749a8c8efa96c243f7f8bb0811b4c7 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>