cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
vhannum
Community Manager
Community Manager

Loading Profiles and Profile Vectors on Mosaic Cloud Platform (for the TA5000 Plugin)

The following video outlines how to load profiles and profile vectors on Mosaic Cloud Platform for the TA5000 Mosaic CP Plugin. Transcripts of the commands used to perform these actions are provided below the video.

 

 

Profiles and Profile Vector (PV) Transcript

[root@host-10-255-68-238 opt]# ll
total 154108
-rw-r--r--.  1 root       staff       10390965 Jul 13  2022 adtn_602x_onu-2.1.0_py3-1.x86_64.rpm
-rw-r--r--.  1 root       staff       11323675 Nov 25 07:55 adtn_omci_onu-3.2.44_py3-1.x86_64.rpm
-rw-r--r--.  1 root       staff         396461 Dec 20 05:44 adtn-ta5k-base-profiles-3.0-27.zip
-rw-r--r--.  1 root       staff       13399926 Dec 21 06:27 adtn_ta5k_fttp-3.1.33_py3-1.x86_64.rpm
-rw-r--r--.  1 root       staff       10491380 Sep 23  2022 adtn_ta5k_general-2.0.42_py3-1.x86_64.rpm
drwxrwxr-x. 22 node-admin node-admin      4096 Apr  3 23:44 adtran
drwx--x--x.  4 root       root              28 Mar  1 07:32 containerd
drwx--x--x. 13 root       root             167 Apr  4 17:17 docker
drwxr-xr-x.  3 root       staff             85 Apr  3 23:43 sdx-agg-suite-plugin-23.1
-rw-r--r--.  1 root       staff      111790661 Apr  3 23:39 sdx-agg-suite-plugin-23.1.zip
[root@host-10-255-68-238 opt]# rm -rf sdx-agg-suite-plugin-23.1
[root@host-10-255-68-238 opt]# rm sdx-agg-suite-plugin-23.1.zip
rm: remove regular file ‘sdx-agg-suite-plugin-23.1.zip’? y
[root@host-10-255-68-238 opt]# ll
total 44936
-rw-r--r--.  1 root       staff      10390965 Jul 13  2022 adtn_602x_onu-2.1.0_py3-1.x86_64.rpm
-rw-r--r--.  1 root       staff      11323675 Nov 25 07:55 adtn_omci_onu-3.2.44_py3-1.x86_64.rpm
-rw-r--r--.  1 root       staff        396461 Dec 20 05:44 adtn-ta5k-base-profiles-3.0-27.zip
-rw-r--r--.  1 root       staff      13399926 Dec 21 06:27 adtn_ta5k_fttp-3.1.33_py3-1.x86_64.rpm
-rw-r--r--.  1 root       staff      10491380 Sep 23  2022 adtn_ta5k_general-2.0.42_py3-1.x86_64.rpm
drwxrwxr-x. 22 node-admin node-admin     4096 Apr  3 23:44 adtran
drwx--x--x.  4 root       root             28 Mar  1 07:32 containerd
drwx--x--x. 13 root       root            167 Apr  4 17:17 docker
[root@host-10-255-68-238 opt]#[root@host-10-255-68-238 opt]# ll
total 44936
-rw-r--r--.  1 root       staff      10390965 Jul 13  2022 adtn_602x_onu-2.1.0_py3-1.x86_64.rpm
-rw-r--r--.  1 root       staff      11323675 Nov 25 07:55 adtn_omci_onu-3.2.44_py3-1.x86_64.rpm
-rw-r--r--.  1 root       staff        396461 Dec 20 05:44 adtn-ta5k-base-profiles-3.0-27.zip
-rw-r--r--.  1 root       staff      13399926 Dec 21 06:27 adtn_ta5k_fttp-3.1.33_py3-1.x86_64.rpm
-rw-r--r--.  1 root       staff      10491380 Sep 23  2022 adtn_ta5k_general-2.0.42_py3-1.x86_64.rpm
drwxrwxr-x. 22 node-admin node-admin     4096 Apr  3 23:44 adtran
drwx--x--x.  4 root       root             28 Mar  1 07:32 containerd
drwx--x--x. 13 root       root            167 Apr  4 17:17 docker
[root@host-10-255-68-238 opt]# unzip adtn-ta5k-base-profiles-3.0-27.zip
Archive:  adtn-ta5k-base-profiles-3.0-27.zip
   creating: adtn-ta5k-base-profiles/
  inflating: adtn-ta5k-base-profiles/README.md
  inflating: adtn-ta5k-base-profiles/profile_user_guide-version-2022.4.pdf
   creating: adtn-ta5k-base-profiles/cda/
   creating: adtn-ta5k-base-profiles/cda/profiles/
  inflating: adtn-ta5k-base-profiles/cda/profiles/activate
  inflating: adtn-ta5k-base-profiles/cda/profiles/configure
  inflating: adtn-ta5k-base-profiles/cda/profiles/deploy
   creating: adtn-ta5k-base-profiles/cda/vectors/
  inflating: adtn-ta5k-base-profiles/cda/vectors/activate
  inflating: adtn-ta5k-base-profiles/cda/vectors/configure
  inflating: adtn-ta5k-base-profiles/cda/vectors/deploy
[root@host-10-255-68-238 opt]# cd adtn-ta5k-base-profiles
[root@host-10-255-68-238 adtn-ta5k-base-profiles]# mcp-takeout -u 'ADMIN:P@ssw0rd' -i localhost execute cda/
----- Configure profiles -----
Successes:  69
Failures:  0----- Deploy profiles -----
[2023-04-04T17:37:54.864+0000] WARNING [mcp_takeout.utils.actions.execute] - not-started Transition Not Started deploy profiles aes-encryption-profile-type/AES Encryption Enabled Default Profile
        Validation of precondition failed: Profile AES Encryption Enabled Default Profile of type aes-encryption-profile-type does not exist.
[2023-04-04T17:38:08.423+0000] WARNING [mcp_takeout.utils.actions.execute] - not-started Transition Not Started deploy profiles aes-encryption-profile-type/AES Encryption Enabled Default Profile
        Validation of precondition failed: Profile AES Encryption Enabled Default Profile of type aes-encryption-profile-type does not exist.
[2023-04-04T17:38:08.425+0000] WARNING [root] - Couldn't complete restore during this round.details:
    verb - deploy
   actions -
        not-started Transition Not Started deploy profiles aes-encryption-profile-type/AES Encryption Enabled Default Profile
Successes:  69
Failures:  1----- Activate profiles -----
Successes:  69
Failures:  0[2023-04-04T17:38:20.639+0000] ERROR [mcp_takeout.file.cda] -
JSON Loading error from cda/vectors/configure:13
    line: '{"profile-vector-name": Auto Upgrade Device ONU Profiles Vector", "type": "device"}'
    details: Expecting value: line 1 column 25 (char 24)
----- Configure vectors -----
Successes:  13
Failures:  0----- Deploy vectors -----
[2023-04-04T17:38:30.662+0000] WARNING [mcp_takeout.utils.actions.execute] - not-started Transition Not Started deploy vectors Auto Upgrade Device ONU Profiles Vector
        Validation of precondition failed: profile vector with name Auto Upgrade Device ONU Profiles Vector not available'
[2023-04-04T17:38:31.393+0000] WARNING [mcp_takeout.utils.actions.execute] - not-started Transition Not Started deploy vectors Auto Upgrade Device ONU Profiles Vector
        Validation of precondition failed: profile vector with name Auto Upgrade Device ONU Profiles Vector not available'
[2023-04-04T17:38:31.394+0000] WARNING [root] - Couldn't complete restore during this round.details:
    verb - deploy
   actions -
        not-started Transition Not Started deploy vectors Auto Upgrade Device ONU Profiles Vector
Successes:  13
Failures:  1[2023-04-04T17:38:31.395+0000] ERROR [mcp_takeout.file.cda] -
JSON Loading error from cda/vectors/activate:13
    line: '{"profile-vector-name": Auto Upgrade Device ONU Profiles Vector", "type": "device"}'
    details: Expecting value: line 1 column 25 (char 24)
----- Activate vectors -----
Successes:  13
Failures:  0 
[root@host-10-255-68-238 adtn-ta5k-base-profiles]#

 

Labels (4)
0 Kudos
Reply