type E2TInstance struct {
Address string `json:"address"`
+ PodName string `json:"podName"`
AssociatedRanList []string `json:"associatedRanList"`
KeepAliveTimestamp int64 `json:"keepAliveTimestamp"`
State E2TInstanceState `json:"state"`
- DeletionTimestamp int64 `json:"deletionTimeStamp"`
+ DeletionTimestamp int64 `json:"deletionTimeStamp"`
}
-func NewE2TInstance(address string) *E2TInstance {
- return &E2TInstance{
+func NewE2TInstance(address string, podName string) *E2TInstance {
+ return &E2TInstance{
Address: address,
KeepAliveTimestamp: time.Now().UnixNano(),
State: Active,
AssociatedRanList: []string{},
+ PodName: podName,
}
}
go 1.12
require (
- gerrit.o-ran-sc.org/r/ric-plt/nodeb-rnib.git/common v1.0.32
- gerrit.o-ran-sc.org/r/ric-plt/nodeb-rnib.git/entities v1.0.32
+ gerrit.o-ran-sc.org/r/ric-plt/nodeb-rnib.git/common v1.0.34
+ gerrit.o-ran-sc.org/r/ric-plt/nodeb-rnib.git/entities v1.0.34
gerrit.o-ran-sc.org/r/ric-plt/sdlgo v0.5.0
github.com/golang/protobuf v1.3.4
github.com/pkg/errors v0.8.1