Skip to content

Commit

Permalink
VNF: change VNF.java from interface to class
Browse files Browse the repository at this point in the history
  • Loading branch information
weizhouapache committed Oct 4, 2023
1 parent 2be32ac commit 4f54cbd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions api/src/main/java/com/cloud/network/VNF.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@

import org.apache.commons.lang3.StringUtils;

public interface VNF {
public class VNF {

enum AccessMethod {
public enum AccessMethod {
SSH_WITH_PASSWORD("ssh-password"),
SSH_WITH_KEY("ssh-key"),
HTTP("http"),
Expand Down Expand Up @@ -52,7 +52,7 @@ public static AccessMethod fromValue(String method) {
}
}

enum AccessDetail {
public enum AccessDetail {
ACCESS_METHODS,
USERNAME,
PASSWORD,
Expand All @@ -67,14 +67,14 @@ enum AccessDetail {
HTTPS_PORT
}

enum VnfDetail {
public enum VnfDetail {
ICON,
VERSION,
VENDOR,
MAINTAINER
}

class VnfNic {
public static class VnfNic {
long deviceId;
String name;
boolean required;
Expand Down

0 comments on commit 4f54cbd

Please sign in to comment.