}
import tailf-common {
- prefix tailf;
+ prefix tailf-common;
}
- tailf:annotate "/rw-cloud:cloud/rw-cloud:account/rw-cloud:connection-status" {
- tailf:callpoint rw_callpoint;
+ tailf-common:annotate "/rw-cloud:cloud/rw-cloud:account/rw-cloud:connection-status" {
+ tailf-common:callpoint rw_callpoint;
}
- tailf:annotate "/rw-cloud:update-cloud-status" {
- tailf:actionpoint rw_actionpoint;
+ tailf-common:annotate "/rw-cloud:update-cloud-status" {
+ tailf-common:actionpoint rw_actionpoint;
}
}
import rw-pb-ext {
- prefix "rwpb";
- }
-
- import rw-cli-ext {
- prefix "rwcli";
- }
-
- import rw-yang-types {
- prefix "rwt";
+ prefix "rw-pb-ext";
}
import rwcal {
}
container cloud {
- rwpb:msg-new CloudConfig;
+ rw-pb-ext:msg-new CloudConfig;
list account {
- rwpb:msg-new CloudAccount;
+ rw-pb-ext:msg-new CloudAccount;
description "Configure Cloud Accounts";
max-elements 16;
}
import tailf-common {
- prefix tailf;
+ prefix tailf-common;
}
- tailf:annotate "/rw-config-agent:config-agent/rw-config-agent:account/rw-config-agent:connection-status" {
- tailf:callpoint rw_callpoint;
+ tailf-common:annotate "/rw-config-agent:config-agent/rw-config-agent:account/rw-config-agent:connection-status" {
+ tailf-common:callpoint rw_callpoint;
}
- tailf:annotate "/rw-config-agent:update-cfg-agent-status" {
- tailf:actionpoint rw_actionpoint;
+ tailf-common:annotate "/rw-config-agent:update-cfg-agent-status" {
+ tailf-common:actionpoint rw_actionpoint;
}
}
prefix rw-sdn;
}
import tailf-common {
- prefix tailf;
+ prefix tailf-common;
}
- tailf:annotate "/rw-sdn:sdn-account/rw-sdn:connection-status" {
- tailf:callpoint rw_callpoint;
+ tailf-common:annotate "/rw-sdn:sdn-account/rw-sdn:connection-status" {
+ tailf-common:callpoint rw_callpoint;
}
- tailf:annotate "/rw-sdn:update-sdn-status" {
- tailf:actionpoint rw_actionpoint;
+ tailf-common:annotate "/rw-sdn:update-sdn-status" {
+ tailf-common:actionpoint rw_actionpoint;
}
}
import rw-pb-ext {
- prefix "rwpb";
- }
-
- import rw-cli-ext {
- prefix "rwcli";
- }
-
- import rw-yang-types {
- prefix "rwt";
+ prefix "rw-pb-ext";
}
import rwsdn {
}
list sdn-account {
- rwpb:msg-new SDNAccountConfig;
+ rw-pb-ext:msg-new SDNAccountConfig;
key "name";
leaf name {
add_custom_command(
OUTPUT ${PACKAGE_OUTPUT}
COMMAND ${CMAKE_CURRENT_BINARY_DIR}/generate_packages.sh
- DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/ping_pong_nsd.py
+ DEPENDS mano_yang rwcloud_yang ${CMAKE_CURRENT_SOURCE_DIR}/ping_pong_nsd.py
)
add_custom_target(ping_pong_pkg_gen ALL
- DEPENDS mano_yang ${PACKAGE_OUTPUT}
+ DEPENDS mano_yang rwcloud_yang ${PACKAGE_OUTPUT}
)
install(
FILES ${PACKAGE_OUTPUT}
DESTINATION
usr/rift/mano/examples/ping_pong_ns
- COMPONENT ${PKG_LONG_NAME}
+ COMPONENT ${PKG_LONG_NAME}
)
install(
PING_QCOW_IMAGE=${RIFT_ROOT}/images/Fedora-x86_64-20-20131211.1-sda-ping.qcow2
# These paths are needed for finding the overrides and so files
-PYTHONPATH=${PYTHONPATH}:@RIFT_SUBMODULE_SOURCE_ROOT@/rwvcs/ra:@RIFT_SUBMODULE_BINARY_ROOT@/models/plugins/yang
-PYTHON3PATH=${PYTHON3PATH}:@RIFT_SUBMODULE_SOURCE_ROOT@/rwvcs/ra:@RIFT_SUBMODULE_BINARY_ROOT@/models/plugins/yang
-LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:@RIFT_SUBMODULE_BINARY_ROOT@/models/plugins/yang
+PYTHONPATH=@RIFT_SUBMODULE_SOURCE_ROOT@/rwvcs/ra:@RIFT_SUBMODULE_BINARY_ROOT@/models/plugins/yang:${PYTHONPATH}
+PYTHON3PATH=@RIFT_SUBMODULE_SOURCE_ROOT@/rwvcs/ra:@RIFT_SUBMODULE_BINARY_ROOT@/models/plugins/yang:${PYTHON3PATH}
+LD_LIBRARY_PATH=@RIFT_SUBMODULE_BINARY_ROOT@/models/plugins/yang:@RIFT_SUBMODULE_BINARY_ROOT@/common/plugins/yang:${LD_LIBRARY_PATH}
#Rift Logos
PING_VNFD_LOGO=${SOURCE_DIR}/rift_logo.png
RwVnfdYang,
VnfdYang,
RwYang,
- )
+)
try:
${CMAKE_CURRENT_BINARY_DIR}/generate_tidgen_packages.sh
DEPENDS
+ mano_yang
+ rwcloud_yang
${RIFT_SUBMODULE_SOURCE_ROOT}/models/openmano/test/tidgen_ns_2sriov.yaml
${RIFT_SUBMODULE_SOURCE_ROOT}/models/openmano/test/tidgen_ns_4sriov.yaml
${RIFT_SUBMODULE_SOURCE_ROOT}/models/openmano/test/tidgen_vnf_2sriov.yaml
add_custom_target(tidgen ALL
DEPENDS
mano_yang
+ rwcloud_yang
${CMAKE_CURRENT_BINARY_DIR}/2tidgenMWC_2sriov.tar.gz
${CMAKE_CURRENT_BINARY_DIR}/tidgenMWC_2sriov.tar.gz
${CMAKE_CURRENT_BINARY_DIR}/2tidgenMWC_4sriov.tar.gz
${CMAKE_CURRENT_BINARY_DIR}/2tidgenMWC_2sriov_no_ctrlnet.tar.gz
${CMAKE_CURRENT_BINARY_DIR}/tidgenMWC_2sriov_no_ctrlnet.tar.gz
-
- DESTINATION
+ DESTINATION
usr/rift/mano/examples/tidgen_ns
COMPONENT ${PKG_LONG_NAME}
)
# These paths are needed for finding the overrides and so files
PYTHONPATH=${PYTHONPATH}:@RIFT_SUBMODULE_SOURCE_ROOT@/rwvcs/ra:@RIFT_SUBMODULE_BINARY_ROOT@/models/plugins/yang
PYTHON3PATH=${PYTHON3PATH}:@RIFT_SUBMODULE_SOURCE_ROOT@/rwvcs/ra:@RIFT_SUBMODULE_BINARY_ROOT@/models/plugins/yang
-LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:@RIFT_SUBMODULE_BINARY_ROOT@/models/plugins/yang
+LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:@RIFT_SUBMODULE_BINARY_ROOT@/models/plugins/yang:@RIFT_SUBMODULE_BINARY_ROOT@/common/plugins/yang
# Remove any old directories
rm -rf ${BINARY_DIR}/2tidgenMWC_4sriov
rwcloud_yang_gen
rwconfig_agent_yang_gen
mano-types_yang_gen
+ DEPENDS
+ rwcloud_yang
+ rwconfig_agent_yang
)
#rift_gen_yang_tree(mano-pyang-trees
}
import rw-config-agent {
- prefix "rw-ca";
+ prefix "rw-config-agent";
}
import rw-sdn {
The configuration for this VNF will be driven using the specified config
agent account";
type leafref {
- path "/rw-ca:config-agent/rw-ca:account/rw-ca:name";
+ path "/rw-config-agent:config-agent/rw-config-agent:account/rw-config-agent:name";
}
}
}