A service provisioning method, wherein the method comprises: obtaining a service identity entered by a user; selecting a corresponding service template from a service type library according to the service identity, wherein the service template comprises: a service attribute used to describe a service, a service policy used to configure the service, and a service parameter that can be filled in by the user; calculating inter-domain routing according to the service attribute and service policy of the service template to form an inter-domain routing path that passes through multiple domains; selecting, for each domain on the inter-domain routing path, a single-domain service template used to configure a single domain, wherein the single-domain service template comprises: a service attribute used to describe a service, a service policy used to configure the service, and a service parameter that can be filled in by the user; and delivering the single-domain service template to a controller (200, 902) in a corresponding domain, so that the controller configures a network element in the domain, wherein the calculating inter-domain routing according to the service template comprises: obtaining a routing rule from the service policy in the service template, wherein the routing rule comprises a routing condition and a route condition; calculating the inter-domain routing according to the routing condition and the route condition; and assigning, according to an address pool policy in the service policy, an address to a port of an edge device on a path formed by the inter-domain routing. obtaining a service identity entered by a user; selecting a corresponding service template from a service type library according to the service identity, wherein the service template comprises: a service attribute used to describe a service, a service policy used to configure the service, and a service parameter that can be filled in by the user; calculating inter-domain routing according to the service attribute and service policy of the service template to form an inter-domain routing path that passes through multiple domains; selecting, for each domain on the inter-domain routing path, a single-domain service template used to configure a single domain, wherein the single-domain service template comprises: a service attribute used to describe a service, a service policy used to configure the service, and a service parameter that can be filled in by the user; and delivering the single-domain service template to a controller (200, 902) in a corresponding domain, so that the controller configures a network element in the domain, wherein the calculating inter-domain routing according to the service template comprises: obtaining a routing rule from the service policy in the service template, wherein the routing rule comprises a routing condition and a route condition; calculating the inter-domain routing according to the routing condition and the route condition; and assigning, according to an address pool policy in the service policy, an address to a port of an edge device on a path formed by the inter-domain routing. obtaining a routing rule from the service policy in the service template, wherein the routing rule comprises a routing condition and a route condition; calculating the inter-domain routing according to the routing condition and the route condition; and assigning, according to an address pool policy in the service policy, an address to a port of an edge device on a path formed by the inter-domain routing.