From 82123d23522dec0ae1fc647234cb66a30576772f Mon Sep 17 00:00:00 2001 From: pfamelis Date: Wed, 13 Dec 2023 14:56:53 +0200 Subject: [PATCH 1/2] fix: included context_policy grpc client --- src/policy/src/main/resources/application.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/policy/src/main/resources/application.yml b/src/policy/src/main/resources/application.yml index 38a222d79..27f2b51d0 100644 --- a/src/policy/src/main/resources/application.yml +++ b/src/policy/src/main/resources/application.yml @@ -23,6 +23,9 @@ quarkus: context: host: ${quarkus.kubernetes.env.vars.context-service-host} port: 1010 + context_policy: + host: ${quarkus.kubernetes.env.vars.context-service-host} + port: 1010 monitoring: host: ${quarkus.kubernetes.env.vars.monitoring-service-host} port: 7070 -- GitLab From 6aafabc1801424a973c3ac55efab5b2e6060292d Mon Sep 17 00:00:00 2001 From: pfamelis Date: Wed, 13 Dec 2023 14:57:24 +0200 Subject: [PATCH 2/2] chore: include the newly generated sources --- .../grpc/context/ContextOuterClass.java | 1411 +++++++++++++---- .../grpc/kpi_sample_types/KpiSampleTypes.java | 24 +- .../grpc/monitoring/Monitoring.java | 378 ++++- src/policy/target/kubernetes/kubernetes.yml | 29 +- 4 files changed, 1407 insertions(+), 435 deletions(-) diff --git a/src/policy/target/generated-sources/grpc/context/ContextOuterClass.java b/src/policy/target/generated-sources/grpc/context/ContextOuterClass.java index 85bc0d278..a25798b88 100644 --- a/src/policy/target/generated-sources/grpc/context/ContextOuterClass.java +++ b/src/policy/target/generated-sources/grpc/context/ContextOuterClass.java @@ -24504,6 +24504,568 @@ public final class ContextOuterClass { } + public interface LinkAttributesOrBuilder extends + // @@protoc_insertion_point(interface_extends:context.LinkAttributes) + com.google.protobuf.MessageOrBuilder { + + /** + * float total_capacity_gbps = 1; + * @return The totalCapacityGbps. + */ + float getTotalCapacityGbps(); + + /** + * float used_capacity_gbps = 2; + * @return The usedCapacityGbps. + */ + float getUsedCapacityGbps(); + } + /** + * Protobuf type {@code context.LinkAttributes} + */ + public static final class LinkAttributes extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:context.LinkAttributes) + LinkAttributesOrBuilder { + private static final long serialVersionUID = 0L; + // Use LinkAttributes.newBuilder() to construct. + private LinkAttributes(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private LinkAttributes() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new LinkAttributes(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private LinkAttributes( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 13: { + + totalCapacityGbps_ = input.readFloat(); + break; + } + case 21: { + + usedCapacityGbps_ = input.readFloat(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return context.ContextOuterClass.internal_static_context_LinkAttributes_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return context.ContextOuterClass.internal_static_context_LinkAttributes_fieldAccessorTable + .ensureFieldAccessorsInitialized( + context.ContextOuterClass.LinkAttributes.class, context.ContextOuterClass.LinkAttributes.Builder.class); + } + + public static final int TOTAL_CAPACITY_GBPS_FIELD_NUMBER = 1; + private float totalCapacityGbps_; + /** + * float total_capacity_gbps = 1; + * @return The totalCapacityGbps. + */ + @java.lang.Override + public float getTotalCapacityGbps() { + return totalCapacityGbps_; + } + + public static final int USED_CAPACITY_GBPS_FIELD_NUMBER = 2; + private float usedCapacityGbps_; + /** + * float used_capacity_gbps = 2; + * @return The usedCapacityGbps. + */ + @java.lang.Override + public float getUsedCapacityGbps() { + return usedCapacityGbps_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (totalCapacityGbps_ != 0F) { + output.writeFloat(1, totalCapacityGbps_); + } + if (usedCapacityGbps_ != 0F) { + output.writeFloat(2, usedCapacityGbps_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (totalCapacityGbps_ != 0F) { + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(1, totalCapacityGbps_); + } + if (usedCapacityGbps_ != 0F) { + size += com.google.protobuf.CodedOutputStream + .computeFloatSize(2, usedCapacityGbps_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof context.ContextOuterClass.LinkAttributes)) { + return super.equals(obj); + } + context.ContextOuterClass.LinkAttributes other = (context.ContextOuterClass.LinkAttributes) obj; + + if (java.lang.Float.floatToIntBits(getTotalCapacityGbps()) + != java.lang.Float.floatToIntBits( + other.getTotalCapacityGbps())) return false; + if (java.lang.Float.floatToIntBits(getUsedCapacityGbps()) + != java.lang.Float.floatToIntBits( + other.getUsedCapacityGbps())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + TOTAL_CAPACITY_GBPS_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getTotalCapacityGbps()); + hash = (37 * hash) + USED_CAPACITY_GBPS_FIELD_NUMBER; + hash = (53 * hash) + java.lang.Float.floatToIntBits( + getUsedCapacityGbps()); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static context.ContextOuterClass.LinkAttributes parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static context.ContextOuterClass.LinkAttributes parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static context.ContextOuterClass.LinkAttributes parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static context.ContextOuterClass.LinkAttributes parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static context.ContextOuterClass.LinkAttributes parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static context.ContextOuterClass.LinkAttributes parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static context.ContextOuterClass.LinkAttributes parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static context.ContextOuterClass.LinkAttributes parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + public static context.ContextOuterClass.LinkAttributes parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static context.ContextOuterClass.LinkAttributes parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static context.ContextOuterClass.LinkAttributes parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static context.ContextOuterClass.LinkAttributes parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(context.ContextOuterClass.LinkAttributes prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * Protobuf type {@code context.LinkAttributes} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:context.LinkAttributes) + context.ContextOuterClass.LinkAttributesOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return context.ContextOuterClass.internal_static_context_LinkAttributes_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return context.ContextOuterClass.internal_static_context_LinkAttributes_fieldAccessorTable + .ensureFieldAccessorsInitialized( + context.ContextOuterClass.LinkAttributes.class, context.ContextOuterClass.LinkAttributes.Builder.class); + } + + // Construct using context.ContextOuterClass.LinkAttributes.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + @java.lang.Override + public Builder clear() { + super.clear(); + totalCapacityGbps_ = 0F; + + usedCapacityGbps_ = 0F; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return context.ContextOuterClass.internal_static_context_LinkAttributes_descriptor; + } + + @java.lang.Override + public context.ContextOuterClass.LinkAttributes getDefaultInstanceForType() { + return context.ContextOuterClass.LinkAttributes.getDefaultInstance(); + } + + @java.lang.Override + public context.ContextOuterClass.LinkAttributes build() { + context.ContextOuterClass.LinkAttributes result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public context.ContextOuterClass.LinkAttributes buildPartial() { + context.ContextOuterClass.LinkAttributes result = new context.ContextOuterClass.LinkAttributes(this); + result.totalCapacityGbps_ = totalCapacityGbps_; + result.usedCapacityGbps_ = usedCapacityGbps_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof context.ContextOuterClass.LinkAttributes) { + return mergeFrom((context.ContextOuterClass.LinkAttributes)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(context.ContextOuterClass.LinkAttributes other) { + if (other == context.ContextOuterClass.LinkAttributes.getDefaultInstance()) return this; + if (other.getTotalCapacityGbps() != 0F) { + setTotalCapacityGbps(other.getTotalCapacityGbps()); + } + if (other.getUsedCapacityGbps() != 0F) { + setUsedCapacityGbps(other.getUsedCapacityGbps()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + context.ContextOuterClass.LinkAttributes parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (context.ContextOuterClass.LinkAttributes) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private float totalCapacityGbps_ ; + /** + * float total_capacity_gbps = 1; + * @return The totalCapacityGbps. + */ + @java.lang.Override + public float getTotalCapacityGbps() { + return totalCapacityGbps_; + } + /** + * float total_capacity_gbps = 1; + * @param value The totalCapacityGbps to set. + * @return This builder for chaining. + */ + public Builder setTotalCapacityGbps(float value) { + + totalCapacityGbps_ = value; + onChanged(); + return this; + } + /** + * float total_capacity_gbps = 1; + * @return This builder for chaining. + */ + public Builder clearTotalCapacityGbps() { + + totalCapacityGbps_ = 0F; + onChanged(); + return this; + } + + private float usedCapacityGbps_ ; + /** + * float used_capacity_gbps = 2; + * @return The usedCapacityGbps. + */ + @java.lang.Override + public float getUsedCapacityGbps() { + return usedCapacityGbps_; + } + /** + * float used_capacity_gbps = 2; + * @param value The usedCapacityGbps to set. + * @return This builder for chaining. + */ + public Builder setUsedCapacityGbps(float value) { + + usedCapacityGbps_ = value; + onChanged(); + return this; + } + /** + * float used_capacity_gbps = 2; + * @return This builder for chaining. + */ + public Builder clearUsedCapacityGbps() { + + usedCapacityGbps_ = 0F; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:context.LinkAttributes) + } + + // @@protoc_insertion_point(class_scope:context.LinkAttributes) + private static final context.ContextOuterClass.LinkAttributes DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new context.ContextOuterClass.LinkAttributes(); + } + + public static context.ContextOuterClass.LinkAttributes getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LinkAttributes parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new LinkAttributes(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public context.ContextOuterClass.LinkAttributes getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + public interface LinkOrBuilder extends // @@protoc_insertion_point(interface_extends:context.Link) com.google.protobuf.MessageOrBuilder { @@ -24558,6 +25120,21 @@ public final class ContextOuterClass { */ context.ContextOuterClass.EndPointIdOrBuilder getLinkEndpointIdsOrBuilder( int index); + + /** + * .context.LinkAttributes attributes = 4; + * @return Whether the attributes field is set. + */ + boolean hasAttributes(); + /** + * .context.LinkAttributes attributes = 4; + * @return The attributes. + */ + context.ContextOuterClass.LinkAttributes getAttributes(); + /** + * .context.LinkAttributes attributes = 4; + */ + context.ContextOuterClass.LinkAttributesOrBuilder getAttributesOrBuilder(); } /** * Protobuf type {@code context.Link} @@ -24635,6 +25212,19 @@ public final class ContextOuterClass { input.readMessage(context.ContextOuterClass.EndPointId.parser(), extensionRegistry)); break; } + case 34: { + context.ContextOuterClass.LinkAttributes.Builder subBuilder = null; + if (attributes_ != null) { + subBuilder = attributes_.toBuilder(); + } + attributes_ = input.readMessage(context.ContextOuterClass.LinkAttributes.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(attributes_); + attributes_ = subBuilder.buildPartial(); + } + + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -24774,6 +25364,32 @@ public final class ContextOuterClass { return linkEndpointIds_.get(index); } + public static final int ATTRIBUTES_FIELD_NUMBER = 4; + private context.ContextOuterClass.LinkAttributes attributes_; + /** + * .context.LinkAttributes attributes = 4; + * @return Whether the attributes field is set. + */ + @java.lang.Override + public boolean hasAttributes() { + return attributes_ != null; + } + /** + * .context.LinkAttributes attributes = 4; + * @return The attributes. + */ + @java.lang.Override + public context.ContextOuterClass.LinkAttributes getAttributes() { + return attributes_ == null ? context.ContextOuterClass.LinkAttributes.getDefaultInstance() : attributes_; + } + /** + * .context.LinkAttributes attributes = 4; + */ + @java.lang.Override + public context.ContextOuterClass.LinkAttributesOrBuilder getAttributesOrBuilder() { + return getAttributes(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -24797,6 +25413,9 @@ public final class ContextOuterClass { for (int i = 0; i < linkEndpointIds_.size(); i++) { output.writeMessage(3, linkEndpointIds_.get(i)); } + if (attributes_ != null) { + output.writeMessage(4, getAttributes()); + } unknownFields.writeTo(output); } @@ -24817,6 +25436,10 @@ public final class ContextOuterClass { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, linkEndpointIds_.get(i)); } + if (attributes_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getAttributes()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -24841,6 +25464,11 @@ public final class ContextOuterClass { .equals(other.getName())) return false; if (!getLinkEndpointIdsList() .equals(other.getLinkEndpointIdsList())) return false; + if (hasAttributes() != other.hasAttributes()) return false; + if (hasAttributes()) { + if (!getAttributes() + .equals(other.getAttributes())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -24862,6 +25490,10 @@ public final class ContextOuterClass { hash = (37 * hash) + LINK_ENDPOINT_IDS_FIELD_NUMBER; hash = (53 * hash) + getLinkEndpointIdsList().hashCode(); } + if (hasAttributes()) { + hash = (37 * hash) + ATTRIBUTES_FIELD_NUMBER; + hash = (53 * hash) + getAttributes().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -25010,6 +25642,12 @@ public final class ContextOuterClass { } else { linkEndpointIdsBuilder_.clear(); } + if (attributesBuilder_ == null) { + attributes_ = null; + } else { + attributes_ = null; + attributesBuilder_ = null; + } return this; } @@ -25052,6 +25690,11 @@ public final class ContextOuterClass { } else { result.linkEndpointIds_ = linkEndpointIdsBuilder_.build(); } + if (attributesBuilder_ == null) { + result.attributes_ = attributes_; + } else { + result.attributes_ = attributesBuilder_.build(); + } onBuilt(); return result; } @@ -25133,6 +25776,9 @@ public final class ContextOuterClass { } } } + if (other.hasAttributes()) { + mergeAttributes(other.getAttributes()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -25597,6 +26243,125 @@ public final class ContextOuterClass { } return linkEndpointIdsBuilder_; } + + private context.ContextOuterClass.LinkAttributes attributes_; + private com.google.protobuf.SingleFieldBuilderV3< + context.ContextOuterClass.LinkAttributes, context.ContextOuterClass.LinkAttributes.Builder, context.ContextOuterClass.LinkAttributesOrBuilder> attributesBuilder_; + /** + * .context.LinkAttributes attributes = 4; + * @return Whether the attributes field is set. + */ + public boolean hasAttributes() { + return attributesBuilder_ != null || attributes_ != null; + } + /** + * .context.LinkAttributes attributes = 4; + * @return The attributes. + */ + public context.ContextOuterClass.LinkAttributes getAttributes() { + if (attributesBuilder_ == null) { + return attributes_ == null ? context.ContextOuterClass.LinkAttributes.getDefaultInstance() : attributes_; + } else { + return attributesBuilder_.getMessage(); + } + } + /** + * .context.LinkAttributes attributes = 4; + */ + public Builder setAttributes(context.ContextOuterClass.LinkAttributes value) { + if (attributesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + attributes_ = value; + onChanged(); + } else { + attributesBuilder_.setMessage(value); + } + + return this; + } + /** + * .context.LinkAttributes attributes = 4; + */ + public Builder setAttributes( + context.ContextOuterClass.LinkAttributes.Builder builderForValue) { + if (attributesBuilder_ == null) { + attributes_ = builderForValue.build(); + onChanged(); + } else { + attributesBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .context.LinkAttributes attributes = 4; + */ + public Builder mergeAttributes(context.ContextOuterClass.LinkAttributes value) { + if (attributesBuilder_ == null) { + if (attributes_ != null) { + attributes_ = + context.ContextOuterClass.LinkAttributes.newBuilder(attributes_).mergeFrom(value).buildPartial(); + } else { + attributes_ = value; + } + onChanged(); + } else { + attributesBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .context.LinkAttributes attributes = 4; + */ + public Builder clearAttributes() { + if (attributesBuilder_ == null) { + attributes_ = null; + onChanged(); + } else { + attributes_ = null; + attributesBuilder_ = null; + } + + return this; + } + /** + * .context.LinkAttributes attributes = 4; + */ + public context.ContextOuterClass.LinkAttributes.Builder getAttributesBuilder() { + + onChanged(); + return getAttributesFieldBuilder().getBuilder(); + } + /** + * .context.LinkAttributes attributes = 4; + */ + public context.ContextOuterClass.LinkAttributesOrBuilder getAttributesOrBuilder() { + if (attributesBuilder_ != null) { + return attributesBuilder_.getMessageOrBuilder(); + } else { + return attributes_ == null ? + context.ContextOuterClass.LinkAttributes.getDefaultInstance() : attributes_; + } + } + /** + * .context.LinkAttributes attributes = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + context.ContextOuterClass.LinkAttributes, context.ContextOuterClass.LinkAttributes.Builder, context.ContextOuterClass.LinkAttributesOrBuilder> + getAttributesFieldBuilder() { + if (attributesBuilder_ == null) { + attributesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + context.ContextOuterClass.LinkAttributes, context.ContextOuterClass.LinkAttributes.Builder, context.ContextOuterClass.LinkAttributesOrBuilder>( + getAttributes(), + getParentForChildren(), + isClean()); + attributes_ = null; + } + return attributesBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -74566,6 +75331,11 @@ public final class ContextOuterClass { private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_context_LinkId_fieldAccessorTable; + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_context_LinkAttributes_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_context_LinkAttributes_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_context_Link_descriptor; private static final @@ -74899,268 +75669,271 @@ public final class ContextOuterClass { "nt\030\001 \001(\0132\016.context.Event\022$\n\tdevice_id\030\002 " + "\001(\0132\021.context.DeviceId\022,\n\rdevice_config\030" + "\003 \001(\0132\025.context.DeviceConfig\"*\n\006LinkId\022 " + - "\n\tlink_uuid\030\001 \001(\0132\r.context.Uuid\"f\n\004Link" + - "\022 \n\007link_id\030\001 \001(\0132\017.context.LinkId\022\014\n\004na" + - "me\030\002 \001(\t\022.\n\021link_endpoint_ids\030\003 \003(\0132\023.co" + - "ntext.EndPointId\"/\n\nLinkIdList\022!\n\010link_i" + - "ds\030\001 \003(\0132\017.context.LinkId\"(\n\010LinkList\022\034\n" + - "\005links\030\001 \003(\0132\r.context.Link\"L\n\tLinkEvent" + - "\022\035\n\005event\030\001 \001(\0132\016.context.Event\022 \n\007link_" + - "id\030\002 \001(\0132\017.context.LinkId\"X\n\tServiceId\022&" + - "\n\ncontext_id\030\001 \001(\0132\022.context.ContextId\022#" + - "\n\014service_uuid\030\002 \001(\0132\r.context.Uuid\"\333\002\n\007" + - "Service\022&\n\nservice_id\030\001 \001(\0132\022.context.Se" + - "rviceId\022\014\n\004name\030\002 \001(\t\022.\n\014service_type\030\003 " + - "\001(\0162\030.context.ServiceTypeEnum\0221\n\024service" + - "_endpoint_ids\030\004 \003(\0132\023.context.EndPointId" + - "\0220\n\023service_constraints\030\005 \003(\0132\023.context." + - "Constraint\022.\n\016service_status\030\006 \001(\0132\026.con" + - "text.ServiceStatus\022.\n\016service_config\030\007 \001" + - "(\0132\026.context.ServiceConfig\022%\n\ttimestamp\030" + - "\010 \001(\0132\022.context.Timestamp\"C\n\rServiceStat" + - "us\0222\n\016service_status\030\001 \001(\0162\032.context.Ser" + - "viceStatusEnum\":\n\rServiceConfig\022)\n\014confi" + - "g_rules\030\001 \003(\0132\023.context.ConfigRule\"8\n\rSe" + - "rviceIdList\022\'\n\013service_ids\030\001 \003(\0132\022.conte" + - "xt.ServiceId\"1\n\013ServiceList\022\"\n\010services\030" + - "\001 \003(\0132\020.context.Service\"\225\001\n\rServiceFilte" + - "r\022+\n\013service_ids\030\001 \001(\0132\026.context.Service" + - "IdList\022\034\n\024include_endpoint_ids\030\002 \001(\010\022\033\n\023" + - "include_constraints\030\003 \001(\010\022\034\n\024include_con" + - "fig_rules\030\004 \001(\010\"U\n\014ServiceEvent\022\035\n\005event" + - "\030\001 \001(\0132\016.context.Event\022&\n\nservice_id\030\002 \001" + - "(\0132\022.context.ServiceId\"T\n\007SliceId\022&\n\ncon" + - "text_id\030\001 \001(\0132\022.context.ContextId\022!\n\nsli" + - "ce_uuid\030\002 \001(\0132\r.context.Uuid\"\240\003\n\005Slice\022\"" + - "\n\010slice_id\030\001 \001(\0132\020.context.SliceId\022\014\n\004na" + - "me\030\002 \001(\t\022/\n\022slice_endpoint_ids\030\003 \003(\0132\023.c" + - "ontext.EndPointId\022.\n\021slice_constraints\030\004" + - " \003(\0132\023.context.Constraint\022-\n\021slice_servi" + - "ce_ids\030\005 \003(\0132\022.context.ServiceId\022,\n\022slic" + - "e_subslice_ids\030\006 \003(\0132\020.context.SliceId\022*" + - "\n\014slice_status\030\007 \001(\0132\024.context.SliceStat" + - "us\022*\n\014slice_config\030\010 \001(\0132\024.context.Slice" + - "Config\022(\n\013slice_owner\030\t \001(\0132\023.context.Sl" + - "iceOwner\022%\n\ttimestamp\030\n \001(\0132\022.context.Ti" + - "mestamp\"E\n\nSliceOwner\022!\n\nowner_uuid\030\001 \001(" + - "\0132\r.context.Uuid\022\024\n\014owner_string\030\002 \001(\t\"=" + - "\n\013SliceStatus\022.\n\014slice_status\030\001 \001(\0162\030.co" + - "ntext.SliceStatusEnum\"8\n\013SliceConfig\022)\n\014" + - "config_rules\030\001 \003(\0132\023.context.ConfigRule\"" + - "2\n\013SliceIdList\022#\n\tslice_ids\030\001 \003(\0132\020.cont" + - "ext.SliceId\"+\n\tSliceList\022\036\n\006slices\030\001 \003(\013" + - "2\016.context.Slice\"\312\001\n\013SliceFilter\022\'\n\tslic" + - "e_ids\030\001 \001(\0132\024.context.SliceIdList\022\034\n\024inc" + - "lude_endpoint_ids\030\002 \001(\010\022\033\n\023include_const" + - "raints\030\003 \001(\010\022\033\n\023include_service_ids\030\004 \001(" + - "\010\022\034\n\024include_subslice_ids\030\005 \001(\010\022\034\n\024inclu" + - "de_config_rules\030\006 \001(\010\"O\n\nSliceEvent\022\035\n\005e" + - "vent\030\001 \001(\0132\016.context.Event\022\"\n\010slice_id\030\002" + - " \001(\0132\020.context.SliceId\"6\n\014ConnectionId\022&" + - "\n\017connection_uuid\030\001 \001(\0132\r.context.Uuid\"2" + - "\n\025ConnectionSettings_L0\022\031\n\021lsp_symbolic_" + - "name\030\001 \001(\t\"\236\001\n\025ConnectionSettings_L2\022\027\n\017" + - "src_mac_address\030\001 \001(\t\022\027\n\017dst_mac_address" + - "\030\002 \001(\t\022\022\n\nether_type\030\003 \001(\r\022\017\n\007vlan_id\030\004 " + - "\001(\r\022\022\n\nmpls_label\030\005 \001(\r\022\032\n\022mpls_traffic_" + - "class\030\006 \001(\r\"t\n\025ConnectionSettings_L3\022\026\n\016" + - "src_ip_address\030\001 \001(\t\022\026\n\016dst_ip_address\030\002" + - " \001(\t\022\014\n\004dscp\030\003 \001(\r\022\020\n\010protocol\030\004 \001(\r\022\013\n\003" + - "ttl\030\005 \001(\r\"[\n\025ConnectionSettings_L4\022\020\n\010sr" + - "c_port\030\001 \001(\r\022\020\n\010dst_port\030\002 \001(\r\022\021\n\ttcp_fl" + - "ags\030\003 \001(\r\022\013\n\003ttl\030\004 \001(\r\"\304\001\n\022ConnectionSet" + - "tings\022*\n\002l0\030\001 \001(\0132\036.context.ConnectionSe" + - "ttings_L0\022*\n\002l2\030\002 \001(\0132\036.context.Connecti" + - "onSettings_L2\022*\n\002l3\030\003 \001(\0132\036.context.Conn" + - "ectionSettings_L3\022*\n\002l4\030\004 \001(\0132\036.context." + - "ConnectionSettings_L4\"\363\001\n\nConnection\022,\n\r" + - "connection_id\030\001 \001(\0132\025.context.Connection" + - "Id\022&\n\nservice_id\030\002 \001(\0132\022.context.Service" + - "Id\0223\n\026path_hops_endpoint_ids\030\003 \003(\0132\023.con" + - "text.EndPointId\022+\n\017sub_service_ids\030\004 \003(\013" + - "2\022.context.ServiceId\022-\n\010settings\030\005 \001(\0132\033" + - ".context.ConnectionSettings\"A\n\020Connectio" + - "nIdList\022-\n\016connection_ids\030\001 \003(\0132\025.contex" + - "t.ConnectionId\":\n\016ConnectionList\022(\n\013conn" + - "ections\030\001 \003(\0132\023.context.Connection\"^\n\017Co" + - "nnectionEvent\022\035\n\005event\030\001 \001(\0132\016.context.E" + - "vent\022,\n\rconnection_id\030\002 \001(\0132\025.context.Co" + - "nnectionId\"\202\001\n\nEndPointId\022(\n\013topology_id" + - "\030\001 \001(\0132\023.context.TopologyId\022$\n\tdevice_id" + - "\030\002 \001(\0132\021.context.DeviceId\022$\n\rendpoint_uu" + - "id\030\003 \001(\0132\r.context.Uuid\"\302\001\n\010EndPoint\022(\n\013" + - "endpoint_id\030\001 \001(\0132\023.context.EndPointId\022\014" + - "\n\004name\030\002 \001(\t\022\025\n\rendpoint_type\030\003 \001(\t\0229\n\020k" + - "pi_sample_types\030\004 \003(\0162\037.kpi_sample_types" + - ".KpiSampleType\022,\n\021endpoint_location\030\005 \001(" + - "\0132\021.context.Location\"{\n\014EndPointName\022(\n\013" + - "endpoint_id\030\001 \001(\0132\023.context.EndPointId\022\023" + - "\n\013device_name\030\002 \001(\t\022\025\n\rendpoint_name\030\003 \001" + - "(\t\022\025\n\rendpoint_type\030\004 \001(\t\";\n\016EndPointIdL" + - "ist\022)\n\014endpoint_ids\030\001 \003(\0132\023.context.EndP" + - "ointId\"A\n\020EndPointNameList\022-\n\016endpoint_n" + - "ames\030\001 \003(\0132\025.context.EndPointName\"A\n\021Con" + - "figRule_Custom\022\024\n\014resource_key\030\001 \001(\t\022\026\n\016" + - "resource_value\030\002 \001(\t\"]\n\016ConfigRule_ACL\022(" + - "\n\013endpoint_id\030\001 \001(\0132\023.context.EndPointId" + - "\022!\n\010rule_set\030\002 \001(\0132\017.acl.AclRuleSet\"\234\001\n\n" + - "ConfigRule\022)\n\006action\030\001 \001(\0162\031.context.Con" + - "figActionEnum\022,\n\006custom\030\002 \001(\0132\032.context." + - "ConfigRule_CustomH\000\022&\n\003acl\030\003 \001(\0132\027.conte" + - "xt.ConfigRule_ACLH\000B\r\n\013config_rule\"F\n\021Co" + - "nstraint_Custom\022\027\n\017constraint_type\030\001 \001(\t" + - "\022\030\n\020constraint_value\030\002 \001(\t\"E\n\023Constraint" + - "_Schedule\022\027\n\017start_timestamp\030\001 \001(\002\022\025\n\rdu" + - "ration_days\030\002 \001(\002\"3\n\014GPS_Position\022\020\n\010lat" + - "itude\030\001 \001(\002\022\021\n\tlongitude\030\002 \001(\002\"W\n\010Locati" + - "on\022\020\n\006region\030\001 \001(\tH\000\022-\n\014gps_position\030\002 \001" + - "(\0132\025.context.GPS_PositionH\000B\n\n\010location\"" + - "l\n\033Constraint_EndPointLocation\022(\n\013endpoi" + - "nt_id\030\001 \001(\0132\023.context.EndPointId\022#\n\010loca" + - "tion\030\002 \001(\0132\021.context.Location\"Y\n\033Constra" + - "int_EndPointPriority\022(\n\013endpoint_id\030\001 \001(" + - "\0132\023.context.EndPointId\022\020\n\010priority\030\002 \001(\r" + - "\"0\n\026Constraint_SLA_Latency\022\026\n\016e2e_latenc" + - "y_ms\030\001 \001(\002\"0\n\027Constraint_SLA_Capacity\022\025\n" + - "\rcapacity_gbps\030\001 \001(\002\"c\n\033Constraint_SLA_A" + - "vailability\022\032\n\022num_disjoint_paths\030\001 \001(\r\022" + - "\022\n\nall_active\030\002 \001(\010\022\024\n\014availability\030\003 \001(" + - "\002\"V\n\036Constraint_SLA_Isolation_level\0224\n\017i" + - "solation_level\030\001 \003(\0162\033.context.Isolation" + - "LevelEnum\"\242\001\n\025Constraint_Exclusions\022\024\n\014i" + - "s_permanent\030\001 \001(\010\022%\n\ndevice_ids\030\002 \003(\0132\021." + - "context.DeviceId\022)\n\014endpoint_ids\030\003 \003(\0132\023" + - ".context.EndPointId\022!\n\010link_ids\030\004 \003(\0132\017." + - "context.LinkId\"\333\004\n\nConstraint\022-\n\006action\030" + - "\001 \001(\0162\035.context.ConstraintActionEnum\022,\n\006" + - "custom\030\002 \001(\0132\032.context.Constraint_Custom" + - "H\000\0220\n\010schedule\030\003 \001(\0132\034.context.Constrain" + - "t_ScheduleH\000\022A\n\021endpoint_location\030\004 \001(\0132" + - "$.context.Constraint_EndPointLocationH\000\022" + - "A\n\021endpoint_priority\030\005 \001(\0132$.context.Con" + - "straint_EndPointPriorityH\000\0228\n\014sla_capaci" + - "ty\030\006 \001(\0132 .context.Constraint_SLA_Capaci" + - "tyH\000\0226\n\013sla_latency\030\007 \001(\0132\037.context.Cons" + - "traint_SLA_LatencyH\000\022@\n\020sla_availability" + - "\030\010 \001(\0132$.context.Constraint_SLA_Availabi" + - "lityH\000\022@\n\rsla_isolation\030\t \001(\0132\'.context." + - "Constraint_SLA_Isolation_levelH\000\0224\n\nexcl" + - "usions\030\n \001(\0132\036.context.Constraint_Exclus" + - "ionsH\000B\014\n\nconstraint\"^\n\022TeraFlowControll" + - "er\022&\n\ncontext_id\030\001 \001(\0132\022.context.Context" + - "Id\022\022\n\nip_address\030\002 \001(\t\022\014\n\004port\030\003 \001(\r\"U\n\024" + - "AuthenticationResult\022&\n\ncontext_id\030\001 \001(\013" + - "2\022.context.ContextId\022\025\n\rauthenticated\030\002 " + - "\001(\010*j\n\rEventTypeEnum\022\027\n\023EVENTTYPE_UNDEFI" + - "NED\020\000\022\024\n\020EVENTTYPE_CREATE\020\001\022\024\n\020EVENTTYPE" + - "_UPDATE\020\002\022\024\n\020EVENTTYPE_REMOVE\020\003*\231\002\n\020Devi" + - "ceDriverEnum\022\032\n\026DEVICEDRIVER_UNDEFINED\020\000" + - "\022\033\n\027DEVICEDRIVER_OPENCONFIG\020\001\022\036\n\032DEVICED" + - "RIVER_TRANSPORT_API\020\002\022\023\n\017DEVICEDRIVER_P4" + - "\020\003\022&\n\"DEVICEDRIVER_IETF_NETWORK_TOPOLOGY" + - "\020\004\022\033\n\027DEVICEDRIVER_ONF_TR_532\020\005\022\023\n\017DEVIC" + - "EDRIVER_XR\020\006\022\033\n\027DEVICEDRIVER_IETF_L2VPN\020" + - "\007\022 \n\034DEVICEDRIVER_GNMI_OPENCONFIG\020\010*\217\001\n\033" + - "DeviceOperationalStatusEnum\022%\n!DEVICEOPE" + - "RATIONALSTATUS_UNDEFINED\020\000\022$\n DEVICEOPER" + - "ATIONALSTATUS_DISABLED\020\001\022#\n\037DEVICEOPERAT" + - "IONALSTATUS_ENABLED\020\002*\225\001\n\017ServiceTypeEnu" + - "m\022\027\n\023SERVICETYPE_UNKNOWN\020\000\022\024\n\020SERVICETYP" + - "E_L3NM\020\001\022\024\n\020SERVICETYPE_L2NM\020\002\022)\n%SERVIC" + - "ETYPE_TAPI_CONNECTIVITY_SERVICE\020\003\022\022\n\016SER" + - "VICETYPE_TE\020\004*\304\001\n\021ServiceStatusEnum\022\033\n\027S" + - "ERVICESTATUS_UNDEFINED\020\000\022\031\n\025SERVICESTATU" + - "S_PLANNED\020\001\022\030\n\024SERVICESTATUS_ACTIVE\020\002\022\032\n" + - "\026SERVICESTATUS_UPDATING\020\003\022!\n\035SERVICESTAT" + - "US_PENDING_REMOVAL\020\004\022\036\n\032SERVICESTATUS_SL" + - "A_VIOLATED\020\005*\251\001\n\017SliceStatusEnum\022\031\n\025SLIC" + - "ESTATUS_UNDEFINED\020\000\022\027\n\023SLICESTATUS_PLANN" + - "ED\020\001\022\024\n\020SLICESTATUS_INIT\020\002\022\026\n\022SLICESTATU" + - "S_ACTIVE\020\003\022\026\n\022SLICESTATUS_DEINIT\020\004\022\034\n\030SL" + - "ICESTATUS_SLA_VIOLATED\020\005*]\n\020ConfigAction" + - "Enum\022\032\n\026CONFIGACTION_UNDEFINED\020\000\022\024\n\020CONF" + - "IGACTION_SET\020\001\022\027\n\023CONFIGACTION_DELETE\020\002*" + - "m\n\024ConstraintActionEnum\022\036\n\032CONSTRAINTACT" + - "ION_UNDEFINED\020\000\022\030\n\024CONSTRAINTACTION_SET\020" + - "\001\022\033\n\027CONSTRAINTACTION_DELETE\020\002*\203\002\n\022Isola" + - "tionLevelEnum\022\020\n\014NO_ISOLATION\020\000\022\026\n\022PHYSI" + - "CAL_ISOLATION\020\001\022\025\n\021LOGICAL_ISOLATION\020\002\022\025" + - "\n\021PROCESS_ISOLATION\020\003\022\035\n\031PHYSICAL_MEMORY" + - "_ISOLATION\020\004\022\036\n\032PHYSICAL_NETWORK_ISOLATI" + - "ON\020\005\022\036\n\032VIRTUAL_RESOURCE_ISOLATION\020\006\022\037\n\033" + - "NETWORK_FUNCTIONS_ISOLATION\020\007\022\025\n\021SERVICE" + - "_ISOLATION\020\0102\245\026\n\016ContextService\022:\n\016ListC" + - "ontextIds\022\016.context.Empty\032\026.context.Cont" + - "extIdList\"\000\0226\n\014ListContexts\022\016.context.Em" + - "pty\032\024.context.ContextList\"\000\0224\n\nGetContex" + - "t\022\022.context.ContextId\032\020.context.Context\"" + - "\000\0224\n\nSetContext\022\020.context.Context\032\022.cont" + - "ext.ContextId\"\000\0225\n\rRemoveContext\022\022.conte" + - "xt.ContextId\032\016.context.Empty\"\000\022=\n\020GetCon" + - "textEvents\022\016.context.Empty\032\025.context.Con" + - "textEvent\"\0000\001\022@\n\017ListTopologyIds\022\022.conte" + - "xt.ContextId\032\027.context.TopologyIdList\"\000\022" + - "=\n\016ListTopologies\022\022.context.ContextId\032\025." + - "context.TopologyList\"\000\0227\n\013GetTopology\022\023." + - "context.TopologyId\032\021.context.Topology\"\000\022" + - "E\n\022GetTopologyDetails\022\023.context.Topology" + - "Id\032\030.context.TopologyDetails\"\000\0227\n\013SetTop" + - "ology\022\021.context.Topology\032\023.context.Topol" + - "ogyId\"\000\0227\n\016RemoveTopology\022\023.context.Topo" + - "logyId\032\016.context.Empty\"\000\022?\n\021GetTopologyE" + - "vents\022\016.context.Empty\032\026.context.Topology" + - "Event\"\0000\001\0228\n\rListDeviceIds\022\016.context.Emp" + - "ty\032\025.context.DeviceIdList\"\000\0224\n\013ListDevic" + - "es\022\016.context.Empty\032\023.context.DeviceList\"" + - "\000\0221\n\tGetDevice\022\021.context.DeviceId\032\017.cont" + - "ext.Device\"\000\0221\n\tSetDevice\022\017.context.Devi" + - "ce\032\021.context.DeviceId\"\000\0223\n\014RemoveDevice\022" + - "\021.context.DeviceId\032\016.context.Empty\"\000\022;\n\017" + - "GetDeviceEvents\022\016.context.Empty\032\024.contex" + - "t.DeviceEvent\"\0000\001\022<\n\014SelectDevice\022\025.cont" + - "ext.DeviceFilter\032\023.context.DeviceList\"\000\022" + - "I\n\021ListEndPointNames\022\027.context.EndPointI" + - "dList\032\031.context.EndPointNameList\"\000\0224\n\013Li" + - "stLinkIds\022\016.context.Empty\032\023.context.Link" + - "IdList\"\000\0220\n\tListLinks\022\016.context.Empty\032\021." + - "context.LinkList\"\000\022+\n\007GetLink\022\017.context." + - "LinkId\032\r.context.Link\"\000\022+\n\007SetLink\022\r.con" + - "text.Link\032\017.context.LinkId\"\000\022/\n\nRemoveLi" + - "nk\022\017.context.LinkId\032\016.context.Empty\"\000\0227\n" + - "\rGetLinkEvents\022\016.context.Empty\032\022.context" + - ".LinkEvent\"\0000\001\022>\n\016ListServiceIds\022\022.conte" + - "xt.ContextId\032\026.context.ServiceIdList\"\000\022:" + - "\n\014ListServices\022\022.context.ContextId\032\024.con" + - "text.ServiceList\"\000\0224\n\nGetService\022\022.conte" + - "xt.ServiceId\032\020.context.Service\"\000\0224\n\nSetS" + - "ervice\022\020.context.Service\032\022.context.Servi" + - "ceId\"\000\0226\n\014UnsetService\022\020.context.Service" + - "\032\022.context.ServiceId\"\000\0225\n\rRemoveService\022" + - "\022.context.ServiceId\032\016.context.Empty\"\000\022=\n" + - "\020GetServiceEvents\022\016.context.Empty\032\025.cont" + - "ext.ServiceEvent\"\0000\001\022?\n\rSelectService\022\026." + - "context.ServiceFilter\032\024.context.ServiceL" + - "ist\"\000\022:\n\014ListSliceIds\022\022.context.ContextI" + - "d\032\024.context.SliceIdList\"\000\0226\n\nListSlices\022" + - "\022.context.ContextId\032\022.context.SliceList\"" + - "\000\022.\n\010GetSlice\022\020.context.SliceId\032\016.contex" + - "t.Slice\"\000\022.\n\010SetSlice\022\016.context.Slice\032\020." + - "context.SliceId\"\000\0220\n\nUnsetSlice\022\016.contex" + - "t.Slice\032\020.context.SliceId\"\000\0221\n\013RemoveSli" + - "ce\022\020.context.SliceId\032\016.context.Empty\"\000\0229" + - "\n\016GetSliceEvents\022\016.context.Empty\032\023.conte" + - "xt.SliceEvent\"\0000\001\0229\n\013SelectSlice\022\024.conte" + - "xt.SliceFilter\032\022.context.SliceList\"\000\022D\n\021" + - "ListConnectionIds\022\022.context.ServiceId\032\031." + - "context.ConnectionIdList\"\000\022@\n\017ListConnec" + - "tions\022\022.context.ServiceId\032\027.context.Conn" + - "ectionList\"\000\022=\n\rGetConnection\022\025.context." + - "ConnectionId\032\023.context.Connection\"\000\022=\n\rS" + - "etConnection\022\023.context.Connection\032\025.cont" + - "ext.ConnectionId\"\000\022;\n\020RemoveConnection\022\025" + - ".context.ConnectionId\032\016.context.Empty\"\000\022" + - "C\n\023GetConnectionEvents\022\016.context.Empty\032\030" + - ".context.ConnectionEvent\"\0000\001b\006proto3" + "\n\tlink_uuid\030\001 \001(\0132\r.context.Uuid\"I\n\016Link" + + "Attributes\022\033\n\023total_capacity_gbps\030\001 \001(\002\022" + + "\032\n\022used_capacity_gbps\030\002 \001(\002\"\223\001\n\004Link\022 \n\007" + + "link_id\030\001 \001(\0132\017.context.LinkId\022\014\n\004name\030\002" + + " \001(\t\022.\n\021link_endpoint_ids\030\003 \003(\0132\023.contex" + + "t.EndPointId\022+\n\nattributes\030\004 \001(\0132\027.conte" + + "xt.LinkAttributes\"/\n\nLinkIdList\022!\n\010link_" + + "ids\030\001 \003(\0132\017.context.LinkId\"(\n\010LinkList\022\034" + + "\n\005links\030\001 \003(\0132\r.context.Link\"L\n\tLinkEven" + + "t\022\035\n\005event\030\001 \001(\0132\016.context.Event\022 \n\007link" + + "_id\030\002 \001(\0132\017.context.LinkId\"X\n\tServiceId\022" + + "&\n\ncontext_id\030\001 \001(\0132\022.context.ContextId\022" + + "#\n\014service_uuid\030\002 \001(\0132\r.context.Uuid\"\333\002\n" + + "\007Service\022&\n\nservice_id\030\001 \001(\0132\022.context.S" + + "erviceId\022\014\n\004name\030\002 \001(\t\022.\n\014service_type\030\003" + + " \001(\0162\030.context.ServiceTypeEnum\0221\n\024servic" + + "e_endpoint_ids\030\004 \003(\0132\023.context.EndPointI" + + "d\0220\n\023service_constraints\030\005 \003(\0132\023.context" + + ".Constraint\022.\n\016service_status\030\006 \001(\0132\026.co" + + "ntext.ServiceStatus\022.\n\016service_config\030\007 " + + "\001(\0132\026.context.ServiceConfig\022%\n\ttimestamp" + + "\030\010 \001(\0132\022.context.Timestamp\"C\n\rServiceSta" + + "tus\0222\n\016service_status\030\001 \001(\0162\032.context.Se" + + "rviceStatusEnum\":\n\rServiceConfig\022)\n\014conf" + + "ig_rules\030\001 \003(\0132\023.context.ConfigRule\"8\n\rS" + + "erviceIdList\022\'\n\013service_ids\030\001 \003(\0132\022.cont" + + "ext.ServiceId\"1\n\013ServiceList\022\"\n\010services" + + "\030\001 \003(\0132\020.context.Service\"\225\001\n\rServiceFilt" + + "er\022+\n\013service_ids\030\001 \001(\0132\026.context.Servic" + + "eIdList\022\034\n\024include_endpoint_ids\030\002 \001(\010\022\033\n" + + "\023include_constraints\030\003 \001(\010\022\034\n\024include_co" + + "nfig_rules\030\004 \001(\010\"U\n\014ServiceEvent\022\035\n\005even" + + "t\030\001 \001(\0132\016.context.Event\022&\n\nservice_id\030\002 " + + "\001(\0132\022.context.ServiceId\"T\n\007SliceId\022&\n\nco" + + "ntext_id\030\001 \001(\0132\022.context.ContextId\022!\n\nsl" + + "ice_uuid\030\002 \001(\0132\r.context.Uuid\"\240\003\n\005Slice\022" + + "\"\n\010slice_id\030\001 \001(\0132\020.context.SliceId\022\014\n\004n" + + "ame\030\002 \001(\t\022/\n\022slice_endpoint_ids\030\003 \003(\0132\023." + + "context.EndPointId\022.\n\021slice_constraints\030" + + "\004 \003(\0132\023.context.Constraint\022-\n\021slice_serv" + + "ice_ids\030\005 \003(\0132\022.context.ServiceId\022,\n\022sli" + + "ce_subslice_ids\030\006 \003(\0132\020.context.SliceId\022" + + "*\n\014slice_status\030\007 \001(\0132\024.context.SliceSta" + + "tus\022*\n\014slice_config\030\010 \001(\0132\024.context.Slic" + + "eConfig\022(\n\013slice_owner\030\t \001(\0132\023.context.S" + + "liceOwner\022%\n\ttimestamp\030\n \001(\0132\022.context.T" + + "imestamp\"E\n\nSliceOwner\022!\n\nowner_uuid\030\001 \001" + + "(\0132\r.context.Uuid\022\024\n\014owner_string\030\002 \001(\t\"" + + "=\n\013SliceStatus\022.\n\014slice_status\030\001 \001(\0162\030.c" + + "ontext.SliceStatusEnum\"8\n\013SliceConfig\022)\n" + + "\014config_rules\030\001 \003(\0132\023.context.ConfigRule" + + "\"2\n\013SliceIdList\022#\n\tslice_ids\030\001 \003(\0132\020.con" + + "text.SliceId\"+\n\tSliceList\022\036\n\006slices\030\001 \003(" + + "\0132\016.context.Slice\"\312\001\n\013SliceFilter\022\'\n\tsli" + + "ce_ids\030\001 \001(\0132\024.context.SliceIdList\022\034\n\024in" + + "clude_endpoint_ids\030\002 \001(\010\022\033\n\023include_cons" + + "traints\030\003 \001(\010\022\033\n\023include_service_ids\030\004 \001" + + "(\010\022\034\n\024include_subslice_ids\030\005 \001(\010\022\034\n\024incl" + + "ude_config_rules\030\006 \001(\010\"O\n\nSliceEvent\022\035\n\005" + + "event\030\001 \001(\0132\016.context.Event\022\"\n\010slice_id\030" + + "\002 \001(\0132\020.context.SliceId\"6\n\014ConnectionId\022" + + "&\n\017connection_uuid\030\001 \001(\0132\r.context.Uuid\"" + + "2\n\025ConnectionSettings_L0\022\031\n\021lsp_symbolic" + + "_name\030\001 \001(\t\"\236\001\n\025ConnectionSettings_L2\022\027\n" + + "\017src_mac_address\030\001 \001(\t\022\027\n\017dst_mac_addres" + + "s\030\002 \001(\t\022\022\n\nether_type\030\003 \001(\r\022\017\n\007vlan_id\030\004" + + " \001(\r\022\022\n\nmpls_label\030\005 \001(\r\022\032\n\022mpls_traffic" + + "_class\030\006 \001(\r\"t\n\025ConnectionSettings_L3\022\026\n" + + "\016src_ip_address\030\001 \001(\t\022\026\n\016dst_ip_address\030" + + "\002 \001(\t\022\014\n\004dscp\030\003 \001(\r\022\020\n\010protocol\030\004 \001(\r\022\013\n" + + "\003ttl\030\005 \001(\r\"[\n\025ConnectionSettings_L4\022\020\n\010s" + + "rc_port\030\001 \001(\r\022\020\n\010dst_port\030\002 \001(\r\022\021\n\ttcp_f" + + "lags\030\003 \001(\r\022\013\n\003ttl\030\004 \001(\r\"\304\001\n\022ConnectionSe" + + "ttings\022*\n\002l0\030\001 \001(\0132\036.context.ConnectionS" + + "ettings_L0\022*\n\002l2\030\002 \001(\0132\036.context.Connect" + + "ionSettings_L2\022*\n\002l3\030\003 \001(\0132\036.context.Con" + + "nectionSettings_L3\022*\n\002l4\030\004 \001(\0132\036.context" + + ".ConnectionSettings_L4\"\363\001\n\nConnection\022,\n" + + "\rconnection_id\030\001 \001(\0132\025.context.Connectio" + + "nId\022&\n\nservice_id\030\002 \001(\0132\022.context.Servic" + + "eId\0223\n\026path_hops_endpoint_ids\030\003 \003(\0132\023.co" + + "ntext.EndPointId\022+\n\017sub_service_ids\030\004 \003(" + + "\0132\022.context.ServiceId\022-\n\010settings\030\005 \001(\0132" + + "\033.context.ConnectionSettings\"A\n\020Connecti" + + "onIdList\022-\n\016connection_ids\030\001 \003(\0132\025.conte" + + "xt.ConnectionId\":\n\016ConnectionList\022(\n\013con" + + "nections\030\001 \003(\0132\023.context.Connection\"^\n\017C" + + "onnectionEvent\022\035\n\005event\030\001 \001(\0132\016.context." + + "Event\022,\n\rconnection_id\030\002 \001(\0132\025.context.C" + + "onnectionId\"\202\001\n\nEndPointId\022(\n\013topology_i" + + "d\030\001 \001(\0132\023.context.TopologyId\022$\n\tdevice_i" + + "d\030\002 \001(\0132\021.context.DeviceId\022$\n\rendpoint_u" + + "uid\030\003 \001(\0132\r.context.Uuid\"\302\001\n\010EndPoint\022(\n" + + "\013endpoint_id\030\001 \001(\0132\023.context.EndPointId\022" + + "\014\n\004name\030\002 \001(\t\022\025\n\rendpoint_type\030\003 \001(\t\0229\n\020" + + "kpi_sample_types\030\004 \003(\0162\037.kpi_sample_type" + + "s.KpiSampleType\022,\n\021endpoint_location\030\005 \001" + + "(\0132\021.context.Location\"{\n\014EndPointName\022(\n" + + "\013endpoint_id\030\001 \001(\0132\023.context.EndPointId\022" + + "\023\n\013device_name\030\002 \001(\t\022\025\n\rendpoint_name\030\003 " + + "\001(\t\022\025\n\rendpoint_type\030\004 \001(\t\";\n\016EndPointId" + + "List\022)\n\014endpoint_ids\030\001 \003(\0132\023.context.End" + + "PointId\"A\n\020EndPointNameList\022-\n\016endpoint_" + + "names\030\001 \003(\0132\025.context.EndPointName\"A\n\021Co" + + "nfigRule_Custom\022\024\n\014resource_key\030\001 \001(\t\022\026\n" + + "\016resource_value\030\002 \001(\t\"]\n\016ConfigRule_ACL\022" + + "(\n\013endpoint_id\030\001 \001(\0132\023.context.EndPointI" + + "d\022!\n\010rule_set\030\002 \001(\0132\017.acl.AclRuleSet\"\234\001\n" + + "\nConfigRule\022)\n\006action\030\001 \001(\0162\031.context.Co" + + "nfigActionEnum\022,\n\006custom\030\002 \001(\0132\032.context" + + ".ConfigRule_CustomH\000\022&\n\003acl\030\003 \001(\0132\027.cont" + + "ext.ConfigRule_ACLH\000B\r\n\013config_rule\"F\n\021C" + + "onstraint_Custom\022\027\n\017constraint_type\030\001 \001(" + + "\t\022\030\n\020constraint_value\030\002 \001(\t\"E\n\023Constrain" + + "t_Schedule\022\027\n\017start_timestamp\030\001 \001(\002\022\025\n\rd" + + "uration_days\030\002 \001(\002\"3\n\014GPS_Position\022\020\n\010la" + + "titude\030\001 \001(\002\022\021\n\tlongitude\030\002 \001(\002\"W\n\010Locat" + + "ion\022\020\n\006region\030\001 \001(\tH\000\022-\n\014gps_position\030\002 " + + "\001(\0132\025.context.GPS_PositionH\000B\n\n\010location" + + "\"l\n\033Constraint_EndPointLocation\022(\n\013endpo" + + "int_id\030\001 \001(\0132\023.context.EndPointId\022#\n\010loc" + + "ation\030\002 \001(\0132\021.context.Location\"Y\n\033Constr" + + "aint_EndPointPriority\022(\n\013endpoint_id\030\001 \001" + + "(\0132\023.context.EndPointId\022\020\n\010priority\030\002 \001(" + + "\r\"0\n\026Constraint_SLA_Latency\022\026\n\016e2e_laten" + + "cy_ms\030\001 \001(\002\"0\n\027Constraint_SLA_Capacity\022\025" + + "\n\rcapacity_gbps\030\001 \001(\002\"c\n\033Constraint_SLA_" + + "Availability\022\032\n\022num_disjoint_paths\030\001 \001(\r" + + "\022\022\n\nall_active\030\002 \001(\010\022\024\n\014availability\030\003 \001" + + "(\002\"V\n\036Constraint_SLA_Isolation_level\0224\n\017" + + "isolation_level\030\001 \003(\0162\033.context.Isolatio" + + "nLevelEnum\"\242\001\n\025Constraint_Exclusions\022\024\n\014" + + "is_permanent\030\001 \001(\010\022%\n\ndevice_ids\030\002 \003(\0132\021" + + ".context.DeviceId\022)\n\014endpoint_ids\030\003 \003(\0132" + + "\023.context.EndPointId\022!\n\010link_ids\030\004 \003(\0132\017" + + ".context.LinkId\"\333\004\n\nConstraint\022-\n\006action" + + "\030\001 \001(\0162\035.context.ConstraintActionEnum\022,\n" + + "\006custom\030\002 \001(\0132\032.context.Constraint_Custo" + + "mH\000\0220\n\010schedule\030\003 \001(\0132\034.context.Constrai" + + "nt_ScheduleH\000\022A\n\021endpoint_location\030\004 \001(\013" + + "2$.context.Constraint_EndPointLocationH\000" + + "\022A\n\021endpoint_priority\030\005 \001(\0132$.context.Co" + + "nstraint_EndPointPriorityH\000\0228\n\014sla_capac" + + "ity\030\006 \001(\0132 .context.Constraint_SLA_Capac" + + "ityH\000\0226\n\013sla_latency\030\007 \001(\0132\037.context.Con" + + "straint_SLA_LatencyH\000\022@\n\020sla_availabilit" + + "y\030\010 \001(\0132$.context.Constraint_SLA_Availab" + + "ilityH\000\022@\n\rsla_isolation\030\t \001(\0132\'.context" + + ".Constraint_SLA_Isolation_levelH\000\0224\n\nexc" + + "lusions\030\n \001(\0132\036.context.Constraint_Exclu" + + "sionsH\000B\014\n\nconstraint\"^\n\022TeraFlowControl" + + "ler\022&\n\ncontext_id\030\001 \001(\0132\022.context.Contex" + + "tId\022\022\n\nip_address\030\002 \001(\t\022\014\n\004port\030\003 \001(\r\"U\n" + + "\024AuthenticationResult\022&\n\ncontext_id\030\001 \001(" + + "\0132\022.context.ContextId\022\025\n\rauthenticated\030\002" + + " \001(\010*j\n\rEventTypeEnum\022\027\n\023EVENTTYPE_UNDEF" + + "INED\020\000\022\024\n\020EVENTTYPE_CREATE\020\001\022\024\n\020EVENTTYP" + + "E_UPDATE\020\002\022\024\n\020EVENTTYPE_REMOVE\020\003*\231\002\n\020Dev" + + "iceDriverEnum\022\032\n\026DEVICEDRIVER_UNDEFINED\020" + + "\000\022\033\n\027DEVICEDRIVER_OPENCONFIG\020\001\022\036\n\032DEVICE" + + "DRIVER_TRANSPORT_API\020\002\022\023\n\017DEVICEDRIVER_P" + + "4\020\003\022&\n\"DEVICEDRIVER_IETF_NETWORK_TOPOLOG" + + "Y\020\004\022\033\n\027DEVICEDRIVER_ONF_TR_532\020\005\022\023\n\017DEVI" + + "CEDRIVER_XR\020\006\022\033\n\027DEVICEDRIVER_IETF_L2VPN" + + "\020\007\022 \n\034DEVICEDRIVER_GNMI_OPENCONFIG\020\010*\217\001\n" + + "\033DeviceOperationalStatusEnum\022%\n!DEVICEOP" + + "ERATIONALSTATUS_UNDEFINED\020\000\022$\n DEVICEOPE" + + "RATIONALSTATUS_DISABLED\020\001\022#\n\037DEVICEOPERA" + + "TIONALSTATUS_ENABLED\020\002*\225\001\n\017ServiceTypeEn" + + "um\022\027\n\023SERVICETYPE_UNKNOWN\020\000\022\024\n\020SERVICETY" + + "PE_L3NM\020\001\022\024\n\020SERVICETYPE_L2NM\020\002\022)\n%SERVI" + + "CETYPE_TAPI_CONNECTIVITY_SERVICE\020\003\022\022\n\016SE" + + "RVICETYPE_TE\020\004*\304\001\n\021ServiceStatusEnum\022\033\n\027" + + "SERVICESTATUS_UNDEFINED\020\000\022\031\n\025SERVICESTAT" + + "US_PLANNED\020\001\022\030\n\024SERVICESTATUS_ACTIVE\020\002\022\032" + + "\n\026SERVICESTATUS_UPDATING\020\003\022!\n\035SERVICESTA" + + "TUS_PENDING_REMOVAL\020\004\022\036\n\032SERVICESTATUS_S" + + "LA_VIOLATED\020\005*\251\001\n\017SliceStatusEnum\022\031\n\025SLI" + + "CESTATUS_UNDEFINED\020\000\022\027\n\023SLICESTATUS_PLAN" + + "NED\020\001\022\024\n\020SLICESTATUS_INIT\020\002\022\026\n\022SLICESTAT" + + "US_ACTIVE\020\003\022\026\n\022SLICESTATUS_DEINIT\020\004\022\034\n\030S" + + "LICESTATUS_SLA_VIOLATED\020\005*]\n\020ConfigActio" + + "nEnum\022\032\n\026CONFIGACTION_UNDEFINED\020\000\022\024\n\020CON" + + "FIGACTION_SET\020\001\022\027\n\023CONFIGACTION_DELETE\020\002" + + "*m\n\024ConstraintActionEnum\022\036\n\032CONSTRAINTAC" + + "TION_UNDEFINED\020\000\022\030\n\024CONSTRAINTACTION_SET" + + "\020\001\022\033\n\027CONSTRAINTACTION_DELETE\020\002*\203\002\n\022Isol" + + "ationLevelEnum\022\020\n\014NO_ISOLATION\020\000\022\026\n\022PHYS" + + "ICAL_ISOLATION\020\001\022\025\n\021LOGICAL_ISOLATION\020\002\022" + + "\025\n\021PROCESS_ISOLATION\020\003\022\035\n\031PHYSICAL_MEMOR" + + "Y_ISOLATION\020\004\022\036\n\032PHYSICAL_NETWORK_ISOLAT" + + "ION\020\005\022\036\n\032VIRTUAL_RESOURCE_ISOLATION\020\006\022\037\n" + + "\033NETWORK_FUNCTIONS_ISOLATION\020\007\022\025\n\021SERVIC" + + "E_ISOLATION\020\0102\245\026\n\016ContextService\022:\n\016List" + + "ContextIds\022\016.context.Empty\032\026.context.Con" + + "textIdList\"\000\0226\n\014ListContexts\022\016.context.E" + + "mpty\032\024.context.ContextList\"\000\0224\n\nGetConte" + + "xt\022\022.context.ContextId\032\020.context.Context" + + "\"\000\0224\n\nSetContext\022\020.context.Context\032\022.con" + + "text.ContextId\"\000\0225\n\rRemoveContext\022\022.cont" + + "ext.ContextId\032\016.context.Empty\"\000\022=\n\020GetCo" + + "ntextEvents\022\016.context.Empty\032\025.context.Co" + + "ntextEvent\"\0000\001\022@\n\017ListTopologyIds\022\022.cont" + + "ext.ContextId\032\027.context.TopologyIdList\"\000" + + "\022=\n\016ListTopologies\022\022.context.ContextId\032\025" + + ".context.TopologyList\"\000\0227\n\013GetTopology\022\023" + + ".context.TopologyId\032\021.context.Topology\"\000" + + "\022E\n\022GetTopologyDetails\022\023.context.Topolog" + + "yId\032\030.context.TopologyDetails\"\000\0227\n\013SetTo" + + "pology\022\021.context.Topology\032\023.context.Topo" + + "logyId\"\000\0227\n\016RemoveTopology\022\023.context.Top" + + "ologyId\032\016.context.Empty\"\000\022?\n\021GetTopology" + + "Events\022\016.context.Empty\032\026.context.Topolog" + + "yEvent\"\0000\001\0228\n\rListDeviceIds\022\016.context.Em" + + "pty\032\025.context.DeviceIdList\"\000\0224\n\013ListDevi" + + "ces\022\016.context.Empty\032\023.context.DeviceList" + + "\"\000\0221\n\tGetDevice\022\021.context.DeviceId\032\017.con" + + "text.Device\"\000\0221\n\tSetDevice\022\017.context.Dev" + + "ice\032\021.context.DeviceId\"\000\0223\n\014RemoveDevice" + + "\022\021.context.DeviceId\032\016.context.Empty\"\000\022;\n" + + "\017GetDeviceEvents\022\016.context.Empty\032\024.conte" + + "xt.DeviceEvent\"\0000\001\022<\n\014SelectDevice\022\025.con" + + "text.DeviceFilter\032\023.context.DeviceList\"\000" + + "\022I\n\021ListEndPointNames\022\027.context.EndPoint" + + "IdList\032\031.context.EndPointNameList\"\000\0224\n\013L" + + "istLinkIds\022\016.context.Empty\032\023.context.Lin" + + "kIdList\"\000\0220\n\tListLinks\022\016.context.Empty\032\021" + + ".context.LinkList\"\000\022+\n\007GetLink\022\017.context" + + ".LinkId\032\r.context.Link\"\000\022+\n\007SetLink\022\r.co" + + "ntext.Link\032\017.context.LinkId\"\000\022/\n\nRemoveL" + + "ink\022\017.context.LinkId\032\016.context.Empty\"\000\0227" + + "\n\rGetLinkEvents\022\016.context.Empty\032\022.contex" + + "t.LinkEvent\"\0000\001\022>\n\016ListServiceIds\022\022.cont" + + "ext.ContextId\032\026.context.ServiceIdList\"\000\022" + + ":\n\014ListServices\022\022.context.ContextId\032\024.co" + + "ntext.ServiceList\"\000\0224\n\nGetService\022\022.cont" + + "ext.ServiceId\032\020.context.Service\"\000\0224\n\nSet" + + "Service\022\020.context.Service\032\022.context.Serv" + + "iceId\"\000\0226\n\014UnsetService\022\020.context.Servic" + + "e\032\022.context.ServiceId\"\000\0225\n\rRemoveService" + + "\022\022.context.ServiceId\032\016.context.Empty\"\000\022=" + + "\n\020GetServiceEvents\022\016.context.Empty\032\025.con" + + "text.ServiceEvent\"\0000\001\022?\n\rSelectService\022\026" + + ".context.ServiceFilter\032\024.context.Service" + + "List\"\000\022:\n\014ListSliceIds\022\022.context.Context" + + "Id\032\024.context.SliceIdList\"\000\0226\n\nListSlices" + + "\022\022.context.ContextId\032\022.context.SliceList" + + "\"\000\022.\n\010GetSlice\022\020.context.SliceId\032\016.conte" + + "xt.Slice\"\000\022.\n\010SetSlice\022\016.context.Slice\032\020" + + ".context.SliceId\"\000\0220\n\nUnsetSlice\022\016.conte" + + "xt.Slice\032\020.context.SliceId\"\000\0221\n\013RemoveSl" + + "ice\022\020.context.SliceId\032\016.context.Empty\"\000\022" + + "9\n\016GetSliceEvents\022\016.context.Empty\032\023.cont" + + "ext.SliceEvent\"\0000\001\0229\n\013SelectSlice\022\024.cont" + + "ext.SliceFilter\032\022.context.SliceList\"\000\022D\n" + + "\021ListConnectionIds\022\022.context.ServiceId\032\031" + + ".context.ConnectionIdList\"\000\022@\n\017ListConne" + + "ctions\022\022.context.ServiceId\032\027.context.Con" + + "nectionList\"\000\022=\n\rGetConnection\022\025.context" + + ".ConnectionId\032\023.context.Connection\"\000\022=\n\r" + + "SetConnection\022\023.context.Connection\032\025.con" + + "text.ConnectionId\"\000\022;\n\020RemoveConnection\022" + + "\025.context.ConnectionId\032\016.context.Empty\"\000" + + "\022C\n\023GetConnectionEvents\022\016.context.Empty\032" + + "\030.context.ConnectionEvent\"\0000\001b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -75318,320 +76091,326 @@ public final class ContextOuterClass { com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_LinkId_descriptor, new java.lang.String[] { "LinkUuid", }); - internal_static_context_Link_descriptor = + internal_static_context_LinkAttributes_descriptor = getDescriptor().getMessageTypes().get(24); + internal_static_context_LinkAttributes_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_context_LinkAttributes_descriptor, + new java.lang.String[] { "TotalCapacityGbps", "UsedCapacityGbps", }); + internal_static_context_Link_descriptor = + getDescriptor().getMessageTypes().get(25); internal_static_context_Link_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_Link_descriptor, - new java.lang.String[] { "LinkId", "Name", "LinkEndpointIds", }); + new java.lang.String[] { "LinkId", "Name", "LinkEndpointIds", "Attributes", }); internal_static_context_LinkIdList_descriptor = - getDescriptor().getMessageTypes().get(25); + getDescriptor().getMessageTypes().get(26); internal_static_context_LinkIdList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_LinkIdList_descriptor, new java.lang.String[] { "LinkIds", }); internal_static_context_LinkList_descriptor = - getDescriptor().getMessageTypes().get(26); + getDescriptor().getMessageTypes().get(27); internal_static_context_LinkList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_LinkList_descriptor, new java.lang.String[] { "Links", }); internal_static_context_LinkEvent_descriptor = - getDescriptor().getMessageTypes().get(27); + getDescriptor().getMessageTypes().get(28); internal_static_context_LinkEvent_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_LinkEvent_descriptor, new java.lang.String[] { "Event", "LinkId", }); internal_static_context_ServiceId_descriptor = - getDescriptor().getMessageTypes().get(28); + getDescriptor().getMessageTypes().get(29); internal_static_context_ServiceId_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_ServiceId_descriptor, new java.lang.String[] { "ContextId", "ServiceUuid", }); internal_static_context_Service_descriptor = - getDescriptor().getMessageTypes().get(29); + getDescriptor().getMessageTypes().get(30); internal_static_context_Service_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_Service_descriptor, new java.lang.String[] { "ServiceId", "Name", "ServiceType", "ServiceEndpointIds", "ServiceConstraints", "ServiceStatus", "ServiceConfig", "Timestamp", }); internal_static_context_ServiceStatus_descriptor = - getDescriptor().getMessageTypes().get(30); + getDescriptor().getMessageTypes().get(31); internal_static_context_ServiceStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_ServiceStatus_descriptor, new java.lang.String[] { "ServiceStatus", }); internal_static_context_ServiceConfig_descriptor = - getDescriptor().getMessageTypes().get(31); + getDescriptor().getMessageTypes().get(32); internal_static_context_ServiceConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_ServiceConfig_descriptor, new java.lang.String[] { "ConfigRules", }); internal_static_context_ServiceIdList_descriptor = - getDescriptor().getMessageTypes().get(32); + getDescriptor().getMessageTypes().get(33); internal_static_context_ServiceIdList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_ServiceIdList_descriptor, new java.lang.String[] { "ServiceIds", }); internal_static_context_ServiceList_descriptor = - getDescriptor().getMessageTypes().get(33); + getDescriptor().getMessageTypes().get(34); internal_static_context_ServiceList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_ServiceList_descriptor, new java.lang.String[] { "Services", }); internal_static_context_ServiceFilter_descriptor = - getDescriptor().getMessageTypes().get(34); + getDescriptor().getMessageTypes().get(35); internal_static_context_ServiceFilter_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_ServiceFilter_descriptor, new java.lang.String[] { "ServiceIds", "IncludeEndpointIds", "IncludeConstraints", "IncludeConfigRules", }); internal_static_context_ServiceEvent_descriptor = - getDescriptor().getMessageTypes().get(35); + getDescriptor().getMessageTypes().get(36); internal_static_context_ServiceEvent_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_ServiceEvent_descriptor, new java.lang.String[] { "Event", "ServiceId", }); internal_static_context_SliceId_descriptor = - getDescriptor().getMessageTypes().get(36); + getDescriptor().getMessageTypes().get(37); internal_static_context_SliceId_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_SliceId_descriptor, new java.lang.String[] { "ContextId", "SliceUuid", }); internal_static_context_Slice_descriptor = - getDescriptor().getMessageTypes().get(37); + getDescriptor().getMessageTypes().get(38); internal_static_context_Slice_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_Slice_descriptor, new java.lang.String[] { "SliceId", "Name", "SliceEndpointIds", "SliceConstraints", "SliceServiceIds", "SliceSubsliceIds", "SliceStatus", "SliceConfig", "SliceOwner", "Timestamp", }); internal_static_context_SliceOwner_descriptor = - getDescriptor().getMessageTypes().get(38); + getDescriptor().getMessageTypes().get(39); internal_static_context_SliceOwner_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_SliceOwner_descriptor, new java.lang.String[] { "OwnerUuid", "OwnerString", }); internal_static_context_SliceStatus_descriptor = - getDescriptor().getMessageTypes().get(39); + getDescriptor().getMessageTypes().get(40); internal_static_context_SliceStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_SliceStatus_descriptor, new java.lang.String[] { "SliceStatus", }); internal_static_context_SliceConfig_descriptor = - getDescriptor().getMessageTypes().get(40); + getDescriptor().getMessageTypes().get(41); internal_static_context_SliceConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_SliceConfig_descriptor, new java.lang.String[] { "ConfigRules", }); internal_static_context_SliceIdList_descriptor = - getDescriptor().getMessageTypes().get(41); + getDescriptor().getMessageTypes().get(42); internal_static_context_SliceIdList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_SliceIdList_descriptor, new java.lang.String[] { "SliceIds", }); internal_static_context_SliceList_descriptor = - getDescriptor().getMessageTypes().get(42); + getDescriptor().getMessageTypes().get(43); internal_static_context_SliceList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_SliceList_descriptor, new java.lang.String[] { "Slices", }); internal_static_context_SliceFilter_descriptor = - getDescriptor().getMessageTypes().get(43); + getDescriptor().getMessageTypes().get(44); internal_static_context_SliceFilter_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_SliceFilter_descriptor, new java.lang.String[] { "SliceIds", "IncludeEndpointIds", "IncludeConstraints", "IncludeServiceIds", "IncludeSubsliceIds", "IncludeConfigRules", }); internal_static_context_SliceEvent_descriptor = - getDescriptor().getMessageTypes().get(44); + getDescriptor().getMessageTypes().get(45); internal_static_context_SliceEvent_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_SliceEvent_descriptor, new java.lang.String[] { "Event", "SliceId", }); internal_static_context_ConnectionId_descriptor = - getDescriptor().getMessageTypes().get(45); + getDescriptor().getMessageTypes().get(46); internal_static_context_ConnectionId_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_ConnectionId_descriptor, new java.lang.String[] { "ConnectionUuid", }); internal_static_context_ConnectionSettings_L0_descriptor = - getDescriptor().getMessageTypes().get(46); + getDescriptor().getMessageTypes().get(47); internal_static_context_ConnectionSettings_L0_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_ConnectionSettings_L0_descriptor, new java.lang.String[] { "LspSymbolicName", }); internal_static_context_ConnectionSettings_L2_descriptor = - getDescriptor().getMessageTypes().get(47); + getDescriptor().getMessageTypes().get(48); internal_static_context_ConnectionSettings_L2_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_ConnectionSettings_L2_descriptor, new java.lang.String[] { "SrcMacAddress", "DstMacAddress", "EtherType", "VlanId", "MplsLabel", "MplsTrafficClass", }); internal_static_context_ConnectionSettings_L3_descriptor = - getDescriptor().getMessageTypes().get(48); + getDescriptor().getMessageTypes().get(49); internal_static_context_ConnectionSettings_L3_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_ConnectionSettings_L3_descriptor, new java.lang.String[] { "SrcIpAddress", "DstIpAddress", "Dscp", "Protocol", "Ttl", }); internal_static_context_ConnectionSettings_L4_descriptor = - getDescriptor().getMessageTypes().get(49); + getDescriptor().getMessageTypes().get(50); internal_static_context_ConnectionSettings_L4_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_ConnectionSettings_L4_descriptor, new java.lang.String[] { "SrcPort", "DstPort", "TcpFlags", "Ttl", }); internal_static_context_ConnectionSettings_descriptor = - getDescriptor().getMessageTypes().get(50); + getDescriptor().getMessageTypes().get(51); internal_static_context_ConnectionSettings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_ConnectionSettings_descriptor, new java.lang.String[] { "L0", "L2", "L3", "L4", }); internal_static_context_Connection_descriptor = - getDescriptor().getMessageTypes().get(51); + getDescriptor().getMessageTypes().get(52); internal_static_context_Connection_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_Connection_descriptor, new java.lang.String[] { "ConnectionId", "ServiceId", "PathHopsEndpointIds", "SubServiceIds", "Settings", }); internal_static_context_ConnectionIdList_descriptor = - getDescriptor().getMessageTypes().get(52); + getDescriptor().getMessageTypes().get(53); internal_static_context_ConnectionIdList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_ConnectionIdList_descriptor, new java.lang.String[] { "ConnectionIds", }); internal_static_context_ConnectionList_descriptor = - getDescriptor().getMessageTypes().get(53); + getDescriptor().getMessageTypes().get(54); internal_static_context_ConnectionList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_ConnectionList_descriptor, new java.lang.String[] { "Connections", }); internal_static_context_ConnectionEvent_descriptor = - getDescriptor().getMessageTypes().get(54); + getDescriptor().getMessageTypes().get(55); internal_static_context_ConnectionEvent_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_ConnectionEvent_descriptor, new java.lang.String[] { "Event", "ConnectionId", }); internal_static_context_EndPointId_descriptor = - getDescriptor().getMessageTypes().get(55); + getDescriptor().getMessageTypes().get(56); internal_static_context_EndPointId_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_EndPointId_descriptor, new java.lang.String[] { "TopologyId", "DeviceId", "EndpointUuid", }); internal_static_context_EndPoint_descriptor = - getDescriptor().getMessageTypes().get(56); + getDescriptor().getMessageTypes().get(57); internal_static_context_EndPoint_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_EndPoint_descriptor, new java.lang.String[] { "EndpointId", "Name", "EndpointType", "KpiSampleTypes", "EndpointLocation", }); internal_static_context_EndPointName_descriptor = - getDescriptor().getMessageTypes().get(57); + getDescriptor().getMessageTypes().get(58); internal_static_context_EndPointName_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_EndPointName_descriptor, new java.lang.String[] { "EndpointId", "DeviceName", "EndpointName", "EndpointType", }); internal_static_context_EndPointIdList_descriptor = - getDescriptor().getMessageTypes().get(58); + getDescriptor().getMessageTypes().get(59); internal_static_context_EndPointIdList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_EndPointIdList_descriptor, new java.lang.String[] { "EndpointIds", }); internal_static_context_EndPointNameList_descriptor = - getDescriptor().getMessageTypes().get(59); + getDescriptor().getMessageTypes().get(60); internal_static_context_EndPointNameList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_EndPointNameList_descriptor, new java.lang.String[] { "EndpointNames", }); internal_static_context_ConfigRule_Custom_descriptor = - getDescriptor().getMessageTypes().get(60); + getDescriptor().getMessageTypes().get(61); internal_static_context_ConfigRule_Custom_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_ConfigRule_Custom_descriptor, new java.lang.String[] { "ResourceKey", "ResourceValue", }); internal_static_context_ConfigRule_ACL_descriptor = - getDescriptor().getMessageTypes().get(61); + getDescriptor().getMessageTypes().get(62); internal_static_context_ConfigRule_ACL_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_ConfigRule_ACL_descriptor, new java.lang.String[] { "EndpointId", "RuleSet", }); internal_static_context_ConfigRule_descriptor = - getDescriptor().getMessageTypes().get(62); + getDescriptor().getMessageTypes().get(63); internal_static_context_ConfigRule_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_ConfigRule_descriptor, new java.lang.String[] { "Action", "Custom", "Acl", "ConfigRule", }); internal_static_context_Constraint_Custom_descriptor = - getDescriptor().getMessageTypes().get(63); + getDescriptor().getMessageTypes().get(64); internal_static_context_Constraint_Custom_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_Constraint_Custom_descriptor, new java.lang.String[] { "ConstraintType", "ConstraintValue", }); internal_static_context_Constraint_Schedule_descriptor = - getDescriptor().getMessageTypes().get(64); + getDescriptor().getMessageTypes().get(65); internal_static_context_Constraint_Schedule_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_Constraint_Schedule_descriptor, new java.lang.String[] { "StartTimestamp", "DurationDays", }); internal_static_context_GPS_Position_descriptor = - getDescriptor().getMessageTypes().get(65); + getDescriptor().getMessageTypes().get(66); internal_static_context_GPS_Position_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_GPS_Position_descriptor, new java.lang.String[] { "Latitude", "Longitude", }); internal_static_context_Location_descriptor = - getDescriptor().getMessageTypes().get(66); + getDescriptor().getMessageTypes().get(67); internal_static_context_Location_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_Location_descriptor, new java.lang.String[] { "Region", "GpsPosition", "Location", }); internal_static_context_Constraint_EndPointLocation_descriptor = - getDescriptor().getMessageTypes().get(67); + getDescriptor().getMessageTypes().get(68); internal_static_context_Constraint_EndPointLocation_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_Constraint_EndPointLocation_descriptor, new java.lang.String[] { "EndpointId", "Location", }); internal_static_context_Constraint_EndPointPriority_descriptor = - getDescriptor().getMessageTypes().get(68); + getDescriptor().getMessageTypes().get(69); internal_static_context_Constraint_EndPointPriority_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_Constraint_EndPointPriority_descriptor, new java.lang.String[] { "EndpointId", "Priority", }); internal_static_context_Constraint_SLA_Latency_descriptor = - getDescriptor().getMessageTypes().get(69); + getDescriptor().getMessageTypes().get(70); internal_static_context_Constraint_SLA_Latency_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_Constraint_SLA_Latency_descriptor, new java.lang.String[] { "E2ELatencyMs", }); internal_static_context_Constraint_SLA_Capacity_descriptor = - getDescriptor().getMessageTypes().get(70); + getDescriptor().getMessageTypes().get(71); internal_static_context_Constraint_SLA_Capacity_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_Constraint_SLA_Capacity_descriptor, new java.lang.String[] { "CapacityGbps", }); internal_static_context_Constraint_SLA_Availability_descriptor = - getDescriptor().getMessageTypes().get(71); + getDescriptor().getMessageTypes().get(72); internal_static_context_Constraint_SLA_Availability_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_Constraint_SLA_Availability_descriptor, new java.lang.String[] { "NumDisjointPaths", "AllActive", "Availability", }); internal_static_context_Constraint_SLA_Isolation_level_descriptor = - getDescriptor().getMessageTypes().get(72); + getDescriptor().getMessageTypes().get(73); internal_static_context_Constraint_SLA_Isolation_level_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_Constraint_SLA_Isolation_level_descriptor, new java.lang.String[] { "IsolationLevel", }); internal_static_context_Constraint_Exclusions_descriptor = - getDescriptor().getMessageTypes().get(73); + getDescriptor().getMessageTypes().get(74); internal_static_context_Constraint_Exclusions_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_Constraint_Exclusions_descriptor, new java.lang.String[] { "IsPermanent", "DeviceIds", "EndpointIds", "LinkIds", }); internal_static_context_Constraint_descriptor = - getDescriptor().getMessageTypes().get(74); + getDescriptor().getMessageTypes().get(75); internal_static_context_Constraint_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_Constraint_descriptor, new java.lang.String[] { "Action", "Custom", "Schedule", "EndpointLocation", "EndpointPriority", "SlaCapacity", "SlaLatency", "SlaAvailability", "SlaIsolation", "Exclusions", "Constraint", }); internal_static_context_TeraFlowController_descriptor = - getDescriptor().getMessageTypes().get(75); + getDescriptor().getMessageTypes().get(76); internal_static_context_TeraFlowController_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_TeraFlowController_descriptor, new java.lang.String[] { "ContextId", "IpAddress", "Port", }); internal_static_context_AuthenticationResult_descriptor = - getDescriptor().getMessageTypes().get(76); + getDescriptor().getMessageTypes().get(77); internal_static_context_AuthenticationResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_context_AuthenticationResult_descriptor, diff --git a/src/policy/target/generated-sources/grpc/kpi_sample_types/KpiSampleTypes.java b/src/policy/target/generated-sources/grpc/kpi_sample_types/KpiSampleTypes.java index 98bdbbd2c..66ce0f8f2 100644 --- a/src/policy/target/generated-sources/grpc/kpi_sample_types/KpiSampleTypes.java +++ b/src/policy/target/generated-sources/grpc/kpi_sample_types/KpiSampleTypes.java @@ -283,22 +283,24 @@ public final class KpiSampleTypes { static { java.lang.String[] descriptorData = { "\n\026kpi_sample_types.proto\022\020kpi_sample_typ" + - "es*\327\004\n\rKpiSampleType\022\031\n\025KPISAMPLETYPE_UN" + + "es*\260\005\n\rKpiSampleType\022\031\n\025KPISAMPLETYPE_UN" + "KNOWN\020\000\022%\n!KPISAMPLETYPE_PACKETS_TRANSMI" + "TTED\020e\022\"\n\036KPISAMPLETYPE_PACKETS_RECEIVED" + "\020f\022!\n\035KPISAMPLETYPE_PACKETS_DROPPED\020g\022$\n" + "\037KPISAMPLETYPE_BYTES_TRANSMITTED\020\311\001\022!\n\034K" + "PISAMPLETYPE_BYTES_RECEIVED\020\312\001\022 \n\033KPISAM" + - "PLETYPE_BYTES_DROPPED\020\313\001\022 \n\033KPISAMPLETYP" + - "E_ML_CONFIDENCE\020\221\003\022*\n%KPISAMPLETYPE_OPTI" + - "CAL_SECURITY_STATUS\020\365\003\022)\n$KPISAMPLETYPE_" + - "L3_UNIQUE_ATTACK_CONNS\020\331\004\022*\n%KPISAMPLETY" + - "PE_L3_TOTAL_DROPPED_PACKTS\020\332\004\022&\n!KPISAMP" + - "LETYPE_L3_UNIQUE_ATTACKERS\020\333\004\0220\n+KPISAMP" + - "LETYPE_L3_UNIQUE_COMPROMISED_CLIENTS\020\334\004\022" + - ",\n\'KPISAMPLETYPE_L3_SECURITY_STATUS_CRYP" + - "TO\020\335\004\022%\n KPISAMPLETYPE_SERVICE_LATENCY_M" + - "S\020\275\005b\006proto3" + "PLETYPE_BYTES_DROPPED\020\313\001\022+\n&KPISAMPLETYP" + + "E_LINK_TOTAL_CAPACITY_GBPS\020\255\002\022*\n%KPISAMP" + + "LETYPE_LINK_USED_CAPACITY_GBPS\020\256\002\022 \n\033KPI" + + "SAMPLETYPE_ML_CONFIDENCE\020\221\003\022*\n%KPISAMPLE" + + "TYPE_OPTICAL_SECURITY_STATUS\020\365\003\022)\n$KPISA" + + "MPLETYPE_L3_UNIQUE_ATTACK_CONNS\020\331\004\022*\n%KP" + + "ISAMPLETYPE_L3_TOTAL_DROPPED_PACKTS\020\332\004\022&" + + "\n!KPISAMPLETYPE_L3_UNIQUE_ATTACKERS\020\333\004\0220" + + "\n+KPISAMPLETYPE_L3_UNIQUE_COMPROMISED_CL" + + "IENTS\020\334\004\022,\n\'KPISAMPLETYPE_L3_SECURITY_ST" + + "ATUS_CRYPTO\020\335\004\022%\n KPISAMPLETYPE_SERVICE_" + + "LATENCY_MS\020\275\005b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, diff --git a/src/policy/target/generated-sources/grpc/monitoring/Monitoring.java b/src/policy/target/generated-sources/grpc/monitoring/Monitoring.java index 38f026eb1..ef9ef6be6 100644 --- a/src/policy/target/generated-sources/grpc/monitoring/Monitoring.java +++ b/src/policy/target/generated-sources/grpc/monitoring/Monitoring.java @@ -154,6 +154,21 @@ public final class Monitoring { * .context.ConnectionId connection_id = 9; */ context.ContextOuterClass.ConnectionIdOrBuilder getConnectionIdOrBuilder(); + + /** + * .context.LinkId link_id = 10; + * @return Whether the linkId field is set. + */ + boolean hasLinkId(); + /** + * .context.LinkId link_id = 10; + * @return The linkId. + */ + context.ContextOuterClass.LinkId getLinkId(); + /** + * .context.LinkId link_id = 10; + */ + context.ContextOuterClass.LinkIdOrBuilder getLinkIdOrBuilder(); } /** * Protobuf type {@code monitoring.KpiDescriptor} @@ -303,6 +318,19 @@ public final class Monitoring { break; } + case 82: { + context.ContextOuterClass.LinkId.Builder subBuilder = null; + if (linkId_ != null) { + subBuilder = linkId_.toBuilder(); + } + linkId_ = input.readMessage(context.ContextOuterClass.LinkId.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(linkId_); + linkId_ = subBuilder.buildPartial(); + } + + break; + } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { @@ -591,6 +619,32 @@ public final class Monitoring { return getConnectionId(); } + public static final int LINK_ID_FIELD_NUMBER = 10; + private context.ContextOuterClass.LinkId linkId_; + /** + * .context.LinkId link_id = 10; + * @return Whether the linkId field is set. + */ + @java.lang.Override + public boolean hasLinkId() { + return linkId_ != null; + } + /** + * .context.LinkId link_id = 10; + * @return The linkId. + */ + @java.lang.Override + public context.ContextOuterClass.LinkId getLinkId() { + return linkId_ == null ? context.ContextOuterClass.LinkId.getDefaultInstance() : linkId_; + } + /** + * .context.LinkId link_id = 10; + */ + @java.lang.Override + public context.ContextOuterClass.LinkIdOrBuilder getLinkIdOrBuilder() { + return getLinkId(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { @@ -632,6 +686,9 @@ public final class Monitoring { if (connectionId_ != null) { output.writeMessage(9, getConnectionId()); } + if (linkId_ != null) { + output.writeMessage(10, getLinkId()); + } unknownFields.writeTo(output); } @@ -676,6 +733,10 @@ public final class Monitoring { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getConnectionId()); } + if (linkId_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getLinkId()); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -726,6 +787,11 @@ public final class Monitoring { if (!getConnectionId() .equals(other.getConnectionId())) return false; } + if (hasLinkId() != other.hasLinkId()) return false; + if (hasLinkId()) { + if (!getLinkId() + .equals(other.getLinkId())) return false; + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -769,6 +835,10 @@ public final class Monitoring { hash = (37 * hash) + CONNECTION_ID_FIELD_NUMBER; hash = (53 * hash) + getConnectionId().hashCode(); } + if (hasLinkId()) { + hash = (37 * hash) + LINK_ID_FIELD_NUMBER; + hash = (53 * hash) + getLinkId().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -949,6 +1019,12 @@ public final class Monitoring { connectionId_ = null; connectionIdBuilder_ = null; } + if (linkIdBuilder_ == null) { + linkId_ = null; + } else { + linkId_ = null; + linkIdBuilder_ = null; + } return this; } @@ -1017,6 +1093,11 @@ public final class Monitoring { } else { result.connectionId_ = connectionIdBuilder_.build(); } + if (linkIdBuilder_ == null) { + result.linkId_ = linkId_; + } else { + result.linkId_ = linkIdBuilder_.build(); + } onBuilt(); return result; } @@ -1116,6 +1197,9 @@ public final class Monitoring { if (other.hasConnectionId()) { mergeConnectionId(other.getConnectionId()); } + if (other.hasLinkId()) { + mergeLinkId(other.getLinkId()); + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -2229,6 +2313,125 @@ public final class Monitoring { } return connectionIdBuilder_; } + + private context.ContextOuterClass.LinkId linkId_; + private com.google.protobuf.SingleFieldBuilderV3< + context.ContextOuterClass.LinkId, context.ContextOuterClass.LinkId.Builder, context.ContextOuterClass.LinkIdOrBuilder> linkIdBuilder_; + /** + * .context.LinkId link_id = 10; + * @return Whether the linkId field is set. + */ + public boolean hasLinkId() { + return linkIdBuilder_ != null || linkId_ != null; + } + /** + * .context.LinkId link_id = 10; + * @return The linkId. + */ + public context.ContextOuterClass.LinkId getLinkId() { + if (linkIdBuilder_ == null) { + return linkId_ == null ? context.ContextOuterClass.LinkId.getDefaultInstance() : linkId_; + } else { + return linkIdBuilder_.getMessage(); + } + } + /** + * .context.LinkId link_id = 10; + */ + public Builder setLinkId(context.ContextOuterClass.LinkId value) { + if (linkIdBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + linkId_ = value; + onChanged(); + } else { + linkIdBuilder_.setMessage(value); + } + + return this; + } + /** + * .context.LinkId link_id = 10; + */ + public Builder setLinkId( + context.ContextOuterClass.LinkId.Builder builderForValue) { + if (linkIdBuilder_ == null) { + linkId_ = builderForValue.build(); + onChanged(); + } else { + linkIdBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * .context.LinkId link_id = 10; + */ + public Builder mergeLinkId(context.ContextOuterClass.LinkId value) { + if (linkIdBuilder_ == null) { + if (linkId_ != null) { + linkId_ = + context.ContextOuterClass.LinkId.newBuilder(linkId_).mergeFrom(value).buildPartial(); + } else { + linkId_ = value; + } + onChanged(); + } else { + linkIdBuilder_.mergeFrom(value); + } + + return this; + } + /** + * .context.LinkId link_id = 10; + */ + public Builder clearLinkId() { + if (linkIdBuilder_ == null) { + linkId_ = null; + onChanged(); + } else { + linkId_ = null; + linkIdBuilder_ = null; + } + + return this; + } + /** + * .context.LinkId link_id = 10; + */ + public context.ContextOuterClass.LinkId.Builder getLinkIdBuilder() { + + onChanged(); + return getLinkIdFieldBuilder().getBuilder(); + } + /** + * .context.LinkId link_id = 10; + */ + public context.ContextOuterClass.LinkIdOrBuilder getLinkIdOrBuilder() { + if (linkIdBuilder_ != null) { + return linkIdBuilder_.getMessageOrBuilder(); + } else { + return linkId_ == null ? + context.ContextOuterClass.LinkId.getDefaultInstance() : linkId_; + } + } + /** + * .context.LinkId link_id = 10; + */ + private com.google.protobuf.SingleFieldBuilderV3< + context.ContextOuterClass.LinkId, context.ContextOuterClass.LinkId.Builder, context.ContextOuterClass.LinkIdOrBuilder> + getLinkIdFieldBuilder() { + if (linkIdBuilder_ == null) { + linkIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + context.ContextOuterClass.LinkId, context.ContextOuterClass.LinkId.Builder, context.ContextOuterClass.LinkIdOrBuilder>( + getLinkId(), + getParentForChildren(), + isClean()); + linkId_ = null; + } + return linkIdBuilder_; + } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -21361,7 +21564,7 @@ public final class Monitoring { static { java.lang.String[] descriptorData = { "\n\020monitoring.proto\022\nmonitoring\032\rcontext." + - "proto\032\026kpi_sample_types.proto\"\367\002\n\rKpiDes" + + "proto\032\026kpi_sample_types.proto\"\231\003\n\rKpiDes" + "criptor\022!\n\006kpi_id\030\001 \001(\0132\021.monitoring.Kpi" + "Id\022\027\n\017kpi_description\030\002 \001(\t\022&\n\013kpi_id_li" + "st\030\003 \003(\0132\021.monitoring.KpiId\0228\n\017kpi_sampl" + @@ -21371,91 +21574,92 @@ public final class Monitoring { "intId\022&\n\nservice_id\030\007 \001(\0132\022.context.Serv" + "iceId\022\"\n\010slice_id\030\010 \001(\0132\020.context.SliceI" + "d\022,\n\rconnection_id\030\t \001(\0132\025.context.Conne" + - "ctionId\"l\n\021MonitorKpiRequest\022!\n\006kpi_id\030\001" + - " \001(\0132\021.monitoring.KpiId\022\033\n\023monitoring_wi" + - "ndow_s\030\002 \001(\002\022\027\n\017sampling_rate_s\030\003 \001(\002\"\273\001" + - "\n\010KpiQuery\022\"\n\007kpi_ids\030\001 \003(\0132\021.monitoring" + - ".KpiId\022\033\n\023monitoring_window_s\030\002 \001(\002\022\026\n\016l" + - "ast_n_samples\030\003 \001(\r\022+\n\017start_timestamp\030\004" + - " \001(\0132\022.context.Timestamp\022)\n\rend_timestam" + - "p\030\005 \001(\0132\022.context.Timestamp\"X\n\006RawKpi\022%\n" + - "\ttimestamp\030\001 \001(\0132\022.context.Timestamp\022\'\n\t" + - "kpi_value\030\002 \001(\0132\024.monitoring.KpiValue\"U\n" + - "\nRawKpiList\022!\n\006kpi_id\030\001 \001(\0132\021.monitoring" + - ".KpiId\022$\n\010raw_kpis\030\002 \003(\0132\022.monitoring.Ra" + - "wKpi\"<\n\013RawKpiTable\022-\n\rraw_kpi_lists\030\001 \003" + - "(\0132\026.monitoring.RawKpiList\"&\n\005KpiId\022\035\n\006k" + - "pi_id\030\001 \001(\0132\r.context.Uuid\"x\n\003Kpi\022!\n\006kpi" + - "_id\030\001 \001(\0132\021.monitoring.KpiId\022%\n\ttimestam" + - "p\030\002 \001(\0132\022.context.Timestamp\022\'\n\tkpi_value" + - "\030\003 \001(\0132\024.monitoring.KpiValue\"\250\001\n\rKpiValu" + - "eRange\022)\n\013kpiMinValue\030\001 \001(\0132\024.monitoring" + - ".KpiValue\022)\n\013kpiMaxValue\030\002 \001(\0132\024.monitor" + - "ing.KpiValue\022\017\n\007inRange\030\003 \001(\010\022\027\n\017include" + - "MinValue\030\004 \001(\010\022\027\n\017includeMaxValue\030\005 \001(\010\"" + - "\241\001\n\010KpiValue\022\022\n\010int32Val\030\001 \001(\005H\000\022\023\n\tuint" + - "32Val\030\002 \001(\rH\000\022\022\n\010int64Val\030\003 \001(\003H\000\022\023\n\tuin" + - "t64Val\030\004 \001(\004H\000\022\022\n\010floatVal\030\005 \001(\002H\000\022\023\n\tst" + - "ringVal\030\006 \001(\tH\000\022\021\n\007boolVal\030\007 \001(\010H\000B\007\n\005va" + - "lue\"\'\n\007KpiList\022\034\n\003kpi\030\001 \003(\0132\017.monitoring" + - ".Kpi\"K\n\021KpiDescriptorList\0226\n\023kpi_descrip" + - "tor_list\030\001 \003(\0132\031.monitoring.KpiDescripto" + - "r\"\362\001\n\016SubsDescriptor\022+\n\007subs_id\030\001 \001(\0132\032." + - "monitoring.SubscriptionID\022!\n\006kpi_id\030\002 \001(" + - "\0132\021.monitoring.KpiId\022\033\n\023sampling_duratio" + - "n_s\030\003 \001(\002\022\033\n\023sampling_interval_s\030\004 \001(\002\022+" + - "\n\017start_timestamp\030\005 \001(\0132\022.context.Timest" + - "amp\022)\n\rend_timestamp\030\006 \001(\0132\022.context.Tim" + - "estamp\"0\n\016SubscriptionID\022\036\n\007subs_id\030\001 \001(" + - "\0132\r.context.Uuid\"b\n\014SubsResponse\022+\n\007subs" + - "_id\030\001 \001(\0132\032.monitoring.SubscriptionID\022%\n" + - "\010kpi_list\030\002 \001(\0132\023.monitoring.KpiList\"?\n\010" + - "SubsList\0223\n\017subs_descriptor\030\001 \003(\0132\032.moni" + - "toring.SubsDescriptor\"\337\001\n\017AlarmDescripto" + - "r\022%\n\010alarm_id\030\001 \001(\0132\023.monitoring.AlarmID" + - "\022\031\n\021alarm_description\030\002 \001(\t\022\014\n\004name\030\003 \001(" + - "\t\022!\n\006kpi_id\030\004 \001(\0132\021.monitoring.KpiId\0222\n\017" + - "kpi_value_range\030\005 \001(\0132\031.monitoring.KpiVa" + - "lueRange\022%\n\ttimestamp\030\006 \001(\0132\022.context.Ti" + - "mestamp\"*\n\007AlarmID\022\037\n\010alarm_id\030\001 \001(\0132\r.c" + - "ontext.Uuid\"}\n\021AlarmSubscription\022%\n\010alar" + - "m_id\030\001 \001(\0132\023.monitoring.AlarmID\022\036\n\026subsc" + - "ription_timeout_s\030\002 \001(\002\022!\n\031subscription_" + - "frequency_ms\030\003 \001(\002\"k\n\rAlarmResponse\022%\n\010a" + - "larm_id\030\001 \001(\0132\023.monitoring.AlarmID\022\014\n\004te" + - "xt\030\002 \001(\t\022%\n\010kpi_list\030\003 \001(\0132\023.monitoring." + - "KpiList\"B\n\tAlarmList\0225\n\020alarm_descriptor" + - "\030\001 \003(\0132\033.monitoring.AlarmDescriptor2\234\t\n\021" + - "MonitoringService\0228\n\006SetKpi\022\031.monitoring" + - ".KpiDescriptor\032\021.monitoring.KpiId\"\000\0220\n\tD" + - "eleteKpi\022\021.monitoring.KpiId\032\016.context.Em" + - "pty\"\000\022B\n\020GetKpiDescriptor\022\021.monitoring.K" + - "piId\032\031.monitoring.KpiDescriptor\"\000\022G\n\024Get" + - "KpiDescriptorList\022\016.context.Empty\032\035.moni" + - "toring.KpiDescriptorList\"\000\022/\n\nIncludeKpi" + - "\022\017.monitoring.Kpi\032\016.context.Empty\"\000\022=\n\nM" + - "onitorKpi\022\035.monitoring.MonitorKpiRequest" + - "\032\016.context.Empty\"\000\022?\n\014QueryKpiData\022\024.mon" + - "itoring.KpiQuery\032\027.monitoring.RawKpiTabl" + - "e\"\000\022N\n\022SetKpiSubscription\022\032.monitoring.S" + - "ubsDescriptor\032\030.monitoring.SubsResponse\"" + - "\0000\001\022M\n\021GetSubsDescriptor\022\032.monitoring.Su" + - "bscriptionID\032\032.monitoring.SubsDescriptor" + - "\"\000\022:\n\020GetSubscriptions\022\016.context.Empty\032\024" + - ".monitoring.SubsList\"\000\022B\n\022DeleteSubscrip" + - "tion\022\032.monitoring.SubscriptionID\032\016.conte" + - "xt.Empty\"\000\022A\n\013SetKpiAlarm\022\033.monitoring.A" + - "larmDescriptor\032\023.monitoring.AlarmID\"\000\0224\n" + - "\tGetAlarms\022\016.context.Empty\032\025.monitoring." + - "AlarmList\"\000\022H\n\022GetAlarmDescriptor\022\023.moni" + - "toring.AlarmID\032\033.monitoring.AlarmDescrip" + - "tor\"\000\022V\n\026GetAlarmResponseStream\022\035.monito" + - "ring.AlarmSubscription\032\031.monitoring.Alar" + - "mResponse\"\0000\001\0224\n\013DeleteAlarm\022\023.monitorin" + - "g.AlarmID\032\016.context.Empty\"\000\0226\n\014GetStream" + - "Kpi\022\021.monitoring.KpiId\032\017.monitoring.Kpi\"" + - "\0000\001\0225\n\rGetInstantKpi\022\021.monitoring.KpiId\032" + - "\017.monitoring.Kpi\"\000b\006proto3" + "ctionId\022 \n\007link_id\030\n \001(\0132\017.context.LinkI" + + "d\"l\n\021MonitorKpiRequest\022!\n\006kpi_id\030\001 \001(\0132\021" + + ".monitoring.KpiId\022\033\n\023monitoring_window_s" + + "\030\002 \001(\002\022\027\n\017sampling_rate_s\030\003 \001(\002\"\273\001\n\010KpiQ" + + "uery\022\"\n\007kpi_ids\030\001 \003(\0132\021.monitoring.KpiId" + + "\022\033\n\023monitoring_window_s\030\002 \001(\002\022\026\n\016last_n_" + + "samples\030\003 \001(\r\022+\n\017start_timestamp\030\004 \001(\0132\022" + + ".context.Timestamp\022)\n\rend_timestamp\030\005 \001(" + + "\0132\022.context.Timestamp\"X\n\006RawKpi\022%\n\ttimes" + + "tamp\030\001 \001(\0132\022.context.Timestamp\022\'\n\tkpi_va" + + "lue\030\002 \001(\0132\024.monitoring.KpiValue\"U\n\nRawKp" + + "iList\022!\n\006kpi_id\030\001 \001(\0132\021.monitoring.KpiId" + + "\022$\n\010raw_kpis\030\002 \003(\0132\022.monitoring.RawKpi\"<" + + "\n\013RawKpiTable\022-\n\rraw_kpi_lists\030\001 \003(\0132\026.m" + + "onitoring.RawKpiList\"&\n\005KpiId\022\035\n\006kpi_id\030" + + "\001 \001(\0132\r.context.Uuid\"x\n\003Kpi\022!\n\006kpi_id\030\001 " + + "\001(\0132\021.monitoring.KpiId\022%\n\ttimestamp\030\002 \001(" + + "\0132\022.context.Timestamp\022\'\n\tkpi_value\030\003 \001(\013" + + "2\024.monitoring.KpiValue\"\250\001\n\rKpiValueRange" + + "\022)\n\013kpiMinValue\030\001 \001(\0132\024.monitoring.KpiVa" + + "lue\022)\n\013kpiMaxValue\030\002 \001(\0132\024.monitoring.Kp" + + "iValue\022\017\n\007inRange\030\003 \001(\010\022\027\n\017includeMinVal" + + "ue\030\004 \001(\010\022\027\n\017includeMaxValue\030\005 \001(\010\"\241\001\n\010Kp" + + "iValue\022\022\n\010int32Val\030\001 \001(\005H\000\022\023\n\tuint32Val\030" + + "\002 \001(\rH\000\022\022\n\010int64Val\030\003 \001(\003H\000\022\023\n\tuint64Val" + + "\030\004 \001(\004H\000\022\022\n\010floatVal\030\005 \001(\002H\000\022\023\n\tstringVa" + + "l\030\006 \001(\tH\000\022\021\n\007boolVal\030\007 \001(\010H\000B\007\n\005value\"\'\n" + + "\007KpiList\022\034\n\003kpi\030\001 \003(\0132\017.monitoring.Kpi\"K" + + "\n\021KpiDescriptorList\0226\n\023kpi_descriptor_li" + + "st\030\001 \003(\0132\031.monitoring.KpiDescriptor\"\362\001\n\016" + + "SubsDescriptor\022+\n\007subs_id\030\001 \001(\0132\032.monito" + + "ring.SubscriptionID\022!\n\006kpi_id\030\002 \001(\0132\021.mo" + + "nitoring.KpiId\022\033\n\023sampling_duration_s\030\003 " + + "\001(\002\022\033\n\023sampling_interval_s\030\004 \001(\002\022+\n\017star" + + "t_timestamp\030\005 \001(\0132\022.context.Timestamp\022)\n" + + "\rend_timestamp\030\006 \001(\0132\022.context.Timestamp" + + "\"0\n\016SubscriptionID\022\036\n\007subs_id\030\001 \001(\0132\r.co" + + "ntext.Uuid\"b\n\014SubsResponse\022+\n\007subs_id\030\001 " + + "\001(\0132\032.monitoring.SubscriptionID\022%\n\010kpi_l" + + "ist\030\002 \001(\0132\023.monitoring.KpiList\"?\n\010SubsLi" + + "st\0223\n\017subs_descriptor\030\001 \003(\0132\032.monitoring" + + ".SubsDescriptor\"\337\001\n\017AlarmDescriptor\022%\n\010a" + + "larm_id\030\001 \001(\0132\023.monitoring.AlarmID\022\031\n\021al" + + "arm_description\030\002 \001(\t\022\014\n\004name\030\003 \001(\t\022!\n\006k" + + "pi_id\030\004 \001(\0132\021.monitoring.KpiId\0222\n\017kpi_va" + + "lue_range\030\005 \001(\0132\031.monitoring.KpiValueRan" + + "ge\022%\n\ttimestamp\030\006 \001(\0132\022.context.Timestam" + + "p\"*\n\007AlarmID\022\037\n\010alarm_id\030\001 \001(\0132\r.context" + + ".Uuid\"}\n\021AlarmSubscription\022%\n\010alarm_id\030\001" + + " \001(\0132\023.monitoring.AlarmID\022\036\n\026subscriptio" + + "n_timeout_s\030\002 \001(\002\022!\n\031subscription_freque" + + "ncy_ms\030\003 \001(\002\"k\n\rAlarmResponse\022%\n\010alarm_i" + + "d\030\001 \001(\0132\023.monitoring.AlarmID\022\014\n\004text\030\002 \001" + + "(\t\022%\n\010kpi_list\030\003 \001(\0132\023.monitoring.KpiLis" + + "t\"B\n\tAlarmList\0225\n\020alarm_descriptor\030\001 \003(\013" + + "2\033.monitoring.AlarmDescriptor2\234\t\n\021Monito" + + "ringService\0228\n\006SetKpi\022\031.monitoring.KpiDe" + + "scriptor\032\021.monitoring.KpiId\"\000\0220\n\tDeleteK" + + "pi\022\021.monitoring.KpiId\032\016.context.Empty\"\000\022" + + "B\n\020GetKpiDescriptor\022\021.monitoring.KpiId\032\031" + + ".monitoring.KpiDescriptor\"\000\022G\n\024GetKpiDes" + + "criptorList\022\016.context.Empty\032\035.monitoring" + + ".KpiDescriptorList\"\000\022/\n\nIncludeKpi\022\017.mon" + + "itoring.Kpi\032\016.context.Empty\"\000\022=\n\nMonitor" + + "Kpi\022\035.monitoring.MonitorKpiRequest\032\016.con" + + "text.Empty\"\000\022?\n\014QueryKpiData\022\024.monitorin" + + "g.KpiQuery\032\027.monitoring.RawKpiTable\"\000\022N\n" + + "\022SetKpiSubscription\022\032.monitoring.SubsDes" + + "criptor\032\030.monitoring.SubsResponse\"\0000\001\022M\n" + + "\021GetSubsDescriptor\022\032.monitoring.Subscrip" + + "tionID\032\032.monitoring.SubsDescriptor\"\000\022:\n\020" + + "GetSubscriptions\022\016.context.Empty\032\024.monit" + + "oring.SubsList\"\000\022B\n\022DeleteSubscription\022\032" + + ".monitoring.SubscriptionID\032\016.context.Emp" + + "ty\"\000\022A\n\013SetKpiAlarm\022\033.monitoring.AlarmDe" + + "scriptor\032\023.monitoring.AlarmID\"\000\0224\n\tGetAl" + + "arms\022\016.context.Empty\032\025.monitoring.AlarmL" + + "ist\"\000\022H\n\022GetAlarmDescriptor\022\023.monitoring" + + ".AlarmID\032\033.monitoring.AlarmDescriptor\"\000\022" + + "V\n\026GetAlarmResponseStream\022\035.monitoring.A" + + "larmSubscription\032\031.monitoring.AlarmRespo" + + "nse\"\0000\001\0224\n\013DeleteAlarm\022\023.monitoring.Alar" + + "mID\032\016.context.Empty\"\000\0226\n\014GetStreamKpi\022\021." + + "monitoring.KpiId\032\017.monitoring.Kpi\"\0000\001\0225\n" + + "\rGetInstantKpi\022\021.monitoring.KpiId\032\017.moni" + + "toring.Kpi\"\000b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, @@ -21468,7 +21672,7 @@ public final class Monitoring { internal_static_monitoring_KpiDescriptor_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_monitoring_KpiDescriptor_descriptor, - new java.lang.String[] { "KpiId", "KpiDescription", "KpiIdList", "KpiSampleType", "DeviceId", "EndpointId", "ServiceId", "SliceId", "ConnectionId", }); + new java.lang.String[] { "KpiId", "KpiDescription", "KpiIdList", "KpiSampleType", "DeviceId", "EndpointId", "ServiceId", "SliceId", "ConnectionId", "LinkId", }); internal_static_monitoring_MonitorKpiRequest_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_monitoring_MonitorKpiRequest_fieldAccessorTable = new diff --git a/src/policy/target/kubernetes/kubernetes.yml b/src/policy/target/kubernetes/kubernetes.yml index 5a576268f..8f4032f60 100644 --- a/src/policy/target/kubernetes/kubernetes.yml +++ b/src/policy/target/kubernetes/kubernetes.yml @@ -1,23 +1,10 @@ -# Copyright 2022-2023 ETSI TeraFlowSDN - TFS OSG (https://tfs.etsi.org/) -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. --- apiVersion: v1 kind: Service metadata: annotations: - app.quarkus.io/commit-id: 447bcf0c8224e0b15715f54d82a0936dd93f5542 - app.quarkus.io/build-timestamp: 2023-11-07 - 12:10:37 +0000 + app.quarkus.io/commit-id: daed600da1c35d66317293d78bfe3cc6b69cff43 + app.quarkus.io/build-timestamp: 2023-12-13 - 12:12:18 +0000 prometheus.io/scrape: "true" prometheus.io/path: /q/metrics prometheus.io/port: "8080" @@ -42,8 +29,8 @@ apiVersion: apps/v1 kind: Deployment metadata: annotations: - app.quarkus.io/commit-id: 447bcf0c8224e0b15715f54d82a0936dd93f5542 - app.quarkus.io/build-timestamp: 2023-11-07 - 12:10:37 +0000 + app.quarkus.io/commit-id: daed600da1c35d66317293d78bfe3cc6b69cff43 + app.quarkus.io/build-timestamp: 2023-12-13 - 12:12:18 +0000 prometheus.io/scrape: "true" prometheus.io/path: /q/metrics prometheus.io/port: "8080" @@ -60,8 +47,8 @@ spec: template: metadata: annotations: - app.quarkus.io/commit-id: 447bcf0c8224e0b15715f54d82a0936dd93f5542 - app.quarkus.io/build-timestamp: 2023-11-07 - 12:10:37 +0000 + app.quarkus.io/commit-id: daed600da1c35d66317293d78bfe3cc6b69cff43 + app.quarkus.io/build-timestamp: 2023-12-13 - 12:12:18 +0000 prometheus.io/scrape: "true" prometheus.io/path: /q/metrics prometheus.io/port: "8080" @@ -76,10 +63,10 @@ spec: valueFrom: fieldRef: fieldPath: metadata.namespace - - name: CONTEXT_SERVICE_HOST - value: contextservice - name: SERVICE_SERVICE_HOST value: serviceservice + - name: CONTEXT_SERVICE_HOST + value: contextservice - name: MONITORING_SERVICE_HOST value: monitoringservice image: labs.etsi.org:5050/tfs/controller/policy:0.1.0 -- GitLab