getFilterList();
15 | /**
16 | * repeated bytes filter = 1;
17 | * @return The count of filter.
18 | */
19 | int getFilterCount();
20 | /**
21 | * repeated bytes filter = 1;
22 | * @param index The index of the element to return.
23 | * @return The filter at the given index.
24 | */
25 | com.google.protobuf.ByteString getFilter(int index);
26 | }
27 |
--------------------------------------------------------------------------------
/voltmf/src/main/java/org/broadband_forum/obbaa/onu/message/gpb/message/HelloOrBuilder.java:
--------------------------------------------------------------------------------
1 | // Generated by the protocol buffer compiler. DO NOT EDIT!
2 | // source: tr451_vomci_nbi_message.proto
3 |
4 | package org.broadband_forum.obbaa.onu.message.gpb.message;
5 |
6 | public interface HelloOrBuilder extends
7 | // @@protoc_insertion_point(interface_extends:tr451_vomci_nbi_message.v1.Hello)
8 | com.google.protobuf.MessageOrBuilder {
9 |
10 | /**
11 | *
12 | *The service endpoint the client
13 | *
14 | *
15 | * string service_endpoint_name = 1;
16 | * @return The serviceEndpointName.
17 | */
18 | java.lang.String getServiceEndpointName();
19 | /**
20 | *
21 | *The service endpoint the client
22 | *
23 | *
24 | * string service_endpoint_name = 1;
25 | * @return The bytes for serviceEndpointName.
26 | */
27 | com.google.protobuf.ByteString
28 | getServiceEndpointNameBytes();
29 | }
30 |
--------------------------------------------------------------------------------
/voltmf/src/main/java/org/broadband_forum/obbaa/onu/message/gpb/message/NotificationOrBuilder.java:
--------------------------------------------------------------------------------
1 | // Generated by the protocol buffer compiler. DO NOT EDIT!
2 | // source: tr451_vomci_nbi_message.proto
3 |
4 | package org.broadband_forum.obbaa.onu.message.gpb.message;
5 |
6 | public interface NotificationOrBuilder extends
7 | // @@protoc_insertion_point(interface_extends:tr451_vomci_nbi_message.v1.Notification)
8 | com.google.protobuf.MessageOrBuilder {
9 |
10 | /**
11 | * string event_timestamp = 1;
12 | * @return The eventTimestamp.
13 | */
14 | java.lang.String getEventTimestamp();
15 | /**
16 | * string event_timestamp = 1;
17 | * @return The bytes for eventTimestamp.
18 | */
19 | com.google.protobuf.ByteString
20 | getEventTimestampBytes();
21 |
22 | /**
23 | * bytes data = 2;
24 | * @return The data.
25 | */
26 | com.google.protobuf.ByteString getData();
27 | }
28 |
--------------------------------------------------------------------------------
/voltmf/src/main/java/org/broadband_forum/obbaa/onu/message/gpb/message/ReplaceConfigRespOrBuilder.java:
--------------------------------------------------------------------------------
1 | // Generated by the protocol buffer compiler. DO NOT EDIT!
2 | // source: tr451_vomci_nbi_message.proto
3 |
4 | package org.broadband_forum.obbaa.onu.message.gpb.message;
5 |
6 | public interface ReplaceConfigRespOrBuilder extends
7 | // @@protoc_insertion_point(interface_extends:tr451_vomci_nbi_message.v1.ReplaceConfigResp)
8 | com.google.protobuf.MessageOrBuilder {
9 |
10 | /**
11 | * .tr451_vomci_nbi_message.v1.Status status_resp = 1;
12 | * @return Whether the statusResp field is set.
13 | */
14 | boolean hasStatusResp();
15 | /**
16 | * .tr451_vomci_nbi_message.v1.Status status_resp = 1;
17 | * @return The statusResp.
18 | */
19 | org.broadband_forum.obbaa.onu.message.gpb.message.Status getStatusResp();
20 | /**
21 | * .tr451_vomci_nbi_message.v1.Status status_resp = 1;
22 | */
23 | org.broadband_forum.obbaa.onu.message.gpb.message.StatusOrBuilder getStatusRespOrBuilder();
24 | }
25 |
--------------------------------------------------------------------------------
/voltmf/src/main/java/org/broadband_forum/obbaa/onu/message/gpb/message/UpdateConfigInstanceOrBuilder.java:
--------------------------------------------------------------------------------
1 | // Generated by the protocol buffer compiler. DO NOT EDIT!
2 | // source: tr451_vomci_nbi_message.proto
3 |
4 | package org.broadband_forum.obbaa.onu.message.gpb.message;
5 |
6 | public interface UpdateConfigInstanceOrBuilder extends
7 | // @@protoc_insertion_point(interface_extends:tr451_vomci_nbi_message.v1.UpdateConfigInstance)
8 | com.google.protobuf.MessageOrBuilder {
9 |
10 | /**
11 | *
12 | * Full current configuration
13 | *
14 | *
15 | * bytes current_config_inst = 1;
16 | * @return The currentConfigInst.
17 | */
18 | com.google.protobuf.ByteString getCurrentConfigInst();
19 |
20 | /**
21 | *
22 | * instance
23 | *
24 | *
25 | * bytes delta_config = 2;
26 | * @return The deltaConfig.
27 | */
28 | com.google.protobuf.ByteString getDeltaConfig();
29 | }
30 |
--------------------------------------------------------------------------------
/voltmf/src/main/java/org/broadband_forum/obbaa/onu/message/gpb/message/UpdateConfigReplicaOrBuilder.java:
--------------------------------------------------------------------------------
1 | // Generated by the protocol buffer compiler. DO NOT EDIT!
2 | // source: tr451_vomci_nbi_message.proto
3 |
4 | package org.broadband_forum.obbaa.onu.message.gpb.message;
5 |
6 | public interface UpdateConfigReplicaOrBuilder extends
7 | // @@protoc_insertion_point(interface_extends:tr451_vomci_nbi_message.v1.UpdateConfigReplica)
8 | com.google.protobuf.MessageOrBuilder {
9 |
10 | /**
11 | *
12 | * List of Node changes with the
13 | *
14 | *
15 | * bytes delta_config = 1;
16 | * @return The deltaConfig.
17 | */
18 | com.google.protobuf.ByteString getDeltaConfig();
19 | }
20 |
--------------------------------------------------------------------------------
/voltmf/src/main/java/org/broadband_forum/obbaa/onu/message/gpb/message/UpdateConfigRespOrBuilder.java:
--------------------------------------------------------------------------------
1 | // Generated by the protocol buffer compiler. DO NOT EDIT!
2 | // source: tr451_vomci_nbi_message.proto
3 |
4 | package org.broadband_forum.obbaa.onu.message.gpb.message;
5 |
6 | public interface UpdateConfigRespOrBuilder extends
7 | // @@protoc_insertion_point(interface_extends:tr451_vomci_nbi_message.v1.UpdateConfigResp)
8 | com.google.protobuf.MessageOrBuilder {
9 |
10 | /**
11 | * .tr451_vomci_nbi_message.v1.Status status_resp = 1;
12 | * @return Whether the statusResp field is set.
13 | */
14 | boolean hasStatusResp();
15 | /**
16 | * .tr451_vomci_nbi_message.v1.Status status_resp = 1;
17 | * @return The statusResp.
18 | */
19 | org.broadband_forum.obbaa.onu.message.gpb.message.Status getStatusResp();
20 | /**
21 | * .tr451_vomci_nbi_message.v1.Status status_resp = 1;
22 | */
23 | org.broadband_forum.obbaa.onu.message.gpb.message.StatusOrBuilder getStatusRespOrBuilder();
24 | }
25 |
--------------------------------------------------------------------------------
/voltmf/src/main/resources/kafka_config.properties:
--------------------------------------------------------------------------------
1 | bootstrap.servers=kafka:9092
2 | acks=all
--------------------------------------------------------------------------------
/voltmf/src/test/resources/create-onu-request-to-proxy.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | onu1
7 | bbf-vomcit:gpon
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/voltmf/src/test/resources/create-onu-request-to-vomci.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | onu1
7 | bbf-vomcit:gpon
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/voltmf/src/test/resources/delete-onu-request-to-proxy.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | onu1
7 | bbf-vomcit:gpon
8 |
9 | true
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/voltmf/src/test/resources/delete-onu-request-to-vomci.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | onu1
7 | bbf-vomcit:gpon
8 |
9 | true
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/voltmf/src/test/resources/detect-onu-notification.json:
--------------------------------------------------------------------------------
1 | {
2 | "olt-name": "OLT1",
3 | "payload": "{\"operation\":\"detect\",\"identifier\":\"null\"}",
4 | "onu-name": "onu1",
5 | "channel-termination-ref": "CT_1",
6 | "event": "detect",
7 | "onu-id": "1",
8 | "labels": "{\"name\":\"vendor\",\"value\":\"bbf\"}"
9 | }
--------------------------------------------------------------------------------
/voltmf/src/test/resources/equipment-id-null-result.xml:
--------------------------------------------------------------------------------
1 |
2 | BRCM00000001
3 | failed-connectivity
4 |
5 |
6 |
7 |
8 | 0
9 | 1.0
10 | true
11 | true
12 | true
13 | product-1.0
14 | 1234
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/voltmf/src/test/resources/ietf-alarms-alarm-notification-cleared.json:
--------------------------------------------------------------------------------
1 | {
2 | "ietf-alarms:alarm-notification": {
3 | "resource": "/ietf-hardware:hardware/component[name='ontAniPort_ont1']",
4 | "alarm-type-id": "bbf-hardware-transceiver-alarm-types:rx-power-low",
5 | "alarm-type-qualifier": "",
6 | "time": "2022-01-09T13:53:36+00:00",
7 | "perceived-severity": "cleared",
8 | "alarm-text": "example alarm cleared"
9 | }
10 | }
11 | }
--------------------------------------------------------------------------------
/voltmf/src/test/resources/ietf-alarms-alarm-notification.json:
--------------------------------------------------------------------------------
1 | {
2 | "ietf-alarms:alarm-notification": {
3 | "resource": "/ietf-interfaces:interfaces/interface[name='eth1']",
4 | "alarm-type-id": "bbf-obbaa-ethernet-alarm-types:loss-of-signal",
5 | "alarm-type-qualifier": "",
6 | "time": "2022-01-09T13:53:36+00:00",
7 | "perceived-severity": "major",
8 | "alarm-text": "example alarm"
9 | }
10 | }
--------------------------------------------------------------------------------
/voltmf/src/test/resources/internal-get-request-filter.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | onu1
5 |
6 |
7 |
8 |
9 |
10 |
11 | onu1
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/voltmf/src/test/resources/internal-get-request.json:
--------------------------------------------------------------------------------
1 | {
2 | "olt-name": "OLT1",
3 | "channel-termination-ref": "CT_1",
4 | "event": "request",
5 | "payload": "{\"operation\":\"get\",\"identifier\":\"0\",\"filters\":{\"network-manager:device-management\":{\"device-state\":{\"bbf-obbaa-onu-management:onu-state-info\":{\"equipment-id\":\"\",\"software-images\":{\"software-image\":{}}}}}}",
6 | "onu-id": "1",
7 | "labels": "{\"name\":\"vendor\",\"value\":\"ABCD\"}"
8 | }
--------------------------------------------------------------------------------
/voltmf/src/test/resources/multiple-software-image-result.xml:
--------------------------------------------------------------------------------
1 |
2 | BRCM00000001
3 | successful
4 | eqpt-1
5 |
6 |
7 |
8 | 0
9 | 1.0
10 | true
11 | true
12 | true
13 | product-1.0
14 | 1234
15 |
16 |
17 | 1
18 | 2.0
19 | false
20 | false
21 | false
22 | product2
23 | 4321
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/voltmf/src/test/resources/onu-alignment-status-notification-aligned.json:
--------------------------------------------------------------------------------
1 | {
2 | "bbf-vomci-function:onu-alignment-result": {
3 | "event-time": "2021-06-01T15:53:36+00:00",
4 | "onu-name": "onu1",
5 | "datastore-tag" : "1",
6 | "alignment-state": "aligned"
7 | }
8 | }
--------------------------------------------------------------------------------
/voltmf/src/test/resources/onu-alignment-status-notification-misaligned.json:
--------------------------------------------------------------------------------
1 | {
2 | "bbf-vomci-function:onu-alignment-result": {
3 | "event-time": "2021-06-01T15:53:36+00:00",
4 | "onu-name": "onu1",
5 | "datastore-tag" : "1",
6 | "alignment-state": "unaligned"
7 | }
8 | }
--------------------------------------------------------------------------------
/voltmf/src/test/resources/onu-authentication-report-action-error-response.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | application
4 | invalid-value
5 | error
6 | baa-xpon-onu-types:onu-not-present
7 | The ONU is not present on the channel termination.
8 |
9 |
10 |
--------------------------------------------------------------------------------
/voltmf/src/test/resources/onu-authentication-result-for-device-null-values.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/voltmf/src/test/resources/onu-authentication-result-for-device.xml:
--------------------------------------------------------------------------------
1 |
2 | vomci-expected-by-olt-but-inconsistent-pmaa-mgmt-mode
3 | OLT1
4 | CT_1
5 | ABCD12345678
6 | REG123
7 | 1
8 | vomci-use
9 | ONU1
10 | ONU1
11 |
--------------------------------------------------------------------------------
/voltmf/src/test/resources/onu-authentication-result-for-notification-null-values.xml:
--------------------------------------------------------------------------------
1 |
2 | ont1
3 |
--------------------------------------------------------------------------------
/voltmf/src/test/resources/onu-authentication-result-for-notification.xml:
--------------------------------------------------------------------------------
1 |
2 | unable-to-authenticate-onu
3 | OLT1
4 | CT_1
5 | 1
6 | ABCD12345678
7 | REG123
8 | vomci-use
9 | ont1
10 |
11 |
--------------------------------------------------------------------------------
/voltmf/src/test/resources/onu-misalignment-notification.json:
--------------------------------------------------------------------------------
1 | {
2 | "bbf-vomci-function:onu-alarm-misalignment": {
3 | "onu-name": "onu1",
4 | "detected-sequence-number": 5
5 | }
6 | }
--------------------------------------------------------------------------------
/voltmf/src/test/resources/onu-state-change-notification_1_0.txt:
--------------------------------------------------------------------------------
1 |
2 | 2019-07-25T05:53:36+00:00
3 |
4 | %s
5 | %s
6 | %s
7 | %s
8 | %s
9 | 2019-07-25T05:53:36+00:00
10 | %s
11 |
12 |
--------------------------------------------------------------------------------
/voltmf/src/test/resources/onu-state-change-notification_2_0.txt:
--------------------------------------------------------------------------------
1 |
2 | 2021-06-25T05:47:25+00:00
3 |
4 |
5 | %s
6 |
7 |
8 | %s
9 | %s
10 | 2021-06-25T05:47:25Z
11 | %s
12 | %s
13 | %s
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/voltmf/src/test/resources/onu-state-online-result.xml:
--------------------------------------------------------------------------------
1 |
2 | BRCM00000001
3 | successful
4 | eqpt-1
5 |
6 |
7 |
8 | 0
9 | 1.0
10 | true
11 | true
12 | true
13 | product-1.0
14 | 1234
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/voltmf/src/test/resources/software-info-null-result.xml:
--------------------------------------------------------------------------------
1 |
2 | BRCM00000001
3 | failed-connectivity
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/voltmf/src/test/resources/undetect-onu-notification.json:
--------------------------------------------------------------------------------
1 | {
2 | "olt-name": "OLT1",
3 | "payload": "{\"operation\":\"undetect\",\"identifier\":\"null\"}",
4 | "onu-name": "onu1",
5 | "channel-termination-ref": "CT_1",
6 | "event": "undetect",
7 | "onu-id": "1",
8 | "labels": "{\"name\":\"vendor\",\"value\":\"bbf\"}"
9 | }
--------------------------------------------------------------------------------