summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
88debac)
Signed-off-by: Vidhu <vidhu.pandey@hcl.com>
Change-Id: I1c0bf73ec50892588b7d658fa8914a53c2d2779e
Install all the downloaded yang models.
$cd l2/build/yang
Install all the downloaded yang models.
$cd l2/build/yang
- $sysrepoctl -i _3gpp-common-top.yang
- $sysrepoctl -i _3gpp-5g-common-yang-types.yang
$sysrepoctl -i _3gpp-common-yang-types.yang
$sysrepoctl -i _3gpp-common-yang-types.yang
- $sysrepoctl -i _3gpp-common-managed-element.yang
+ $sysrepoctl -i _3gpp-common-top.yang
$sysrepoctl -i _3gpp-common-measurements.yang
$sysrepoctl -i _3gpp-common-measurements.yang
- $sysrepoctl -i _3gpp-common-subscription-control.yang
- $sysrepoctl -i _3gpp-common-fm.yang
$sysrepoctl -i _3gpp-common-trace.yang
$sysrepoctl -i _3gpp-common-managed-function.yang
$sysrepoctl -i _3gpp-common-trace.yang
$sysrepoctl -i _3gpp-common-managed-function.yang
+ $sysrepoctl -i _3gpp-common-subscription-control.yang
+ $sysrepoctl -i _3gpp-common-fm.yang
+ $sysrepoctl -i _3gpp-common-managed-element.yang
+ $sysrepoctl -i _3gpp-5g-common-yang-types.yang
+ $sysrepoctl -i _3gpp-nr-nrm-rrmpolicy.yang
$sysrepoctl -i _3gpp-nr-nrm-gnbdufunction.yang
$sysrepoctl -i _3gpp-nr-nrm-nrcelldu.yang
$sysrepoctl -i _3gpp-nr-nrm-gnbdufunction.yang
$sysrepoctl -i _3gpp-nr-nrm-nrcelldu.yang
- $sysrepoctl -i _3gpp-nr-nrm-rrmpolicy.yang
3. Start Netopeer2-server:
3. Start Netopeer2-server:
- Install all the downloaded yang models.
- Ubuntu :
- Install all the downloaded yang models.
- Ubuntu :
| cd <O-DU High Directory>/l2/build/yang
| cd <O-DU High Directory>/l2/build/yang
- | sysrepoctl -i _3gpp-common-top.yang
- | sysrepoctl -i _3gpp-5g-common-yang-types.yang
| sysrepoctl -i _3gpp-common-yang-types.yang
| sysrepoctl -i _3gpp-common-yang-types.yang
- | sysrepoctl -i _3gpp-common-managed-element.yang
+ | sysrepoctl -i _3gpp-common-top.yang
| sysrepoctl -i _3gpp-common-measurements.yang
| sysrepoctl -i _3gpp-common-measurements.yang
- | sysrepoctl -i _3gpp-common-subscription-control.yang
- | sysrepoctl -i _3gpp-common-fm.yang
| sysrepoctl -i _3gpp-common-trace.yang
| sysrepoctl -i _3gpp-common-managed-function.yang
| sysrepoctl -i _3gpp-common-trace.yang
| sysrepoctl -i _3gpp-common-managed-function.yang
+ | sysrepoctl -i _3gpp-common-subscription-control.yang
+ | sysrepoctl -i _3gpp-common-fm.yang
+ | sysrepoctl -i _3gpp-common-managed-element.yang
+ | sysrepoctl -i _3gpp-5g-common-yang-types.yang
+ | sysrepoctl -i _3gpp-nr-nrm-rrmpolicy.yang
| sysrepoctl -i _3gpp-nr-nrm-gnbdufunction.yang
| sysrepoctl -i _3gpp-nr-nrm-nrcelldu.yang
| sysrepoctl -i _3gpp-nr-nrm-gnbdufunction.yang
| sysrepoctl -i _3gpp-nr-nrm-nrcelldu.yang
- | sysrepoctl -i _3gpp-nr-nrm-rrmpolicy.yang
- Start Netopeer2-server:
- Start Netopeer2-server:
VesEvent::VesEvent(VesEventType eventType)
: mVesEventType(eventType) {
VesEvent::VesEvent(VesEventType eventType)
: mVesEventType(eventType) {
- getConfig();
- createUrl();
- mHttpClient = new HttpClient(mVesUrl, mVesServerUsername, mVesServerPassword);
+
+/*******************************************************************
+ *
+ * @brief Initialize the Ves Event
+ *
+ * @details
+ *
+ * Function : init
+ *
+ * Functionality:
+ * - Intialize the Ves event with configuration
+ * Sets the URL
+ * Instantiates the http client
+ *
+ * @params[in] IN - void
+ * @return void
+ *
+ * ****************************************************************/
+
+void VesEvent::init(){
+
+ getConfig();
+ createUrl();
+ mHttpClient = new HttpClient(mVesUrl, mVesServerUsername, mVesServerPassword);
+
+}
+
/*******************************************************************
*
* @brief prepare Ves Event Fields
/*******************************************************************
*
* @brief prepare Ves Event Fields
+/*******************************************************************
+ *
+ * @brief Send the Ves event over Http
+ *
+ * @details
+ *
+ * Function : send
+ *
+ * Functionality:
+ * - Sends the Ves event over http
+ *
+ * @params[in] IN - void
+ * @return true - success
+ * false - failure
+ *
+ * ****************************************************************/
+
bool VesEvent::send()
{
return mHttpClient->send(mSendData);
bool VesEvent::send()
{
return mHttpClient->send(mSendData);
{
mVesUrl = "https://" + mVesServerIp + ":" + mVesServerPort + "/eventListener/v7";
}
{
mVesUrl = "https://" + mVesServerIp + ":" + mVesServerPort + "/eventListener/v7";
}
/**********************************************************************
End of file
**********************************************************************/
/**********************************************************************
End of file
**********************************************************************/
VesEvent();
VesEvent(VesEventType);
virtual ~VesEvent();
VesEvent();
VesEvent(VesEventType);
virtual ~VesEvent();
bool prepare(const Message* msg = NULL);
bool send();
bool prepare(const Message* msg = NULL);
bool send();
if(!mVesEvent->prepare(msg)) {
O1_LOG("\nO1 VesEventHandler : Failed to prepare VES message");
ret = false;
if(!mVesEvent->prepare(msg)) {
O1_LOG("\nO1 VesEventHandler : Failed to prepare VES message");
ret = false;