No description
  • Go 97.5%
  • HTML 2.1%
  • Shell 0.2%
  • Makefile 0.2%
Find a file
OpenTofu Core Development Team 57888bd392 Apply GitHub workflow changes
2025-11-18 12:28:07 +02:00
.github Apply GitHub workflow changes 2025-11-18 12:28:07 +02:00
examples TPM-1888 updated the resource 2020-07-21 19:03:26 +05:30
mso Rename datasource_schema_template_external_epg_contract.go to datasource_mso_schema_template_external_epg_contract.go 2020-07-24 17:21:09 +05:30
scripts changed to terraform plugin sdk 2020-05-21 15:11:27 +05:30
vendor TPM-1751 resource, DS added 2020-07-20 22:02:20 +05:30
website TPM-1888 updated the resource 2020-07-21 19:03:26 +05:30
.gitignore.txt added logic to handle l3out 2020-06-26 10:54:25 +05:30
.go-version added changelog + go version 2020-05-21 09:30:16 +05:30
CHANGELOG.md Cleanup after v0.1.1 release 2020-07-22 13:08:19 +00:00
GNUmakefile TPM-8 : schema site resource done 2020-04-21 18:52:24 +05:30
go.mod TPM-1751 resource, DS added 2020-07-20 22:02:20 +05:30
go.sum TPM-1751 resource, DS added 2020-07-20 22:02:20 +05:30
LICENSE Create LICENSE 2020-05-21 09:25:15 +05:30
main.go add vendoring and correct path 2020-06-17 13:11:02 -07:00
README.md Updated the readme file 2020-04-27 15:32:08 +05:30

Cisco MSO Provider

Requirements

Building The Provider

Clone this repository to: $GOPATH/src/github.com/ciscoecosystem/terraform-provider-mso. Clone mso-go-client to $GOPATH/src/github.com/ciscoecosystem/mso-go-client.

$ mkdir -p $GOPATH/src/github.com/ciscoecosystem; cd $GOPATH/src/github.com/ciscoecosystem
$ git clone https://github.com/ciscoecosystem/terraform-provider-mso.git
$ git clone https://github.com/ciscoecosystem/mso-go-client.git

Using The Provider

If you are building the provider, follow the instructions to install it as a plugin. After placing it into your plugins directory, run terraform init to initialize it.

ex.

#configure provider with your cisco mso credentials.
provider "mso" {
  # cisco-mso user name
  username = "admin"
  # cisco-mso password
  password = "password"
  # cisco-mso url
  url      = "https://my-cisco-mso.com"
  insecure = true
  proxy_url = "https://proxy_server:proxy_port"
}

resource "mso_schema" "schema1" {
  name          = "nkp1002"
  template_name = "temp1"
  tenant_id     = "5e9d09482c000068500a269a"

}

Developing The Provider

If you want to work on the provider, you'll first need Go installed on your machine. You'll also need to correctly setup a GOPATH, as well as adding $GOPATH/bin to your $PATH.

To compile the provider, run make build. This will build the provider with sanity checks present in scripts directory and put the provider binary in $GOPATH/bin directory.