aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/generic-resource-api/src/main
AgeCommit message (Collapse)AuthorFilesLines
2017-11-15fix AAI storage problemZhuoyao Huang2-4/+7
Change-Id: I6959617dac398f9c4346a691f3accb40bbb84336 Issue-ID:SDNC-197 Signed-off-by: Zhuoyao Huang <10112215@zte.com.cn> Former-commit-id: d42a3fda591af1697bf3bc76067a2b6d85333215
2017-11-14Merge "Fix tunnelxconn create/delete ip bugs"Dan Timoney7-732/+1238
Former-commit-id: e2453f4d1e1dc23cf3eb292db8ac908367d0844c
2017-11-14Fix brg-topo DGsMarcus G K Williams6-1270/+2110
1. Added get vg-mgmt-ip in brg-topo-activate so that vg tunnel could be properple setup 2. Added get vbrg-wan-ip to brg-topo-deactivate so that vxlan tunnels can be removed 3. Updated AA&I updates calls to include correct brg variables for global-customer-id, service-type and service-instance-id Issue-Id: SDNC-195 Change-Id: I9470cd782a3bd00fa9332dd7141c28151054b75f Signed-off-by: Marcus G K Williams <marcus.williams@intel.com> Former-commit-id: becd9978df3428354646a48c2d106177f6477695
2017-11-14Update underlay DG for delete flowramu.n8-2392/+2758
*Need to store vrf ids which are reuired during delete *Add delete network from MDSAL data store Change-Id: I411c01f90a2a186e2d72f570c30ae8ecdd8d5b15 Issue-Id: SDNC-188 Signed-off-by: Ramu N <ramu.n@huawei.com> Former-commit-id: f28363f0fae83efa9cb09ddd61fd995ccdf8498c
2017-11-13Fix tunnelxconn create/delete ip bugsMarcus G K Williams7-732/+1238
1. Pull brg-wan-ip from dmaap DHCP_MAP in sql database. 2. Pull vgmux-mgmt-ip from vnf-api parent-instance 3. Add and activate get-vnf-api-parent-instance DG to facilitate pulling of vgmux-mgmt-ip Issue-Id: SDNC-190 Change-Id: I9d0805b56de4b2aafee1c83c8966a8f4bb324ee3 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com> Former-commit-id: 0459370c8aa73aecd1de4cd3fe77db589db93c95
2017-11-13Fix Overlay DG testing issueshashikanth.vh4-574/+593
After executing DeActivateDCINetworkInstance, DeleteNetworkInstance node is executed as atomic block is not present, added new block, also fixed required parameter issue where value is not passed. https://jira.onap.org/browse/SDNC-191 Issue-Id: SDNC-191 Change-Id: Ia3009882fd7c2320a333ba04f726d57079f2d509 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com> Former-commit-id: 6b6ccfc2d1702eaae39a7e4877e51d274e17b07f
2017-11-10Update brg-topo-activate DG + vG setupMarcus G K Williams5-76/+461
1. Change get-vgmux-lan-ip DG to pull whole tunnelxconn allotted resource which allows the use of both vgmux-lan-ip and vG-ip from tunnelxconn 2. Add vG vxlan tunnel and bridge domain setup to brg-topo-activate Issue-Id: SDNC-182 Change-Id: I29b1efce59d5b2f81f2937fa793e06ec96e8da7a Signed-off-by: Marcus G K Williams <marcus.williams@intel.com> Former-commit-id: 5afd798760522289162f0681b8dcc09280cb4b4b
2017-11-10Activate gw-vfmodule-update DG by defaultMarcus G K Williams1-0/+1
Issue-Id: SDNC-176 Change-Id: I7ead203d8aafa0ce172efa4fce46ceb9056cc206 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com> Former-commit-id: 08f2e4b41472eacaae9c8da516bddc3aedc7344a
2017-11-10Activate get-vgmux-lan-ip DGMarcus G K Williams1-0/+1
Issue-Id: SDNC-181 Change-Id: I5c9100e3ef4daa2db621a9521feab9a06c6d0735 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com> Former-commit-id: 96d067bb3932b1ae33f9327184fb0d51d26d2ffb
2017-11-10Merge "Add VNI from txconn to preload"Dan Timoney2-1/+14
Former-commit-id: 89b5126a375ad819e5543aaabcc9dd8603dbdc4d
2017-11-10Merge "Update brg topo activate DG"Dan Timoney4-430/+684
Former-commit-id: 851f35dc112b7e7bc3106c73c7589ad75a920f95
2017-11-10Update brg topo activate DGMarcus G K Williams4-430/+684
1. Use get-resource sql plugin to get wan-brg-ip using wan-brg-mac 2. Changed call to brg-wan-ip-address to correct variable 3. Added DG get-vgmux-lan-ip and used new DG in brg topo activate to get vgmux-lan-ip from md-sal using consuming-service-instance-id as key Issue-Id: SDNC-181 Change-Id: I1448cfbcc94f66dc7c2a854d0013ccc443b4e420 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com> Former-commit-id: bb898c44019de1ce6e47a679b7a038509d901d1e
2017-11-10Add VNI from txconn to preloadBrian Freeman2-1/+14
Issue-ID: SDNC-176 Change-Id: I1ae0b928faec246603bc17deb36013d43714c580 Signed-off-by: Brian Freeman <bf1936@att.com> Former-commit-id: 1c14b08bef6859bcc4ede1e400b558059c22e70c
2017-11-10Merge "Dev Tested with SO"Dan Timoney4-7/+96
Former-commit-id: 25c925381fe5b9c95e9221099daa5dd23791cc3f
2017-11-10Merge "Fix underlay DG testing issue"Marcus Williams2-2/+2
Former-commit-id: 2df24096041f316a910c92e04dae8abdf2793991
2017-11-10Merge "Fix underlay DG delete testing issue"Dan Timoney2-2/+2
Former-commit-id: 76837bb60dfacf172e6ef8c09552bbb0bc7c4396
2017-11-10Update underlay DG for integration issuesramu.n2-82/+159
*Fix typo mistakes in underlay network-input-parameter names *Fix rest api parameters for IP-WAN & SPTN controller *Update underlay JSON template for IP-WAN controller Change-Id: I6308b7123561c032093dbff65b770389f92ca4fc Issue-Id: SDNC-188 Signed-off-by: Ramu N <ramu.n@huawei.com> Former-commit-id: 17cfd6d0d69e6da78d55cb76ed0446fca170eead
2017-11-10Dev Tested with SOBrian Freeman4-7/+96
Worked through changes to pass VNF-API preload back to SO using VGW2BRG-macaddress as the vnf-name Issue-ID: SDNC-176 Change-Id: Icfceaf6acf0e256a4471e73146fe84774d427d7c Signed-off-by: Brian Freeman <bf1936@att.com> Former-commit-id: 6a02f96408ec1322549dca9c96629c883e2b1e19
2017-11-10Fix underlay DG delete testing issueshashikanth.vh2-2/+2
Fixed issue comparing network-input-parameter serviceType with service-type https://jira.onap.org/browse/SDNC-186 Issue-Id: SDNC-186 Change-Id: Ia70f6c80e7ac04eb111b72753483a74915209aa4 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com> Former-commit-id: 25a1cca7cd218378aac254e2d87ae2ec89fbca49
2017-11-10Fix underlay DG testing issueshashikanth.vh2-2/+2
Fixed passing value to method requiredParameters, $network-topology -operation-input.network-information.network-id was not passed in. https://jira.onap.org/browse/SDNC-185 Issue-Id: SDNC-185 Change-Id: I6efabe6bdbb63de0e807490513c3a2a8cb9b1e34 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com> Former-commit-id: 2baf4e3afe24ea1aaf7e24a88eab349ac67ee207
2017-11-08Merge "Fix vnf-id in brg service save"Dan Timoney2-420/+420
Former-commit-id: 2a1c05ea0ce6e91ab93b3b9c05904ad7dde7d16c
2017-11-08Merge "Fix alloted typo in DGs"Dan Timoney10-16/+16
Former-commit-id: 8cbf096bd70dced5f3d8a95d074703f6eca8ce7e
2017-11-07Fix alloted typo in DGsMarcus G K Williams10-16/+16
Issue-Id: SDNC-175 Change-Id: Ic90f3e0d2e91587557f6d9470b5dbffbbbe4dcf2 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com> Former-commit-id: 6b8eabe5941f4e2433d50c8dd7e4056766daae5e
2017-11-07Fix vnf-id in brg service saveMarcus G K Williams2-420/+420
Issue-Id: SDNC-176 Change-Id: Id501549e42c5003240a7e0edf2384a19769fd6f0 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com> Former-commit-id: a2287c0944a105c6a6f0c0333d16f9492487b1eb
2017-11-07Save brg service to md-sal in DGMarcus G K Williams2-294/+764
Issue-Id: SDNC-176 Change-Id: I406f53a00512ef5c656149d2090b94e12328398b Signed-off-by: Marcus G K Williams <marcus.williams@intel.com> Former-commit-id: 204da530ab853b8825c1acec5a68e11194bd24d0
2017-11-06Fix break in brg-topology-operation-assign DGMarcus G K Williams2-235/+1563
Issue-Id: SDNC-173 Change-Id: I78de0cb468e03fa5e621bfbefde34181e2a547bd Signed-off-by: Marcus G K Williams <marcus.williams@intel.com> Former-commit-id: be5b66eb9dcf52daad67e973183a9bcd7ebc011f
2017-11-06Merge "Update brg topo deactivate"Dan Timoney2-116/+1009
Former-commit-id: 49bfccc6c1bd60f23646770d54e5266e94207787
2017-11-06Update brg topo deactivateMarcus G K Williams2-116/+1009
This change adds nodes to to brg topo deactivate that remove vxlan tunnel on deactivate. Issue-Id: SDNC-164 Change-Id: Ie45386eefc05cd29b6944f97e75264b4c5a255a5 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com> Former-commit-id: 86410dba70665914721d79fea135654a08e817fd
2017-11-06Merge "Update brg topo activate"Dan Timoney2-599/+300
Former-commit-id: 5e60c2135540f763533fe745a1eecf6888af6be9
2017-11-06Update brg topo activateMarcus G K Williams2-599/+300
Issue-Id: SDNC-164 Change-Id: If58891e63601d7a2352d36f183230c27b5c71300 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com> Former-commit-id: 0665236357387cf06005528796fbd3e83bd6af73
2017-11-06Merge "Fix ip address manage DG"Dan Timoney2-14/+235
Former-commit-id: c11c1967ddfa6da0cc5466411941daff777dd5cf
2017-11-06Merge "Update tunnelxconn delete DGs"Dan Timoney2-105/+1352
Former-commit-id: 6419c92e11a99ebb8f251be06118de4d549075b8
2017-11-06Merge "Update tunnelxconn create DGs"Dan Timoney2-278/+685
Former-commit-id: 258e69ec65683c8f5ed3f51c158157ff1d836bfe
2017-11-06Merge "Fix tunxconn-assign DG"Dan Timoney2-269/+1866
Former-commit-id: 5ac2677a2af3d33060c073feceafd4e1307d1ae6
2017-11-06Fix underlay DG testing issuesramu.n2-781/+779
*Fix service-type parameter name issue *Fix SPTN controller JSON template path *Remove configuration-type in relashionship-data Change-Id: I8f11a734bd1ed6db1d302bcc12529ed28875b4a5 Issue-Id: AAI-451 Signed-off-by: Ramu N <ramu.n@huawei.com> Former-commit-id: 4967a3857863b2a31a3c012bf51c2ba705b7c518
2017-11-05Fix tunxconn-assign DGMarcus G K Williams2-269/+1866
This change fixes assignment of IPs mismatches in tunnelxconn assign DG when assigning vgmux-bearer-ip and vgmux-lan-ip Issue-Id: SDNC-164 Change-Id: I89723c3908dde3a5b25a7309f9609287aa3de2c7 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com> Former-commit-id: b6a5de0603c1f51021dc54f9e8da457526fe7f82
2017-11-05Update tunnelxconn delete DGsMarcus G K Williams2-105/+1352
Update tunnelxconn DG to remove tunnelxconnect and vxlan tunnel ports on tunnelxconn delete topo operation. Issue-Id: SDNC-164 Change-Id: Ie06c9ae385bfcb3dfffd0260886bb1748635e6d6 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com> Former-commit-id: 44561f5764b3ee283dde9704e9868c830ccc5c4c
2017-11-05Update tunnelxconn create DGsMarcus G K Williams2-278/+685
Update tunnelxconn DGs to fix bugs found while trying to execute DG and create vxlan tunnel ports and xconnnect for vG and vBRG. Issue-Id: SDNC-164 Change-Id: I9a94d72f08f39be8f35c0f413e517c5c969e7878 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com> Former-commit-id: e211a3aab912e63955b5603aee2171b641a68421
2017-11-05Fix ip address manage DGMarcus G K Williams2-14/+235
Updated DG to use resource='IPADDR' instead of resource='VNI'. Issue-Id: SDNC-164 Change-Id: I4653a335b5ccc11c08edab5d87c88817fd491359 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com> Former-commit-id: d61a8c3b8aa2e3d17b52d9fd5e1d9163a613d595
2017-11-04Revert 20253 changes to tunnelxconn activate DGMarcus G K Williams1-1070/+280
tunnelxconn activate DG json was inadvertantly changed in change 20253. This patch resetores tunnelxconn activate DG. Issue-Id: SDNC-141 Change-Id: I25b76399344267b32f40ddb649a6981851bcc70d Signed-off-by: Marcus G K Williams <marcus.williams@intel.com> Former-commit-id: 9b02182beee5d7dd59680ea9a6ab38a8366e1af8
2017-11-04Activate 2 missing DGsBrian Freeman1-0/+2
Issue-ID: SDNC-167 Change-Id: I68cc2045b6e8eac8162ff386fe0821a1282cb93d Signed-off-by: Brian Freeman <bf1936@att.com> Former-commit-id: feeddf46c5a465a1978260003ee1cb58c167a8b7
2017-11-04Change Rackspace to CloudOwnerBrian Freeman16-22/+22
Issue-ID: SDNC-170 Change-Id: If64c4f12c503ac2d58b0de7d6750015162545216 Signed-off-by: Brian Freeman <bf1936@att.com> Former-commit-id: 9973bf478f9ffa5a89fc0c8b84e485876324df80
2017-11-03Fix DG to match yang changesDan Timoney6-9/+10
Fix GENERIC-RESOURCE-API BRG and tunnelxconn DGs to expect input containers Change-Id: I8487a63c1b4db1afdd601cec74d0fc4f58bec2ea Issue-ID: SDNC-166 Signed-off-by: Dan Timoney <dtimoney@att.com> Former-commit-id: 89f844835b3867fa5291b468ff2d5c8739cbf45e
2017-11-03Update brg activate and tunnelxconn create DGsMarcus G K Williams4-129/+1364
This update adds RestApiCallNode calls to tunnelxconn create DG to configure xconnect for vCPE VNFs and fixes order of vxlan tunnel create on brg activate DG and tunnelxconn create DG. It also converts tabs to spaces in brg-allotted-resource.json and tunnelxconn-allotted-resource.json. Issue-Id: SDNC-164 Change-Id: I72c70762df7f778ab9a8aca2040f5c424eb4dc0d Signed-off-by: Marcus G K Williams <marcus.williams@intel.com> Former-commit-id: 90aab828a230896fa60398c3f66f6fee57c73be5
2017-11-02Update brg topo activate DGMarcus G K Williams2-116/+1125
brg-topology-operation-activate should setup vxlan port/tunnel between vBRG and vgMUX. This patch adds the vcpe-vpp-bridge-domain.json template and edits brg topo activate DG and the generic-resource-api-dg.properties to enable setup of the vxlan tunnel. Issue-Id: SDNC-164 Change-Id: Ic5e473f16e2fb2e90149619accc857a64c3dbbd2 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com> Former-commit-id: 8235f3c0e35d379937e6e12130435aa76a5ac0bf
2017-11-02Fix underlay DG testing issueshashikanth.vh2-4/+7
Fixed exception which occured while updating A&AI. Few parameters(config-sub-type, operational status) missed while saving underlay configuration to A&AI While saving service relation to A&AI, key formed with invalid service-Id and also missed to include global-customer-id and service-type. https://jira.onap.org/browse/SDNC-162 Issue-Id: SDNC-162 Change-Id: I631e685fa017e82be4666fc2bb9ad601b12cafa7 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com> Former-commit-id: 6bce0d3e205d274e2f5f914f40c142e59e46fa93
2017-11-01Merge "Fix tunnelxconn assign issues"Marcus Williams6-45/+35
Former-commit-id: 23a35ef1ce42fba477df0ffa84816e28bb5adbc5
2017-11-01Fix tunnelxconn assign issuesDan Timoney6-45/+35
Fix typos in tunnelxconn DGs and add new element to restapi template Change-Id: I6ab438dfe451ec7c5e9587b035e4fd5d55598471 Issue-ID: SDNC-160 Signed-off-by: Dan Timoney <dtimoney@att.com> Former-commit-id: fe42f1f9d96787f60f744a72a5f8e3651c0582d4
2017-11-01Merge "Updates to tunnelxconn assignment"Marcus Williams8-331/+314
Former-commit-id: 4abdaa38e209f176f7253422c3b2ab0097a25507
2017-11-01Updates to tunnelxconn assignmentDan Timoney8-331/+314
Update tunnelxconn assignment logic to assign IP address and VNI from local inventory Change-Id: I1aae9162d1eb7a61d641b620488d52abdfe32357 Issue-ID: SDNC-160 Signed-off-by: Dan Timoney <dtimoney@att.com> Former-commit-id: a7e7279c379e470c1cf7446099fbc11b66fd2ac8