Connect Portal Components via CLI
Portal introduces a new parameter that enables you to specify the Command Centers to which you want to connect your Portal. When you connect a Portal to a Command Center, you'll need to supply location information for Command Center along with, optionally, a label and an image.
CLI on Portal
When you're on a Portal system, use the following CLI syntax to attach a Command Center:
Asset Manager connect command-center <cc_name_or_ip> cc_lat cc_lon [ cc_label [user@host:path/to/cc_icon/file.png ]
- cc_name_or_ip is the DNS name or IP address of the Command Center.
- cc_lat cc_lon The latitude and longitude of the Command Center
- cc_labelcc_icon The label and icon of the Command Center. The label displays on the geographic world map only. If you don't provide a label, the Asset Manager system name displays on the map.
CLI on Command Center
When you're on a Command Center, use the following CLI syntax to attach Portals and/or Scouts:
Asset Manager connect portal < cc_name_or_ip> cc_lat cc_lon [ cc_label [user@host:path/to/cc_icon/file.png ]
- cc_name_or_ip is the DNS name or IP address of the Command Center.
- cc_lat cc_lon The latitude and longitude always refer to the Command Center.
- cc_labelcc_icon The label and icon also refer to the Command Center. The label displays on the geographic world map only. If you don't provide a label, the Asset Manager system name displays on the map.
Asset Manager connect scout < scout_name_or_ip>
- cc_name_or_ip is the DNS name or IP address of the Scout.
CLI on Scout
When you're on a Scout system, the fourth parameter indicates which component initiates the connection. Use the following CLI syntax to attach a Command Center (or Command Centers):
Asset Manager connect command-center < cc_name_or_ip> scout|command-center
- cc_name_or_ip is the DNS name or IP address of the Command Center.