Configuring the Test Environment for Dynamic Service Activator Services
Configuring the settings for your test environment is optional. You can choose to enter the settings each time you test the Web client or to configure the test settings. If you choose the latter option, you can avoid repeatedly providing the same information each time you use the client.
Configuring Settings for Dynamic Service Activator Services (SRC CLI)
Use the following command to configure the testing environment for the Dynamic Service Activator Web service interface:
- test dsa dsa-service environment set <client-id client-id> <client-password client-password> <subscriber-id subscriber-id> <subscriber-password subscriber-password> <subscriber-type ip_address
| dn | login_name | interface_name | interface_index | assigned_ip
| primary_user_name> <subscriber-address subscriber-address> <login-name login-name> <dn dn> <virtual-router virtual-router> <interface-name interface-name> <interface-index interface-index> <primary-user-name primary-user-name>
To configure the settings for the test environment:
- Issue the test dsa dsa-service environment set command.
- (Optional) To specify the username that Dynamic Service Activator uses to authenticate this client, use the client-id option.
- (Optional) To specify the password that Dynamic Service Activator uses to authenticate this client, use the client-password option.
- (Optional) To specify the username that the SAE uses to authenticate this subscriber, use the subscriber-id option.
- (Optional) To specify the password that the SAE uses to authenticate this subscriber, use the subscriber-password option.
- (Optional) To specify the type of information used
to identify a subscriber, use the subscriber-type option
where:
- ip_address—Subscriber’s IP address
- dn—Distinguished name of subscriber profile
- login_name—Subscriber’s login name
- interface_name—Name of the interface and name of the virtual router to which the subscriber connects
- interface_index—SNMP index of the interface and name of the virtual router to which the subscriber connects
- assigned_ip—Subscriber’s IP address, name of the managed interface, and name of the virtual router to which the subscriber connects
- primary_user_name—Primary username
- (Optional) To specify the IP address of the subscriber, use the subscriber-address option. This value is mandatory when the subscriber type is ip_address or assigned_ip.
- (Optional) To specify the name with which the subscriber logs in, use the login-name option. This value is mandatory when the subscriber type is login_name.
- (Optional) To specify the DN of the subscriber profile, use the dn option. This value is mandatory when the subscriber type is dn.
- (Optional) To specify the name of the virtual router associated with the subscriber, use the virtual-router option. This value is mandatory when the subscriber type is interface_name or interface_index, optional when the subscriber type is assigned_ip.
- (Optional) To specify the name of the interface on which the subscriber logs in, use the interface-name option. This value is mandatory when the subscriber type is interface_name and is optional when the subscriber type is assigned_ip.
- (Optional) To specify the SNMP index of the interface on which the subscriber logs in, use the interface-index option. This value is mandatory when the subscriber type is interface_index.
- (Optional) To specify the primary username, use the primary-user-name option. This value is mandatory when the subscriber type is primary_user_name.
Verifying Settings for Dynamic Service Activator Services (SRC CLI)
Use the following command to verify the settings for the Dynamic Service Activator Web service interface:
- test dsa dsa-service environment show
Use the following commands to verify specific settings:
- test dsa dsa-service environment show client-id
- test dsa dsa-service environment show client-password
- test dsa dsa-service environment show subscriber-id
- test dsa dsa-service environment show subscriber-password
- test dsa dsa-service environment show subscriber-type
- test dsa dsa-service environment show subscriber-address
- test dsa dsa-service environment show login-name
- test dsa dsa-service environment show dn
- test dsa dsa-service environment show virtual-router
- test dsa dsa-service environment show interface-name
- test dsa dsa-service environment show interface-index
- test dsa dsa-service environment show primary-user-name
Deleting Settings for Dynamic Service Activator Services (SRC CLI)
Use the following command to delete the settings for the Dynamic Service Activator Web service interface:
- test dsa dsa-service environment clear
Use the following commands to delete specific settings:
- test dsa dsa-service environment clear client-id
- test dsa dsa-service environment clear client-password
- test dsa dsa-service environment clear subscriber-id
- test dsa dsa-service environment clear subscriber-password
- test dsa dsa-service environment clear subscriber-type
- test dsa dsa-service environment clear subscriber-address
- test dsa dsa-service environment clear login-name
- test dsa dsa-service environment clear dn
- test dsa dsa-service environment clear virtual-router
- test dsa dsa-service environment clear interface-name
- test dsa dsa-service environment clear interface-index
- test dsa dsa-service environment clear primary-user-name
