Skip to content

Latest commit

 

History

History
181 lines (156 loc) · 8.81 KB

comware_local_user_module.rst

File metadata and controls

181 lines (156 loc) · 8.81 KB

comware_local_user

Added in version 1.8

Manage local_user

parameter required default choices comments
localusername yes Local user name
group no User group name
group no
  • true
  • false
User group nameenable or disable local user service-type ftp
group no
  • true
  • false
User group nameenable or disable local user service-type ftpenable or disable local user service-type http
group no
  • true
  • false
User group nameenable or disable local user service-type ftpenable or disable local user service-type httpenable or disable local user service-type https
group no
  • true
  • false
User group nameenable or disable local user service-type ftpenable or disable local user service-type httpenable or disable local user service-type httpsenable or disable local user service-type pad
group no
  • true
  • false
User group nameenable or disable local user service-type ftpenable or disable local user service-type httpenable or disable local user service-type httpsenable or disable local user service-type padenable or disable local user service-type ssh
group no
  • true
  • false
User group nameenable or disable local user service-type ftpenable or disable local user service-type httpenable or disable local user service-type httpsenable or disable local user service-type padenable or disable local user service-type sshenable or disable local user service-type telnet
group no
  • true
  • false
User group nameenable or disable local user service-type ftpenable or disable local user service-type httpenable or disable local user service-type httpsenable or disable local user service-type padenable or disable local user service-type sshenable or disable local user service-type telnetenable or disable local user service-type Terminal
ftp_dir no Specify work directory of local user
local_user_level no Specify local user work level
localspassword no Password used to login to the local user
state no present
  • present
  • absent
  • default
Desired state for the interface configuration
hostname yes IP Address or hostname of the Comware v7 device that has NETCONF enabled
username yes Username used to login to the switch
password yes Password used to login to the switch
port no 830 The Comware port used to connect to the switch
look_for_keys no False Whether searching for discoverable private key files in ~/.ssh/


# Basic Ethernet config
- Before using ftp_dir , ensure it already exist in the device.   e.g. flash:/
- comware_local_user: localusername=test server_ftp=True local_user_level=15 username={{ username }} password={{ password }} hostname={{ inventory_hostname }}

Note

Before using ftp_dir , ensure it already exist in the device.Local user group specify the user group , if the device has the group then do the config ,if not , create group and config