transportpce.git
2 years agoRelease transportpce 4.2.0
jenkins-releng [Mon, 21 Feb 2022 08:39:52 +0000 (08:39 +0000)]
Release transportpce

2 years agoBump upstream dependencies to P-SR2 28/99628/1
Gilles Thouenon [Fri, 18 Feb 2022 09:45:54 +0000 (10:45 +0100)]
Bump upstream dependencies to P-SR2

odlparent => 9.0.13
mdsal => 8.0.11
netconf => 2.0.14

JIRA: TRNSPRTPCE-617
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Change-Id: Ia184a77f6f11dace9b5e0fcd105a2976732e1a3a
(cherry picked from commit 757222675b129d2b5fa64496ed01ded29b2de855)

2 years agoAdd protection to PCE network analyzer PceOtnNode 23/99623/2
guillaume.lambert [Mon, 14 Feb 2022 16:49:18 +0000 (17:49 +0100)]
Add protection to PCE network analyzer PceOtnNode

SERVICE_TYPE_100GE_T should not occur in PceOtnNode.

JIRA: TRNSPRTPCE-572
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I1be47b25df672a30acc4dc9bad10ea292b756ce2

2 years agoRefactor PCE network analyzer PceOtnNode step 5 82/99782/1
guillaume.lambert [Mon, 14 Feb 2022 10:41:45 +0000 (11:41 +0100)]
Refactor PCE network analyzer PceOtnNode step 5

There is no point to have a different treatment for SERVICE_TYPE_100GE_S
in initXndrTps() to determine the attribute 'valid'.
This specific treatment only affects the argument availableXpdrClientTps
to pass to checkSwPool() when modeType equals "intermediate".
But this parameter is not used in that case.

- refactor and merge checkSwPool() and isAzOrIntermediateAvl() methods
- use checkSwPool() directly in initXndrTps()
- remove SERVICE_TYPE_100GE_S specific treatment

JIRA: TRNSPRTPCE-572
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I0c7b0ba2f07fd904650a5d8ec456c326f1794c76

2 years agoRefactor PCE network analyzer PceOtnNode step 4 22/99622/2
guillaume.lambert [Mon, 14 Feb 2022 09:23:32 +0000 (10:23 +0100)]
Refactor PCE network analyzer PceOtnNode step 4

SERVICE_TYPE_100GE_T should not occur in PceOtnNode.
- remove it from supported types
- refactor initXndrTps() and isAzOrIntermediateAvl() accordingly

JIRA: TRNSPRTPCE-572
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: Iedfede886aa6fb9f6b122a355755156ec5de0b8c

2 years agoRemove PCE net. analyzer PceOtnNodeTest useless UT 81/99781/1
guillaume.lambert [Mon, 14 Feb 2022 08:51:29 +0000 (09:51 +0100)]
Remove PCE net. analyzer PceOtnNodeTest useless UT

Some Junit tests in PCE network analyzer PceOtnNodeTest are pointless:
-remove these useless UT

The method isPceOtnNodeValid() in PCE network analyzer PceOtnNode was
only used by these UT. There is no need to keep it now:
- remove this method that has become useless
- remove also the method isOtnServiceTypeValid() since it was only used
  by the method isPceOtnNodeValid() now removed
- merge method isNotValid() into isValid() since apart these methods,
  it was the only other place where it was needed

JIRA: TRNSPRTPCE-572
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: Ida3653117548ad0fbfaa77a74cf1fba184878895

2 years agoRefactor PCE network analyzer PceOtnNode step 3 25/99625/2
guillaume.lambert [Mon, 7 Feb 2022 12:01:30 +0000 (13:01 +0100)]
Refactor PCE network analyzer PceOtnNode step 3

- make class static Maps and Lists final
- rename some variables
- rationalize conditions check & dedicated methods
- use && precendence over || to remove some useless parenthesis
- add a few intermediate functions and variables
- add a few TODO comments on remaining redundant checks code

JIRA: TRNSPRTPCE-572
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I9fec81f36c4dd83b8000d337e84200498b960955

2 years agoRefactor PCE network analyzer PceOtnNode step 2 24/99624/2
guillaume.lambert [Sun, 6 Feb 2022 23:13:27 +0000 (00:13 +0100)]
Refactor PCE network analyzer PceOtnNode step 2

second pass to prepare deeper refactoring of PceOtnNode class:
- use Map or List to check and manage ODU and Eth service types
  instead of switch/case and if condition blocks with multiple checks
- rationalize namespaces use and import
- refactor a few checks and indentations
- point with TODO comments places where
  * some missing service types might be managed
  * some checks are similar to existing methods
  * some new methods would help

JIRA: TRNSPRTPCE-572
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I4ede34d4d55895303abee95365e232e97fc91de5

2 years agoPort-capability support in port-mapping 1.2.1 21/99621/1
guillaume.lambert [Fri, 11 Feb 2022 13:43:54 +0000 (14:43 +0100)]
Port-capability support in port-mapping 1.2.1

JIRA: TRNSPRTPCE-610
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I0ae6c9e8dc4ecdacff2f76f3bbc6791b0d1a23eb
(cherry picked from commit f2b9dac505839ed861ef451370c00058d3c595d6)

2 years agoMerge "Getter for port-capability in port-mapping 2.2.1" into stable/phosphorus
Christophe BETOULE [Wed, 16 Feb 2022 08:11:44 +0000 (08:11 +0000)]
Merge "Getter for port-capability in port-mapping 2.2.1" into stable/phosphorus

2 years agoMerge "Bug in interface delete 400G-Ethernet" into stable/phosphorus
Christophe BETOULE [Wed, 16 Feb 2022 08:11:30 +0000 (08:11 +0000)]
Merge "Bug in interface delete 400G-Ethernet" into stable/phosphorus

2 years agoMerge "Fix bug in PCE picking wrong client port" into stable/phosphorus
Christophe BETOULE [Wed, 16 Feb 2022 08:11:17 +0000 (08:11 +0000)]
Merge "Fix bug in PCE picking wrong client port" into stable/phosphorus

2 years agoMerge "Remove maintenance loopback container" into stable/phosphorus
Christophe BETOULE [Wed, 16 Feb 2022 08:11:02 +0000 (08:11 +0000)]
Merge "Remove maintenance loopback container" into stable/phosphorus

2 years agoGetter for port-capability in port-mapping 2.2.1 16/99616/1
Balagangadhar Bathula [Tue, 8 Feb 2022 18:58:03 +0000 (13:58 -0500)]
Getter for port-capability in port-mapping 2.2.1

- There are two ways the 2.2.1 device can advertise
  supported port-capabilities
  a. Using the leaf list supported-interface-capability
     under ports list
  b. Using port-capabilities tree.
- Currently port-mapping only supports case (a).
- Add code to provide support for case (b).

JIRA: TRNSPRTPCE-610
Change-Id: I2e6900ccafa3e50d44d59d55c97acf824c28639e
Signed-off-by: Balagangadhar Bathula <bb4341@att.com>
(cherry picked from commit 6758b3817a44e31150a6ebea828a94d46241a63d)

2 years agoFix bug in PCE picking wrong client port 15/99615/1
Gilles Thouenon [Wed, 26 Jan 2022 08:14:05 +0000 (09:14 +0100)]
Fix bug in PCE picking wrong client port

- Instead of systematically picking the first available client port
compatible with the service, pick the client port provided by the input
request parameters when specified.
- Update existing node validation to pick only endpoints with tail
- Fix a bug in otn intermediate switch functional test suite.
- Remove from tapi-connectivity impl few lines of strange code that
seems being wrong since it was replacing the client port-name specified
in the request by its associated network port-name, what was making
Ethernet service creation failing.

JIRA: TRNSPRTPCE-460
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Change-Id: Ic3f1203f62fa19db46935524200c47f74611187c
(cherry picked from commit 895f3e89b3c2554e704f74c764d23d5b79bf0862)

2 years agoRemove maintenance loopback container 14/99614/1
Balagangadhar Bathula [Wed, 9 Feb 2022 21:16:52 +0000 (16:16 -0500)]
Remove maintenance loopback container

- Even with maintenance loopback set false,
  NE could reject the interface creation
- Completely remove the container during the renderer
  interface creation

JIRA: TRNSPRTPCE-613
Change-Id: Ibe6fc52e7b074d5d593bad3a34638d3ba83e2990
Signed-off-by: Balagangadhar Bathula <bb4341@att.com>
(cherry picked from commit 972b7e1f26d59e38bfb3dba2efc4cefc56ceb274)

2 years agoBug in interface delete 400G-Ethernet 13/99613/1
Balagangadhar Bathula [Thu, 10 Feb 2022 07:13:10 +0000 (02:13 -0500)]
Bug in interface delete 400G-Ethernet

Fix the order of deletion for 400G Ethernet service
ODUFlex, ODUC4

JIRA: TRNSPRTPCE-614

Signed-off-by: Balagangadhar Bathula <bb4341@att.com>
Change-Id: I15f0f12706bdaec766bbdcc0f8484c0d628787b8
(cherry picked from commit 4b9e44545bf817eac40810cb22aac1fa64dfee15)

2 years agoDistinguish available SRG for uni/bi-direction 12/99612/1
Vachhani, Shweta (sv111y) [Fri, 14 May 2021 18:05:27 +0000 (14:05 -0400)]
Distinguish available SRG for uni/bi-direction

- Currently CP-type is assigned TXRX irrespective of unidirectional
  or bidirectional. Since CP-type is used to assign respective SRG-type,
  it could be misleading.
- Fix the code to have correct SRG-type.

JIRA: TRNSPRTPCE-445
Signed-off-by: Vachhani, Shweta (sv111y) <sv111y@att.com>
Change-Id: Ia0b5e82e2182d6445238e8df0a540683ad2ade7c
(cherry picked from commit 5fbe564fe5828bb7eee0d73eaf3d3225855c1b90)

2 years agoUpdate 7.1 port-mapping data after inf delete 11/99611/1
Balagangadhar Bathula [Mon, 7 Feb 2022 16:26:07 +0000 (11:26 -0500)]
Update 7.1 port-mapping data after inf delete

- When the service/interface is deleted, the 7.1
  port-mapping data is not updated and still shows the
  supporting ODUCn/OTUCn interfaces.
- Add code to update data for the supporting
  interfaces, after deletion.

JIRA: TRNSPRTPCE-608
Change-Id: Ie0af185285f645c2d52d88699ba538bdf207a66b
Signed-off-by: Balagangadhar Bathula <bb4341@att.com>
(cherry picked from commit a2c0845af51f68102d9f32df83cdfa93fbf9bb35)

2 years agoUpdate power target mask for mixed line-rate 71/99671/1
Balagangadhar Bathula [Wed, 26 Jan 2022 14:07:00 +0000 (09:07 -0500)]
Update power target mask for mixed line-rate

Update power (P1 [50GHz]) for 400/100G mixed line,
according to the openROADM Optical Specifications v5.0

JIRA: TRNSPRTPCE-457
Signed-off-by: Balagangadhar Bathula <bb4341@att.com>
Change-Id: Ie7a6196639f3ac386772bf0d1d6d3e1382fc8bf6

2 years agoDo not instantiate JsonParser 70/99670/1
Robert Varga [Tue, 8 Feb 2022 09:41:14 +0000 (10:41 +0100)]
Do not instantiate JsonParser

Use the parseString() instead of deprecated methods.

Change-Id: I37a5cd99f0ab40c6948b4301adc140262d0b9f80
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
2 years agoMake OpenRoadmOtnTopology class static Maps final 69/99669/1
guillaume.lambert [Mon, 7 Feb 2022 20:58:17 +0000 (21:58 +0100)]
Make OpenRoadmOtnTopology class static Maps final

JIRA: TRNSPRTPCE-597 TRNSPRTPCE-526
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: Iee0b74c7ddebf861291cbea986b3288108b68109

2 years agoImprove networkmodel util OpenRoadmOtnTopology 2/2 68/99668/1
guillaume.lambert [Fri, 4 Feb 2022 11:30:50 +0000 (12:30 +0100)]
Improve networkmodel util OpenRoadmOtnTopology 2/2

- use class Map for Service Rate / ODU type Identification
- use Long type and < or > rather than equals for bandwidth comparison
- rationalize addAugmentation and builder use

JIRA: TRNSPRTPCE-597 TRNSPRTPCE-526
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: Ibe1f0b89d63f72953e392a9cb2dffcec47c21af8

2 years agoImprove networkmodel util OpenRoadmOtnTopology 1/2 67/99667/1
guillaume.lambert [Fri, 4 Feb 2022 10:28:03 +0000 (11:28 +0100)]
Improve networkmodel util OpenRoadmOtnTopology 1/2

- use class Map for OTU4 and OTUC4 support in some methods
- generalize ODUC3 and ODUC2 support in some methods

JIRA: TRNSPRTPCE-597 TRNSPRTPCE-526
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I1140eec757df681ebb3a312be913aead061c29e5

2 years agoPortmapping for SRGs with multiple circuit packs 29/99629/1
Jonas Mårtensson [Tue, 1 Feb 2022 17:44:53 +0000 (18:44 +0100)]
Portmapping for SRGs with multiple circuit packs

The createPpPortMapping function was resetting the logical connection
port index to 1 for every new circuit pack in an SRG so that multiple
physical ports (cp-name/port-name) were mapped to the same logical PP
port.

Move "int portIndex = 1;" to before the loop over cicuit packs.

JIRA: TRNSPRTPCE-598
Signed-off-by: Jonas Mårtensson <jonas.martensson@ri.se>
Change-Id: Ifaf4353d3eca0ee76f7e46cc81084ff5110b85f3

2 years agoRefactor PCE network analyzer PceOtnNode step 1 08/99608/1
guillaume.lambert [Wed, 2 Feb 2022 22:42:55 +0000 (23:42 +0100)]
Refactor PCE network analyzer PceOtnNode step 1

first pass to prepare deeper refactoring of PceOtnNode class:
- fix a few typos
- fix most indentation issues
- remove useless parenthesis
- remove some useless intermediate variables
- remove all @Nullable decorators
  the presence of side null checks made most of them pointless
- review some if/else blocks/condition layout
- review some else-if and switch/block structures (1st pass)

JIRA: TRNSPRTPCE-572
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: If4c7fd58bc95d3fb9896f874df602d5f2b5ef9ee

2 years agoRefactor networkmodel util OpenRoadmOtnTopology 07/99607/1
guillaume.lambert [Wed, 2 Feb 2022 13:07:38 +0000 (14:07 +0100)]
Refactor networkmodel util OpenRoadmOtnTopology

JIRA: TRNSPRTPCE-597 TRNSPRTPCE-526
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: Ib8275ddcb9ee244b2fb37653f76a83940a3d3884

2 years agoCorrect width for 200G and 300G 06/99606/1
Balagangadhar Bathula [Tue, 25 Jan 2022 16:51:33 +0000 (11:51 -0500)]
Correct width for 200G and 300G

Currently the width for 200G and 300G is listed as 80 GHz.
change it to 75 GHz as per the Optical Specs.

JIRA: TRNSPRTPCE-590
Change-Id: Ic8c24676b53e4e09961f9f039785fc600187a46b
Signed-off-by: Balagangadhar Bathula <bb4341@att.com>
2 years agoFix gitlint tox profile 97/99597/1
guillaume.lambert [Thu, 3 Feb 2022 10:18:45 +0000 (11:18 +0100)]
Fix gitlint tox profile

Tox setup/ini directory is different than the one of .gitlint
configuration file that is required by pre-commit.
Use --config option in gitlint tox profile so that pre-commit
and gitlint profile can use the same configuration file.

Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: Icfc49dae07ee21e60a2d7d7973022f87c0dcd4f2

2 years agoFix the GNPy version used for tests to 1.2.1 96/99596/1
Gilles Thouenon [Thu, 3 Feb 2022 10:07:38 +0000 (11:07 +0100)]
Fix the GNPy version used for tests to 1.2.1

JIRA: TRNSPRTPCE-571
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Change-Id: Ic5ae9931a9e994f31aa5a617793915d85b8b5cc0

2 years agoUnrecognized if-supported-capabilities 95/99595/1
Balagangadhar Bathula [Wed, 2 Feb 2022 06:25:33 +0000 (01:25 -0500)]
Unrecognized if-supported-capabilities

- If device reports supported-if-capabilities that are
  not present in the MappingUtils, it gives a null
  pointer exception.
- Add some missing interface-identities
- Avoid adding null values to the supported-if-cap list

JIRA: TRNSPRTPCE-596

Signed-off-by: Balagangadhar Bathula <bb4341@att.com>
Change-Id: I7cf4df57daac4b11af5229a1617eabfc60bfcfee

2 years agoMigrate OTN SH renderer func. tests to RFC8040 94/99594/1
guillaume.lambert [Mon, 31 Jan 2022 14:37:05 +0000 (15:37 +0100)]
Migrate OTN SH renderer func. tests to RFC8040

JIRA: TRNSPRTPCE-567
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I3363157029a96fec421af58783446bd7f295ce81

2 years agoRefactor func. tests RFC8040 service-path calls 93/99593/1
guillaume.lambert [Mon, 31 Jan 2022 12:34:46 +0000 (13:34 +0100)]
Refactor func. tests RFC8040 service-path calls

JIRA: TRNSPRTPCE-567
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I47dc2aad73fbbb1f1f3afa855381c94d5d164ffb

2 years agoDevice+OTN renderer tests 7.1 w/ intermediate rate 92/99592/1
Balagangadhar Bathula [Tue, 18 Jan 2022 06:43:24 +0000 (01:43 -0500)]
Device+OTN renderer tests 7.1 w/ intermediate rate

- add functional tests to perform device and OTN renderer service path.
- include ODUC2 (ODUC3, ODUC4), OTUC2 (OTUC3, OTUC4) and Ethernet
- even if not needed, update legacy test_utils.service_path_request
  method to support modulation formats used here different from dp-qpsk
- force old draft-bierman02 RESTCONF API use in tox.ini 7.1 tests:
  with RFC8040 URLs, some new tests return a HTTP code 503 (service
  unavailable) instead of expected code 409 (conflict).
  TODO: investigate this problem

JIRA: TRNSPRTPCE-528 TRNSPRTPCE-595
Change-Id: I56d33746f6283d5ca23199c0968ee04c15da8299
Co-authored-by: guillaume.lambert <guillaume.lambert@orange.com>
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
2 years agoUpdate SH and PCE to support intermediate rates 91/99591/1
Balagangadhar Bathula [Sat, 22 Jan 2022 14:12:36 +0000 (09:12 -0500)]
Update SH and PCE to support intermediate rates

- Support OTUC3 (ODUC3) and OTUC2 (ODUC2)
- Use intermediate rate OTN-link type
- Complete end-to-end service create for intermediate rates

JIRA: TRNSPRTPCE-526
Change-Id: Ied0e52ef894ff704bc94d77875a07d8be02de89b
Signed-off-by: Balagangadhar Bathula <bb4341@att.com>
2 years agoFix func. tests service-path calls 90/99590/1
guillaume.lambert [Sat, 29 Jan 2022 13:51:23 +0000 (14:51 +0100)]
Fix func. tests service-path calls

JIRA: TRNSPRTPCE-567
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I6a0b6de53ebab8f08b2103af7d8e618ebcadaf1c

2 years agoMigrate OTN renderer func. tests to RFC8040 89/99589/1
guillaume.lambert [Fri, 28 Jan 2022 22:12:16 +0000 (23:12 +0100)]
Migrate OTN renderer func. tests to RFC8040

JIRA: TRNSPRTPCE-567
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I4bab4a659464ed466c574961cff3a7aa86a8fa97

2 years agoFix func. tests utils base URL generation issue 88/99588/1
guillaume.lambert [Sat, 29 Jan 2022 11:38:08 +0000 (12:38 +0100)]
Fix func. tests utils base URL generation issue

RESTCONF base URL is generated by concatenating a string to a
configurable port number.
This port number is loosely typed with an integer.
If this is working well on most systems, it has been reported this
concatenation raises an error on some installation.

Casting explicitly the port number to a string in the concatenation
should solve the issue.

Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: Iff503422cf3a881b178618a439d810c918b52953

2 years agoFix func. tests RFC8040 yang mount utils DS calls 87/99587/1
guillaume.lambert [Fri, 28 Jan 2022 15:26:33 +0000 (16:26 +0100)]
Fix func. tests RFC8040 yang mount utils DS calls

JIRA: TRNSPRTPCE-567 TRNSPRTPCE-591
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I4e1c0dae6df3adfa08cd7b5639bdc2a906eb0ad3

2 years agoUpgrade honeynode sim version 86/99586/1
Gilles Thouenon [Fri, 28 Jan 2022 09:52:40 +0000 (10:52 +0100)]
Upgrade honeynode sim version

Upgrade honeynode version, for device 1.2.1, 2.2.1 and 7.1.0 to fix an
issue with equipment state update in operational datastore.

JIRA: TRNSPRTPCE-591
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Change-Id: I755d799aee683b480dddc117875a87b34e0e7eac

2 years agoRefactor func. tests RFC8040 yang mount utils 85/99585/1
guillaume.lambert [Thu, 27 Jan 2022 20:24:27 +0000 (21:24 +0100)]
Refactor func. tests RFC8040 yang mount utils

JIRA: TRNSPRTPCE-567
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: Ic22d3bf47141f23a015f56ac4c5dca8b5fa2bdc7

2 years agoUpdate GNPy functional test 84/99584/1
guillaume.lambert [Thu, 27 Jan 2022 14:28:57 +0000 (15:28 +0100)]
Update GNPy functional test

- use a python package retrieved from Orange opensource GitLab repo
  instead of a docker image to launch the GNPy REST server
- update test code accordingly and move it to the PCE test suite
- update tox.ini accordingly

JIRA: TRNSPRTPCE-571
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I605d2cc56c088f8213dda577d46fe4c43cbb3cfd

2 years agoUpdate transportpce-topology enums 83/99583/1
Balagangadhar Bathula [Sun, 23 Jan 2022 17:59:07 +0000 (12:59 -0500)]
Update transportpce-topology enums

- Add OTUC2 (ODUC2),  OTUC3 (ODUC3) enums
- These OTN-link type are needed in support of
  end-to-end intermediate rates

JIRA: TRNSPRTPCE-526
Change-Id: I2b65a5f53510b5372ec691e7a23130e83a0b2558
Signed-off-by: Balagangadhar Bathula <bb4341@att.com>
2 years agoDevice renderer support for 100G on 7.1 models 82/99582/1
Balagangadhar Bathula [Wed, 19 Jan 2022 20:52:24 +0000 (15:52 -0500)]
Device renderer support for 100G on 7.1 models

- Support If-OCH-OTU4-ODU4 service on 7.1 models
- Enable 7.1 device renderer to create OCH, OTU4, and
  ODU4, Ethernet-100G interfaces
- Create and delete the interfaces accordingly.

JIRA: TRNSPRTPCE-498
Change-Id: I5054f12972ef259db9ac2bc2cd29f25be3a7abf4

2 years agoAdd support for 200G with 31.6 Gbaud 81/99581/1
Balagangadhar Bathula [Wed, 19 Jan 2022 05:11:20 +0000 (00:11 -0500)]
Add support for 200G with 31.6 Gbaud

- For 31.6 Gbaud the 200G line rate uses
  DP-QAM16 with FOIC-2.8

JIRA: TRNSPRTPCE-587

Signed-off-by: Balagangadhar Bathula <bb4341@att.com>
Change-Id: I176a632d40cfb4d1339cbc14ee4c9c8c5a273a0b

2 years agoDevice renderer functional tests intermediate rate 80/99580/1
Balagangadhar Bathula [Tue, 18 Jan 2022 06:43:24 +0000 (01:43 -0500)]
Device renderer functional tests intermediate rate

- Functional tests to perform device and otn renderer
  service path.
- This includes, ODUC2 (ODUC3, ODUC4), OTUC2 (OTUC3, OTUC4),
  and Ethernet

JIRA: TRNSPRTPCE-528

Signed-off-by: Balagangadhar Bathula <bb4341@att.com>
Change-Id: Ieff7b700841d125f2b95cb10dbe60671e25c5430

2 years agoDevice renderer support for intermediate rates 79/99579/1
Balagangadhar Bathula [Fri, 28 Jan 2022 15:43:39 +0000 (10:43 -0500)]
Device renderer support for intermediate rates

- Includes 200G (2x100G), 300G (3x100G) line rates
- OTUC2 (ODUC2), OTUC3 (ODUC3) support
- Create and delete interfaces.
- Modify functional-tests wherever necessary.

JIRA: TRNSPRTPCE-525

Signed-off-by: Balagangadhar Bathula <bb4341@att.com>
Change-Id: I7e45d129b3016037626e710c3de95907a1b00cab

2 years agoChange in interface naming convention (B100G) 78/99578/1
Balagangadhar Bathula [Sat, 15 Jan 2022 15:11:48 +0000 (10:11 -0500)]
Change in interface naming convention (B100G)

- For intermediate rates we need to differentiate
  OTSI group interface name to extract rate.
- Change "OTSI-GROUP" to "OTSIGROUP"
- Appending "-x00G" to the OTSi-Group interface
  name, where x = 2, 3, or 4.
- OTUCn (ODUCn), where n = 2, 3, or 4

JIRA: TRNSPRTPCE-585

Signed-off-by: Balagangadhar Bathula <bb4341@att.com>
Change-Id: I84540954d357b68c9255af34b1bfc1ea13035752

2 years agoMigrate renderer func. tests to RFC8040 77/99577/1
guillaume.lambert [Wed, 26 Jan 2022 11:46:12 +0000 (12:46 +0100)]
Migrate renderer func. tests to RFC8040

JIRA: TRNSPRTPCE-567 TRNSPRTPCE-591
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I2224de8c5c23aefd941317a6d8390ed598d62719

2 years agoRefactor func. tests RFC8040 utils 92/99492/1
guillaume.lambert [Tue, 25 Jan 2022 18:29:01 +0000 (19:29 +0100)]
Refactor func. tests RFC8040 utils

JIRA: TRNSPRTPCE-567
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I909a7110bed2aa135c8ff59edde0fef8fe8c37ac

2 years agoMigrate flex grid func. tests to RFC8040 91/99491/1
guillaume.lambert [Thu, 20 Jan 2022 14:56:28 +0000 (15:56 +0100)]
Migrate flex grid func. tests to RFC8040

JIRA: TRNSPRTPCE-567
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: Iaec360b1e9e5946f909b00b413952d7d8b16fde1

2 years agoImprove some func. tests variables naming 90/99490/1
guillaume.lambert [Fri, 21 Jan 2022 07:55:49 +0000 (08:55 +0100)]
Improve some func. tests variables naming

JIRA: TRNSPRTPCE-567
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I26dad4b37aee51934d7c90379eccf44105828098

2 years agoMigrate OTN topology func. tests to RFC8040 89/99489/1
guillaume.lambert [Wed, 19 Jan 2022 15:41:18 +0000 (16:41 +0100)]
Migrate OTN topology func. tests to RFC8040

JIRA: TRNSPRTPCE-567
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: Icb22e78df1f6728dfead4f23277517e7a41eb596

2 years agoGeneralize supporting interface (B100G) in port-mapping 88/99488/1
Balagangadhar Bathula [Fri, 14 Jan 2022 16:45:54 +0000 (11:45 -0500)]
Generalize supporting interface (B100G) in port-mapping

- Change supporting-oduc4 and supporting-otuc4 leafs to
  supporting-oducn and supporting-otucn.
- Change the port-mapping revision for this change.

JIRA: TRNSPRTPCE-525

Signed-off-by: Balagangadhar Bathula <bb4341@att.com>
Change-Id: I45ae8e7cc9189af53211e7f2100514b2b0953b98

2 years agoAdd missing ODUFlex interface 72/99272/4
Balagangadhar Bathula [Wed, 5 Jan 2022 22:59:07 +0000 (17:59 -0500)]
Add missing ODUFlex interface

- 400G device renderer is missing ODUFlex interface
  creation.
- Add functional test to verify creation of ODUFlex
  interface.

JIRA: TRNSPRTPCE-582

Change-Id: Ia428e72a3320a83bfd887c9d9973a33e90699ef3
Signed-off-by: Balagangadhar Bathula <bb4341@att.com>
2 years agoUse lighty-core build rather than package dep 86/99386/1 OFC22
guillaume.lambert [Mon, 10 Jan 2022 10:32:47 +0000 (11:32 +0100)]
Use lighty-core build rather than package dep

Ligthy-core package available on maven central still consumes netconf
version 2.0.9 with a bug making part of logs totally unreadable
(hexadecimal log messages).

Current repo now consumes version 2.0.11 that fixes this bug.

https://github.com/PANTHEONtech/lighty/issues/888

JIRA: TRNSPRTPCE-579 NETCONF-835
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I6dc33698b084232c67a7f9f6e1f7bebd7e3f9545

2 years agoRemoving the maint-testsignal container 71/99271/3
Balagangadhar Bathula [Wed, 5 Jan 2022 22:52:34 +0000 (17:52 -0500)]
Removing the maint-testsignal container

- Maint-testsignal container is needed only when
  admin-state is in maintenance.
- InService admin-state does not need maint-testsignal.

JIRA: TRNSPRTPCE-456

Signed-off-by: Balagangadhar Bathula <bb4341@att.com>
Change-Id: Id28dc697a0db30d7f559a68b8e6bb6fa9cdda39c

2 years agoUpdate maven download URL & fix gate 39/99039/1
guillaume.lambert [Mon, 10 Jan 2022 11:12:37 +0000 (12:12 +0100)]
Update maven download URL & fix gate

Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I4a03af89d78afa0d3655841acb7ee66800bf54c6
(cherry picked from commit 7297787cbf3ace66224e0cb3a097d8388d2e23c4)

2 years agoUse environment variables for OLM timers 21/99121/1
Gilles Thouenon [Tue, 14 Dec 2021 16:14:43 +0000 (17:14 +0100)]
Use environment variables for OLM timers

- Allow injection of environment variables in OLM blueprint to modify
the default value of OLM timers
- Adapt tox configuration for functional tests
- update user-guide

JIRA: TRNSPRTPCE-580
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Co-authored-by: Christophe Betoule <christophe.betoule@orange.com>
Change-Id: I3e649f17159ae852aa00d14f4e089c1f599f2c11

2 years agoAdd and fix Phosphorus lighty.io support 20/99120/1
guillaume.lambert [Mon, 13 Dec 2021 10:33:45 +0000 (11:33 +0100)]
Add and fix Phosphorus lighty.io support

- fix tapiLink uninitialized variable
- fix initPortMapping calls
- modify PortMapping and PortMappingImpl to be able to get
  PortMappingVersion221 instance
- fix initOpenRoadmInterfaces calls by using it
- add to pom the org.eclipse.jetty dependency removed from lighty-core
- limit its scope to tests only

JIRA: TRNSPRTPCE-579
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I31e8a0a58d7f7e342a7119f364975eb0096f5e55

2 years agoEnforce pylint in CI via tox 63/99063/1
guillaume.lambert [Wed, 24 Nov 2021 14:52:09 +0000 (15:52 +0100)]
Enforce pylint in CI via tox

- ignore duplicate-code and fixme detection in pylint profile
  fixme comments are fine and dup warnings contain many false positives
- enforce pylint with a minimal output and a score of 10 in CI
- create a "pylint_full" tox profile to display complete output
  with duplicate-code and fixme detections
- specify version requirement >=2.6.0 for a correct support of options,
  especially the option --fail-under= to specify minimum score allowed

JIRA: TRNSPRTPCE-320
LF-JIRA: IT-23316
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I41f218d7f33f1f620a3f3c4d442655bf1cfb4ded

2 years agoFix few NPE in TAPI implementation 62/99062/1
Gilles Thouenon [Thu, 16 Dec 2021 14:46:10 +0000 (15:46 +0100)]
Fix few NPE in TAPI implementation

JIRA: TRNSPRTPCE-581
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Co-authored-by: Christophe Betoule <christophe.betoule@orange.com>
Change-Id: Iae4a6b32bbe104ce62f04271fd562aacd3b12a41

2 years agoPower control support for 87.5GHz spectrum width 29/99029/1
Vachhani, Shweta (sv111y) [Fri, 14 May 2021 21:29:29 +0000 (17:29 -0400)]
Power control support for 87.5GHz spectrum width

Update OLM PowerMgmtImpl to support power calculation based on Media
Channel with 87.5GHz slot width.
- Modify optical-renderer-input to have nmc and mc width
  Renderer will use nmc-width while olm will use mc-width.
- Adapt renderer UT

JIRA: TRNSPRTPCE-461
Signed-off-by: Vachhani, Shweta (sv111y) <sv111y@att.com>
Change-Id: I290e1437ec38dd11a01f1a07b1b91613792c9143
(cherry picked from commit 95e82b90f4afbbfc75b126236d0d011d0d015fb4)

2 years agoFix Log message in OLM provider 13/98913/1
Gilles Thouenon [Wed, 15 Dec 2021 09:30:08 +0000 (10:30 +0100)]
Fix Log message in OLM provider

JIRA: TRNSPRTPCE-570
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Co-authored-by: Christophe Betoule <christophe.betoule@orange.com>
Change-Id: Ibc274f67a3c63a16687a57860ee1d99b433cf8fb
(cherry picked from commit a8cbc775799b33a13f563f073c287fddc9f51000)

2 years agoReactive renderer UT 88/98988/1
Gilles Thouenon [Wed, 20 Oct 2021 14:33:12 +0000 (16:33 +0200)]
Reactive renderer UT

JIRA: TRNSPRTPCE-554
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Change-Id: I57c811b61e09522037779f26f3c3e9559e1cb188

2 years agoOTN link deletion from full-multilayer TAPI topo 87/98987/1
errea [Fri, 26 Nov 2021 14:20:54 +0000 (15:20 +0100)]
OTN link deletion from full-multilayer TAPI topo

OTN links should be translated into TAPI connections.
For T0 Full Multilayer this already happens when mapping OR services.
For T0 Multi layer, OTN links still remain abstracted when we query
getTopologyDetails, for compatibility issue.

JIRA: TRNSPRTPCE-576
Signed-off-by: errea <errea@eurecom.fr>
Change-Id: I913a6ebc9d0a3f66e269913e61c5b6ea6ecbdfaf

2 years agoTAPI connectivity upgrade 86/98986/1
errea [Tue, 30 Nov 2021 13:40:55 +0000 (14:40 +0100)]
TAPI connectivity upgrade

- Implementation of WDM 100GBE service in T-API
  as an ETH service
- Implementation of OTN services for Mxpdr &
  Swtchpdr use cases
- Differentiation between XPDR type with new
  value in TAPI node Name attribute
- Upgrade connection list of connectivity service
  to include only TOP connections. Cross connections
  should be referenced inside the Top Connection in the
  lower connection list attribute
- Create switching pool in TAPI node for Tpdr node which
  reflects the NETWORK to CLIENT port connection map
- Adapt tests

JIRA: TRNSPRTPCE-577
Signed-off-by: errea <errea@eurecom.fr>
Change-Id: I39ef19626285f3131dc997a056de64c799ff26c3

2 years agoOpenroadm Xpdr link TAPI listener 85/98985/1
errea [Sat, 27 Nov 2021 00:06:47 +0000 (01:06 +0100)]
Openroadm Xpdr link TAPI listener

Automatic creation of TAPI XPDR link when a
new OpenROADM XPDR-RDM link is created using
the NetworkUtils RPCs

JIRA: TRNSPRTPCE-549
Signed-off-by: errea <errea@eurecom.fr>
Change-Id: I603d9ea435acfa9ddc17ef05ceec4f8a7444a45e

2 years agoUnification iNodeEdgePoint_N & NodeEdgePoint_N 84/98984/1
errea [Sat, 27 Nov 2021 18:10:40 +0000 (19:10 +0100)]
Unification iNodeEdgePoint_N & NodeEdgePoint_N

- T0 Full Multilayer topo and T0 Multilayer topo have the same
  name and uuid for the NEP in the ODU layer that belongs to
  the DSR/ODU TAPI node
- Name of NEPs in T0 MultiLayer updated to be built the same
  way as in T0 Full MultiLayer

JIRA: TRNSPRTPCE-551
Signed-off-by: errea <errea@eurecom.fr>
Change-Id: I48d218bcc210650a794ecb4cb3a6dcf33b5cc04f

2 years agoNew functional tests with intermediate otn switch 83/98983/1
Gilles Thouenon [Wed, 6 Oct 2021 10:05:07 +0000 (12:05 +0200)]
New functional tests with intermediate otn switch

Create a new functional test suite testing the end-to-end 10GE service
management in a configuration with an intermediate otn-switch. It tests
the creation of an end-to-end structured ODU4 over multiple OTU4, and
the creation of an end-to-end 10GE service over multiple structured
ODU4.

JIRA: TRNSPRTPCE-542
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Change-Id: If33dd450b466b823733521151f364df8a45f1eba

2 years agoManage low order otn services over multiple ODU4 82/98982/1
Gilles Thouenon [Wed, 6 Oct 2021 09:59:47 +0000 (11:59 +0200)]
Manage low order otn services over multiple ODU4

- adapt renderer to transmit in the notification the list of supported
ODU4 links
- update updateOtnLinks method in network module to also transmit in
this case the list of supporting ODU4 links

JIRA: TRNSPRTPCE-541
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Change-Id: Ib5bf4aeac21a87ba9b7a7fe8f1c41833e57b475b

2 years agoRationalize OpenRoadmInterface221 81/98981/1
Gilles Thouenon [Mon, 4 Oct 2021 15:03:08 +0000 (17:03 +0200)]
Rationalize OpenRoadmInterface221

- Introduce payloadType for ODU interface creation
- Remove useless older methods
- Adapt fonctional tests
- Fix bug in renderer

JIRA: TRNSPRTPCE-544
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Change-Id: Iaed962eb90e356e7baa123941bdf3ff0a7444ceb

2 years agoManage ODU4 services over multiple OTU4 80/98980/1
Gilles Thouenon [Fri, 1 Oct 2021 13:47:11 +0000 (15:47 +0200)]
Manage ODU4 services over multiple OTU4

- in pce module, remove the exclusive "AZ" mode to allow also the
"intermediate" mode
- in network module, modify signature of createOtnLinks, updateOtnLinks
and deleteOtnLinks mehtods to take into acount a list of supporting
links
- in renderer module, rationalize the OpenRoadmInterface creation,
taking into account data coming from portmapping
(supporting-interfaces), setting the sapi/dapi info comming from the
specific input container, updating the mapping once the interface has
been created...
- adapt UT and functional tests consequently (notably, disable test 82
in B100_end2end test suite - resolved in the change 97834)

JIRA: TRNSPRTPCE-541
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Change-Id: I3e6b89ee22aa5c653e6740d6efffb00038910f26

2 years agoIntroduce s/d ApiInfo in otn-service-path 79/98979/1
Gilles Thouenon [Fri, 1 Oct 2021 13:25:50 +0000 (15:25 +0200)]
Introduce s/d ApiInfo in otn-service-path

Set the AEndApiInfo and ZEndApiInfo containers directly from the
path-description in the otn-service-path input in order to have all
necessary information to correctly set the sapi en dapi data during the
odu-interface creation.

JIRA: TRNSPRTPCE-540
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Change-Id: I90bbf7e2c3374626560b25f03b841cf641a71756

2 years agoModify OpenRoadmInterfaces implementations 78/98978/1
Gilles Thouenon [Fri, 1 Oct 2021 13:08:30 +0000 (15:08 +0200)]
Modify OpenRoadmInterfaces implementations

When we create a new interface on a device, we need to take into account
this new interface just after the mapping update. Unfortunatelly, it
may happen sometimes that the new interface is not present yet in the
operational device datastore at the moment the mapping update occurs.
To avoid such roll-back root cause error, this change modifies the
postInterface method to introduce a check of the new interface presence
before returning. As for the deleteInterface method, it also invokes
the mapping update to remove supporting-interfaces.

JIRA: TRNSPRTPCE-539
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Change-Id: I61dfc1021a32626341f69922749bf1f9ba9a1062

2 years agoFix: Deletion of 121 and 71 interfaces 77/98977/1
Gilles Thouenon [Thu, 14 Oct 2021 11:00:17 +0000 (13:00 +0200)]
Fix: Deletion of 121 and 71  interfaces

- Fix a race condition as it had been done for 221 interfaces
- Fix bug when configuring the interface at 'out of service'

JIRA: TRNSPRTPCE-544
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Change-Id: I55ba5f2e669b81da06c459abe47e9f9206d31edc

2 years agoAdapt the updateMapping method 76/98976/1
Gilles Thouenon [Fri, 1 Oct 2021 12:22:04 +0000 (14:22 +0200)]
Adapt the updateMapping method

- Allow the setting/deletion of supporting-otu/odu interfaces in the
mapping after creation/deletion of these interfaces by the renderer.
- add a small delay in renderer 221 functional tests because they
sometimes fail.

JIRA: TRNSPRTPCE-538
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Change-Id: I61c8ef522fb86318eb552f3a5b397168a2be9349

2 years agoChange PortMapping implementations 75/98975/1
Gilles Thouenon [Fri, 1 Oct 2021 12:17:35 +0000 (14:17 +0200)]
Change PortMapping implementations

Generalizing the update of mapping during openroadm-interface creation/
deletion imposes to remove OpenRoadmInterfaces injections from
PortMapping implementations. Getting interfaces from device may be
directly managed from the portmapping implementation.

JIRA: TRNSPRTPCE-538
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Change-Id: Icc6c560790f030f8ef034b0ed3123145aeaf0c9b

2 years agoAdd new method in PortMapping interface 74/98974/1
Gilles Thouenon [Fri, 1 Oct 2021 12:10:55 +0000 (14:10 +0200)]
Add new method in PortMapping interface

- change the name of deleteMappingData method to deletePortMappingNode
to be more explicit about the deletion of the all port-mapping node when
disconnecting a node
- create a new deleteMapping method that remove a given mapping from the
mapping list for a given node. Such method is necessary when we want to
update a mapping removing one leaf (typically, supporting odu and otu
interface of xponder when we delete ODU4 or OTU4 services).

JIRA: TRNSPRTPCE-538
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Change-Id: I477b7a6ddbf3a97b65e12ec317271d45a3a83da3

2 years agoUpdate portmapping model 73/98973/1
Gilles Thouenon [Mon, 27 Sep 2021 13:46:34 +0000 (15:46 +0200)]
Update portmapping model

- Add the supporting-otu interface in the mapping, as it is the case for
other kind of interfaces, to ease and rationalize the setting of the
interface during its creation.
- update imports

JIRA: TRNSPRTPCE-533
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Change-Id: I1c272f5cb1677da5757f3ff4dc64632abefad06a

2 years agoFix bug in setting rate of tp in network module 72/98972/1
Gilles Thouenon [Fri, 8 Oct 2021 08:47:51 +0000 (10:47 +0200)]
Fix bug in setting rate of tp in network module

Depending on the first SupportedInterfaceCapability, it may happen that
the if-10GE if-cap-type is chosen, for which no rate is allocated. Look
at other if-cap-type to determine the rate.

JIRA: TRNSPRTPCE-541
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Change-Id: Ie174c9c6b0329d9ffd65971ab140289a13fe3856

2 years agoAdaptation of XPDR mapping from OR to TAPI 71/98971/1
errea [Thu, 25 Nov 2021 21:28:12 +0000 (22:28 +0100)]
Adaptation of XPDR mapping from OR to TAPI

- eODU nep creation depends on CLIENT ports
- SIP of eODU nep is removed and given to iODU nep
- ODU connectivity service between iODU SIPs
- 2 Top connections in the ODU layer:
  one for HO_ODU (iODU) and one for LO_ODU (eODU)
- Adapt tests to changes
- Prepare for iODU and NodeEdgePoint-N unification

JIRA: TRNSPRTPCE-575
Signed-off-by: errea <errea@eurecom.fr>
Change-Id: Ia3d509aad651d4fc9bbf03580d1090ce09166bff

2 years agoTapiLink creation refactoring 70/98970/1
errea [Thu, 25 Nov 2021 13:42:49 +0000 (14:42 +0100)]
TapiLink creation refactoring

- Unification of tapiCreateLink in TapiLink util
- Creation of TapiStringConstants to avoid duplication
  of String variables
- Adaptation of tests, blueprint and lighty
- T-API link name unification: ORNodeId+LayerProtoQual+ORTpId

JIRA: TRNSPRTPCE-561
Signed-off-by: errea <errea@eurecom.fr>
Change-Id: I976c1b10380ed355b60878b41a6c7a0bc2558a68

2 years agoFix tapi get-topology-details functional test 69/98969/1
errea [Fri, 19 Nov 2021 16:12:29 +0000 (17:12 +0100)]
Fix tapi get-topology-details functional test

- Replace databroker with networkTransactionService in
  R2RTapiLinkDiscovery
- Add specific LOG message to enable tapi tests to
  know when the device has been successfully connected
  and translated in the TAPI topology
- Add connect_xpdr_to_rdm_tapi_request and mount_tapi_device
  tests in test_utils which will be called from
  test12_tapi_full_multi_layer

JIRA: TRNSPRTPCE-553
Signed-off-by: errea <errea@eurecom.fr>
Change-Id: Iff6811d19861521733de1667c49ba4793fa35b2c

2 years agoMigrate topology func. tests to RFC8040 Step 3 68/98968/1
guillaume.lambert [Sun, 5 Dec 2021 19:09:47 +0000 (20:09 +0100)]
Migrate topology func. tests to RFC8040 Step 3

JIRA: TRNSPRTPCE-567
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I9991ee7377581dda4dc72ee5c65db203f65ffce6

2 years agoMigrate topology func. tests to RFC8040 Step 2 67/98967/1
guillaume.lambert [Sat, 4 Dec 2021 13:34:13 +0000 (14:34 +0100)]
Migrate topology func. tests to RFC8040 Step 2

JIRA: TRNSPRTPCE-567
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I26c6f70db1a97743be1c84fd987bf79c2c7ec0b0

2 years agoReintroduce nb-bierman02 support in new func tests 66/98966/1
guillaume.lambert [Fri, 3 Dec 2021 19:57:49 +0000 (20:57 +0100)]
Reintroduce nb-bierman02 support in new func tests

Up to now, migrated tests no more supported legacy bierman02 draft
RESTCONF queries, and only RFC8040.
With a few adaptations, they can now be configured to reuse this old
RESTCONF version via an environment variable.

JIRA: TRNSPRTPCE-567
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I8be28014be2c572c7555865d4af76988e30bf9ac

2 years agoMigrate topology func. tests to RFC8040 Step 1 65/98965/1
guillaume.lambert [Wed, 1 Dec 2021 14:53:50 +0000 (15:53 +0100)]
Migrate topology func. tests to RFC8040 Step 1

JIRA: TRNSPRTPCE-567
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I7f500261cb0a189a368ac4b985b9514b296b81f4

2 years agoSet xponder-type in the mapping for Transponders 64/98964/1
Gilles Thouenon [Tue, 30 Nov 2021 17:45:29 +0000 (18:45 +0100)]
Set xponder-type in the mapping for Transponders

- Set the xponder-type in the mappings corresponding to traffic ports of
transponders, as it is done for otn-xponders
- Adapt functional tests

JIRA: TRNSPRTPCE-578
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Change-Id: Iea7e83225acc0d754dec003d4ea8ac19d7461972

2 years agoFix remaining pylint warnings apart fixme & dup 69/98869/1
guillaume.lambert [Mon, 29 Nov 2021 13:38:38 +0000 (14:38 +0100)]
Fix remaining pylint warnings apart fixme & dup

JIRA: TRNSPRTPCE-320
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I256c36f1059783a26fa0e30292de3c2c1781376b

2 years agoFix more and more pylint warnings 68/98868/1
guillaume.lambert [Fri, 26 Nov 2021 11:49:20 +0000 (12:49 +0100)]
Fix more and more pylint warnings

JIRA: TRNSPRTPCE-320
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I018b69e8b73abba2faac4a1e5ae332010b13e9b3

2 years agoFix more pylint warnings 67/98867/1
guillaume.lambert [Fri, 26 Nov 2021 10:45:04 +0000 (11:45 +0100)]
Fix more pylint warnings

JIRA: TRNSPRTPCE-320
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: Ia99c607c48ad4a6bb305bf800e8f54d1f741e4df

2 years agoFix some pylint warnings 66/98866/1
guillaume.lambert [Wed, 24 Nov 2021 08:40:30 +0000 (09:40 +0100)]
Fix some pylint warnings

JIRA: TRNSPRTPCE-320
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: Idc241d222c0b52ce90318f1b63f6f9e0fc3b114b

2 years agoUpgrade project version to P-SR2 54/98754/1
Christophe Betoule [Tue, 30 Nov 2021 10:41:03 +0000 (11:41 +0100)]
Upgrade project version to P-SR2

Signed-off-by: Christophe Betoule <christophe.betoule@orange.com>
Change-Id: Ied684eefa01ceee76e76f6107f6c1789783c4ccf

2 years agoBump netconf dependency to 2.0.11 41/98741/1
Gilles Thouenon [Mon, 29 Nov 2021 07:19:53 +0000 (08:19 +0100)]
Bump netconf dependency to 2.0.11

Avoid having sshd hexadecimal traces in our logs.

JIRA: TRNSPRTPCE-565
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Change-Id: I50eb8d485eef4d17a41aaee1b77e2c9ee732d793

2 years agoBump netconf dependency to 2.0.10 40/98740/1
Christophe Betoule [Tue, 23 Nov 2021 13:41:43 +0000 (14:41 +0100)]
Bump netconf dependency to 2.0.10

JIRA: TRNSPRTPCE-565
Signed-off-by: Christophe Betoule <christophe.betoule@orange.com>
Change-Id: Ie552d9c91f01bb10cd2e57a7f463a24f6935aa33

2 years agoMigrate portmapping functional tests to RFC8040 39/98739/1
guillaume.lambert [Thu, 28 Oct 2021 07:48:24 +0000 (09:48 +0200)]
Migrate portmapping functional tests to RFC8040

JIRA: TRNSPRTPCE-567
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: Ie6150a68a4a588c06979b27a1753ee5cb9bc283c

2 years agoRemove u prefix obsoleted by python 3 38/98738/1
guillaume.lambert [Fri, 29 Oct 2021 10:31:17 +0000 (12:31 +0200)]
Remove u prefix obsoleted by python 3

Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: Ib0913157fa97f418dd846124d4fdc3d97250ca0a

2 years agoEnforce autopep8 via pre-commit 37/98737/1
guillaume.lambert [Fri, 29 Oct 2021 09:51:54 +0000 (11:51 +0200)]
Enforce autopep8 via pre-commit

Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: Ia0021347c46488ecc2a922f4e370ca5ad4edafd9

2 years agoRun pre-commit autoupdate 36/98736/1
guillaume.lambert [Fri, 29 Oct 2021 09:34:03 +0000 (11:34 +0200)]
Run pre-commit autoupdate

Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I9dda524f19b15dbb6195e586ed93f2e04202a416