Customer Service Providers may have a large customer base, for each of their customers (Resellers), they will each need a Billing Entity. Once a Billing Entity is set-up, the initial products and products offers available on the Billing Entity are unit-based Product Offers.
There are many other product-based product offers based on resources (Server, Disk, Image etc.) which are used to charge, on a unit-level, the customer on the use of these resources.
Overview of Problem
The huge challenge for customers is re-using the product offers (mapped to each product or resource) from the Master Billing Entity to each of the Billing Entities within the Service Provider platform.
It can be repetitive and very easy for the customer to make mistakes in regards to pricing of each resource.
There is a product offer script available which can perform this action. The instructions for the script are listed below:
First, log into your FCO Management server as user 'root'.
Then run the following commands..
1) cd /root
//Download the duplicate product offers script
3) tar zxvf dupPO.tar.gz
4) apt-get update
5) apt-get install python-suds
You will now have a directory called 'dupPO'.
Configuration of the script
Now the script is installed it needs configured for the Billing Entity the customer wishes to move the product offers to. To do this, edit the file /root/dupPO/dup-po.py with your favourite text editor (such as vim).
Within the script, the customer should edit the following section of the script and then save the script:
# DO NOT EDIT ABOVE THIS LINE
#Constants - should be moved to an external settings file
# IP/host:Port of Admin API
HOST_NAME = 'host.fqdn.com:4443'
# Admin customer username (email address)
CUST_LOGIN = 'firstname.lastname@example.org'
# Admin customer Customer UUID
CUST_UUID = 'xxxx-xxxxx-xxxxx-xxxx-xxxxx'
# Password for admin customer specified above
PASS_WORD = 'password'
#Name of the BE to copy from
FROM_BE_NAME = 'Example MBE'
# Name of the BE to copy to
TO_BE_NAME = 'BE 2'
# Enter the UUID of a cluster to filter by
# Leave BLANK for ALL clusters or to bypass filter condition
CLUSTER_UUID = ''
# Enter a Cluster UUID to copy to.
# Leave empty to use the original cluster UUIDs.
TO_CLUSTER_UUID = ''
# DO NOT EDIT BELOW THIS LINE
Execute the Script
1) cd /root/dupPO
Next, run the script:
Author: G Totten
this solution has failed to answer your question please raise a ticket by emailing email@example.com
If it has, please vote below.