-
Notifications
You must be signed in to change notification settings - Fork 34
[Port Mgr] Handle internal DPM result list #549
[Port Mgr] Handle internal DPM result list #549
Conversation
songxiaoyan
commented
Feb 27, 2021
- Currently, only the gRPC interface invoking result is processed.
- If the puslar interface fails to be invoked,puslar will be repeatedly invoked until it is successfully invoked.
- On present, only the PM module processes the result.
# Conflicts: # services/port_manager/src/main/java/com/futurewei/alcor/portmanager/processor/FixedIpsProcessor.java # services/port_manager/src/main/java/com/futurewei/alcor/portmanager/request/RequestManager.java # services/private_ip_manager/src/main/java/com/futurewei/alcor/privateipmanager/controller/IpAddrController.java # services/private_ip_manager/src/main/java/com/futurewei/alcor/privateipmanager/repo/IpAddrRangeRepo.java # services/private_ip_manager/src/main/java/com/futurewei/alcor/privateipmanager/service/implement/IpAddrServiceImpl.java
# Conflicts: # services/port_manager/src/main/java/com/futurewei/alcor/portmanager/request/UpdatePortIpAddressRequest.java
Codecov Report
@@ Coverage Diff @@
## master #549 +/- ##
============================================
+ Coverage 34.34% 34.44% +0.09%
- Complexity 1229 1239 +10
============================================
Files 501 502 +1
Lines 12365 12407 +42
Branches 1558 1567 +9
============================================
+ Hits 4247 4273 +26
- Misses 7541 7556 +15
- Partials 577 578 +1
Continue to review full report at Codecov.
|
xieus
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@songxiaoyan looks good with one minor comment.
services/port_manager/src/main/java/com/futurewei/alcor/portmanager/entity/PortStatusEnum.java
Outdated
Show resolved
Hide resolved
xieus
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
| @PostMapping({"/network-configuration", "v4/network-configuration"}) | ||
| @DurationStatistics | ||
| public InternalDPMResultList updateNetworkConfiguration(@RequestBody NetworkConfiguration networkConfiguration) throws Exception { | ||
| checkNetworkConfiguration(networkConfiguration); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@songxiaoyan and @xieus This change will break dpm. There are two PostMapping with the same url after you change line48 from Put to Post.