lib/junos-ez/utils/re.rb
## ----------------------------------------------------------------  
## remove a license 
##
## license_id is the String license-id or the special name :all
## ----------------------------------------------------------------

remove a license

license_id is the String license-id or the special name :all
remove a license license_id is the String license - id or the special name : all
def license_rm!( license_id )
    args = {}
    if license_id == :all
      args[:all] = true
    else
      args[:license_identifier] = license_id
    end
    got = @ndev.rpc.request_license_delete( args )
    got
  end
def license_rm! ( license_id ) args = { } if license_id == :all args [ :all ] = true else args [ :license_identifier ] = license_id end got = @ndev . rpc . request_license_delete ( args ) got end
remove a license
remove a license
### @@@ need to test return cases ... for now, just return
 ### the 'got' XML

license_id
<not_specific>