Skip to content
This repository was archived by the owner on Apr 1, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions arion_master/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@
<dependency>
<groupId>com.github.futurewei-cloud</groupId>
<artifactId>alcor</artifactId>
<version>bfdbd34f4dee79e068ed353bce4d31045908b2d8</version>
<exclusions>
<exclusion> <!-- declare the exclusion here -->
<groupId>*</groupId>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
package com.futurewei.arionmaster.grpc;

import com.futurewei.alcor.schema.Goalstateprovisioner;
import com.futurewei.arion.schema.ArionMasterServiceGrpc;
import com.futurewei.arion.schema.Arionmaster;
import com.futurewei.arionmaster.service.GoalStatePersistenceService;
import com.futurewei.common.executor.AsyncExecutor;
import io.grpc.stub.StreamObserver;
import net.devh.boot.grpc.server.service.GrpcService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.concurrent.CompletableFuture;
import java.util.concurrent.CompletionException;

@GrpcService
public class ArionServerService extends ArionMasterServiceGrpc.ArionMasterServiceImplBase {
private static final Logger logger = LoggerFactory.getLogger(ArionServerService.class);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ public Arionmaster.NeighborRule buildNeighborRule(NeighborRule neighborRule, Com
neighborRuleBuilder.setHostip(neighborRule.getHostIp());
neighborRuleBuilder.setHostmac(neighborRule.getHostMac());
neighborRuleBuilder.setArionwingGroup(neighborRule.getArionGroup());
neighborRuleBuilder.setTunnelId(neighborRule.getVni());
neighborRuleBuilder.setVersion(neighborRule.getVersion());
return neighborRuleBuilder.build();
}
Expand Down
12 changes: 0 additions & 12 deletions schema/proto3/arionmaster.proto
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,8 @@ package arion.schema;
option java_package = "com.futurewei.arion.schema";

import "common.proto";
import "neighbor.proto";

service ArionMasterService {

rpc PushGoalstates (NeighborRulesRequest) returns (GoalStateOperationReply) {
}

rpc RequestGoalstates (HostRequest) returns (NeighborRulesResponse) {
}

Expand Down Expand Up @@ -62,13 +57,6 @@ message NeighborRule {
uint64 version = 8;
}

message NeighborRulesRequest {
uint32 format_version = 1;
string request_id = 2;

repeated NeighborState neigborstates = 3;
}

message NeighborRulesResponse {
uint32 format_version = 1;

Expand Down
63 changes: 0 additions & 63 deletions schema/proto3/neighbor.proto

This file was deleted.